Live data from Hacker News

Ask HN: How do you make sure your servers are up as a single founder?

news.ycombinator.com

191–200 of 233 posts

Re: Ask HN: How do you make sure your servers are up as a single founder?

#191
I think another consideration that might not be an obvious risk is your use of two factor auth.

It’s important for critical services, yet if you lose your 2FA device, like a phone, you will be locked out for a while. Like many things, it will happen at a bad time.

Re: Ask HN: How do you make sure your servers are up as a single founder?

#192
post #153

FWIW - if you just want to make sure your services are up - consider: 1) pagerduty.com or uptimerobot.com for remote monitoring to make sure you site(s) are up (and get alerts when they're not). 2) Datadog or New Relic if you want deeper monitoring (application performance, database performance, diagnostics/debugging. 3) Rollbar.com (site doesn't seem to respond) for site performance/errors. 4) Roll your own with Pro…

> Nagios, MRTG I am used to rolling my own and use Nagios to make sure my servers and web sites are up and URLs and scripts functioning. I used to use MRTG and RRDTool in days past when I was responsible for monitoring many servers, switches and routers.

Right there with you :)

Re: Ask HN: How do you make sure your servers are up as a single founder?

#193
The operations guy is here. I'm probably biased.

If I were you, I would use free monitoring services like uptimerobot. There are some other options available. Typically these services provide some basic functionality for free, it would be enough for a small enterprise.

On AWS it is quite easy to create your own external probes for a reasonable price. However, it would require some basic programming skills.

Re: Ask HN: How do you make sure your servers are up as a single founder?

#194
I've been thinking about this quite a bit lately. I've run DevOps for a few organizations and learned quite a bit through that.

Ultimately you can engineer your systems, even if they are quite complex, to be manageable by a single person. It's not one thing though. It's years of experience and gut feel. It's also totally distinct from technology.

Some things that come to mind:

- use queues for background tasks that may need to be retried. If things go down and you have liberal retry policies, things should recover.

- use boring databases. Just stay away from mongo and use something like rds which is proven and reliable.

- be careful in your code about what an error is. Log only things at the error level you need to look at.

- test driven development. Saves a ton of time.

Re: Ask HN: How do you make sure your servers are up as a single founder?

#195

FWIW - if you just want to make sure your services are up - consider: 1) pagerduty.com or uptimerobot.com for remote monitoring to make sure you site(s) are up (and get alerts when they're not). 2) Datadog or New Relic if you want deeper monitoring (application performance, database performance, diagnostics/debugging. 3) Rollbar.com (site doesn't seem to respond) for site performance/errors. 4) Roll your own with Pro…

StatusCake and PingMonit are two more good ones in the same vein as UptimeRobot. All have free tiers for testing and small scale/homelab use too.

Re: Ask HN: How do you make sure your servers are up as a single founder?

#196

Earlier quoted context omitted.

Indeedly! Very clean and simple, but not trivial or bare. Really good job, jmstfv.

From this link [0], it appears that the site uses Netlify. I'd love for the OP to point us in the direction of the theme and/or setup details as I am fairly new to Netlify [0] https://tryhexadecimal.com/costs

It is just static HTML and CSS files, with sprinkles of JS when necessary. I don't like using third-party frameworks or themes because they tend to get in my way. I designed it all from scratch.

I've been experimenting with functional (atomic) CSS lately and built a small framework that ended up using in Hexadecimal (if you peek at the source code, you can see weird classes like m-0, p-0, etc..). I liked it, but one should be careful in not overusing it, otherwise, it is an unmaintainable mess, yet again.

Below, I linked my Netlify config [0]. My static files live in the src/ folder, so you should probably change that if you have them in a different folder. If you don't know what Content-Security-Policy (CSP) or Strict-Transport-Security (HSTS) headers do, leave them out. It is easy to shoot yourself in the foot if you don't know what you're doing.

[0] https://privatebin.net/?c794ba90771f6e10#GSnJJ3dnd5r3ZDGgi9R...

Re: Ask HN: How do you make sure your servers are up as a single founder?

#197

Earlier quoted context omitted.

For SQL database the lowest I could find right now was costing around $600. Can you please share a link for the $5-15 price range? https://azure.microsoft.com/en-us/pricing/details/sql-databa...

You'll want to switch to the Single Database and change the pricing model from vCore to DTU. Then you can pick Basic or Standard and adjust the size and compute resources. Basic will do quite a lot; I use one to load test our application and haven't hit limits.

Thank you

Re: Ask HN: How do you make sure your servers are up as a single founder?

#199
post #187
post #78

I am a solo founder of a website monitoring SaaS [0]. Theoretically, my uptime should be higher than that of my customers'. Here are a few things that I found helpful in the course of running my business: * Redundancy. If you process background jobs, have multiple workers listening on the same queues (preferably in different regions or availability zones). Run multiple web servers and put them behind a load balancer.…

Just curious; what do you use Redis for? Thanks for your post!

Jobs (e.g. uptime checks, payment processing, sending emails) are added to the job queue (Redis) and background workers pick it up from there, and churn through them asynchronously. Most of the work happens in the background, so in my case, Redis is a critical piece of infrastructure.

https://devcenter.heroku.com/articles/background-jobs-queuei...

Re: Ask HN: How do you make sure your servers are up as a single founder?

#200

> I was able to sign in to the AWS console and resolve the issue Kids these days. I had a RAM stick fry in one of the physical machines sitting in a colo 1 hour drive away. Not die, but just start flipping bits here and there, triggering most bizarre alerts you can imagine. On the night of December 24th. Now, that was fun. --- To add --- If you are a single founder - expect downtime and expect it to be stressful. Inh…

Kids these days.

Insert punchcard anecdote...

Transistors! We had to replace valves in my day.

Post reply on HN