We cut costs by 70% by moving from GCP and CockroachDB to Hetzner and PostgreSQL
In this technical retrospective (2024), @CactusBlue shares practical architectural lessons learned from running, scaling, or migrating production software under lean constraints.
Core Principles for Independent Builders:
Defaulting to simpler architectures (such as monolithic frameworks, SQLite, or managed VPS) prevents early engineering bankruptcy.
Evaluating true compute and egress costs reveals that high cloud bills can often be slashed by 80%+ through judicious re-platforming.
Code you write at 2 AM as a solo engineer must be easy to debug six months later without complex microservice dependencies.
Community Debate Themes:
HN engineers debated the tradeoffs between cloud convenience and raw server economics, database indexing strategies, and resisting premature architectural complexity.
CATEGORY Frugal Engineering →
HISTORICAL ERA Post-ZIRP & AI (2023–2026)
COMMUNITY SCORE ★ 43 points
TOTAL DISCUSSIONS 69 comments
As an SRE who’s moved between a few companies recently, I’ve noticed a trend towards simpler infrastructure options rather than k8s. Most places I interviewed at used AWS with just fleets of EC2s managed through ASG and instance refresh.
Deployments are no downtime. It’s pretty nice and if you want to run with docker on the host instances you can but you can also just install the application using systemd.
It's wild to me that we are talking about a site running on a single 2 core VPS costing $15/mo and the developer didn't stop to consider that maybe they don't need Kubernetes for this. Like...just run your damn services on the box like we've been doing since web hosting first became a thing.
The time investment here doesn’t really make sense to me. That 70% savings was actually only $33 a month.
Was it really worth spending that dev time and effort for such a small return rather than the product itself?
And yea now you get to manage your own cluster… thats an ongoing cost too, not free.
I should write a blog about how I saved the same amount in absolute terms by turning off the stuff i forgot is running in the cloud.
Side note: the anime girls all over is kind strange. Like the header is giant cartoon tits? Why?
Seems strange to have used CockroachDB but not leverage any of the distributed nature of it? I was looking forward to some interesting database problems in this article, but it was quite anticlimactic.