Live data from Hacker News

We cut costs by 70% by moving from GCP and CockroachDB to Hetzner and PostgreSQL

blog.mikoto.io

11–20 of 74 posts

Re: We cut costs by 70% by moving from GCP and CockroachDB to Hetzner and PostgreSQL

#11
post #5

I predict hard times for GCP as they will get squeezed by Amazon and Azure, plus the kind of belt-tightening we see here.

GCP is expensive even compared to Amazon and Azure. The only reason I really used it was because it was the cloud that I was used to (when employer was covering for the cost), and I kinda stuck with it.

Re: We cut costs by 70% by moving from GCP and CockroachDB to Hetzner and PostgreSQL

#13

Not really. You didn't factor in the time it takes to manage k3s yourself versus GKE which is managed.

Probably. But it was only a single command to get up a k3s node - not much difference in effort for a relatively low-workload, low-critical service.

It's probably only a few clicks to get a GKE cluster.

The point is that it's not really a fair comparison.

Re: We cut costs by 70% by moving from GCP and CockroachDB to Hetzner and PostgreSQL

#14
post #7

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.

For me, the main benefit of Kubernetes is declarative deployments. You can have the entire deployment automated through this and GitHub actions, without much fiddling with the production environment manually. I know, it's overkill and I don't like it that much either, but it's the industry standard.

Re: We cut costs by 70% by moving from GCP and CockroachDB to Hetzner and PostgreSQL

#16
post #5

I predict hard times for GCP as they will get squeezed by Amazon and Azure, plus the kind of belt-tightening we see here.

I predict a very hard time to CTOs once shareholders realize how money they are wasting on the cloud.

Re: We cut costs by 70% by moving from GCP and CockroachDB to Hetzner and PostgreSQL

#17
post #7

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.

Promotion driven development.

Fwiw I’ve deployed services that could handle 30-50k rps on 1vcpu and 1gb ram. Like a couple bucks a month. It used ssd storage and only hit a main rdbms when there was a cache miss.

When I hear stories like this I’m reminded of how dumb and inefficient most organizations are. My colleagues would over engineer stuff so much and then leave a huge bill and mess behind. The primary reason was so their clueless eng manager would consider promoting them.

Re: We cut costs by 70% by moving from GCP and CockroachDB to Hetzner and PostgreSQL

#19
post #7

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.

For me, the main benefit of Kubernetes is declarative deployments. You can have the entire deployment automated through this and GitHub actions, without much fiddling with the production environment manually. I know, it's overkill and I don't like it that much either, but it's the industry standard.

> but it's the industry standard.

I strongly disagree with this statement. Even at the most bubbly of Silicon Valley events you will not see kubernetes for a smaller deployment be an industry standard.

It’s ok to make architectural mistakes, or otherwise over engineer a thing. We all do it. Let’s not standardize it.

And to your credit thank you for publishing this example as a learning opportunity to others.

Re: We cut costs by 70% by moving from GCP and CockroachDB to Hetzner and PostgreSQL

#20
post #7

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.

Honestly if I was gonna set up a CI (or some other system that wants to add and remove a lot of containers dynamically) on my home server I might consider adding k3s so it’s easier to install / manage / monitor.
Post reply on HN