6 euro hetzner box with compose or fly.io for a side project doing 30 req/s VPS Setup
Side project, 30 req/s at peak, mostly reads, one postgres, one node api, one worker, plus about 40 GB of user uploads sitting in R2.
A CX22 is around 4.50 euro a month and I'd run everything on it with compose. Fly with a small machine plus their postgres plus a volume comes to something like $25-35.
The VPS is obviously cheaper. What I can't price is the maintenance. I'm one person and I'd rather write features than patch kernels. Is managed worth 6x at this size, or is that a story people tell themselves?
@negativesplitz · 8mo ago · 3 replies
At 30 req/s and one person, take the VPS. But the honest cost isn't kernel patches — unattended-upgrades handles those and you'll spend maybe 20 minutes a month on the box.
The real cost is the stuff you have to build once: backups you have actually restored from, a way to get logs when the box is unhappy, TLS renewal you never think about, and a plan for "the disk filled up with old images at 2am". Call it a solid weekend up front, then close to nothing.
The thing that would change my answer is the database. Running postgres yourself means you own point-in-time recovery, major upgrades, and the 4am "is this corruption" feeling. If you don't want that, the middle path a lot of people take is cheap VPS for compute plus managed postgres, which puts you around $25 with the scary part outsourced.
Reply
Report
@braise_or_bust · 8mo ago
'Have you actually restored from the backup' is a question I know the answer to and don't like.
Reply
Report
@coworking_cass · 8mo ago
Put a restore in your calendar quarterly. Restore into a throwaway container, run one query, delete it. Twenty minutes, and it converts a hope into a fact.
Reply
Report