Live data from Hacker News

We reduced our server costs by moving away from AWS

levelup.gitconnected.com

321–330 of 355 posts

Re: We reduced our server costs by moving away from AWS

#321
post #311

Earlier quoted context omitted.

But that's the part that I'm not getting - it's either AWS or building storage shelters and tape robots. There are hosting providers like Hetzner that will rent you bare metal machines so you don't have to deal with actual hardware, their networking is basically unmetered (last I checked), they will also sell you spot VMs, blob storage service, etc. The pricing difference is in integer multiples and much less "gotcha…

> There are hosting providers like Hetzner that will rent you bare metal machines so you don't have to deal with actual hardware, their networking is basically unmetered (last I checked), they will also sell you spot VMs, blob storage service, etc. The pricing difference is in integer multiples and much less "gotchas" or lock-in (they are usually dumbed down). If all you need is bare metal, you don't care about netwo…

>This even covers basic things: for example, look at all of the reports of Hetzner customers losing data due to something like a drive failure. It's not like there isn't a way to deal with that yourself but now you're in the business of monitoring the drives, setting up software RAID and testing/benchmarking it to make sure your configuration is robust, scheduling downtime to reflash servers with storage updates following some process which depends on the hardware & software combo you're using, etc. Your competitor using AWS isn't paying their sysadmins to do that because they do it for you, and it's completely transparent.

If you're using dumb boxes to deploy something like a k8s cluster why do you care about drive failure ? You rent out an extra machine to account for the downtime (and peaks) and you're still well below AWS infra cost.

>Similarly, the major cloud providers can live migrate VMs off of failing hosts without your awareness — another thing you have to build and operate yourself on bare metal which isn't trivial to get right. When Spectre et al. came out, the major cloud providers' customers were all patched on the day of the annoucement. Bare metal hosting users had to schedule downtime, roll patches, and make sure nothing broke.

Again cattle not pets.

>say you went all-in on Hetzner

But that's what I am saying - going "all in on Hetzner" doesn't really mean much if you're using dumb blocks available elsewhere (plain container/VM hosting, network object storage).

>This is the opposite of my experience: with a few exceptions, you're looking at significantly more work to build an equivalent service yourself, especially if you need to worry about reliability, security, etc. That last part is important if you need to be able to make strong statements about who has access to data, whether logging can be tampered with, etc. — those are all things you _can_ setup yourself but the cost of doing so is greater than years of your usage until you're at a pretty large scale.

That's the problem I guess - I haven't built a on-prem system in 10 years now, maybe I forgot the pain points, maybe the automation tools really don't work outside of big cloud providers.

But right now all I'm seeing is insane margins on cloud services and we still have a bunch of devops that are busting their ass off to monkeypatch everything together.

Re: We reduced our server costs by moving away from AWS

#322

We've just finished moving servers from AWS to https://hetzner.com - and saved 10X with servers of double the capability. A great experience so far.

How did you get them to approve a large amount of Cloud instances / dedicated servers? I heard they are very stubborn to increase the per user limit of cloud instances. Also how did you deal with S3? Did you switch to another provider ? Like B2?

May be it was not large. Say for one project DB server on Hetzner with 160GB RAM, 32cores/64theads,2x3.84TB NVMe + 2x512GB SSD costs ~ 240$, hosting mid-sized ~ 1.6TB MySQL DB. On managed RDS it was around ~ $2200/month when I checked.

Even if you have 2 such boxes for master/replica, it's close to 5x savings.

Re: We reduced our server costs by moving away from AWS

#323
post #268

Earlier quoted context omitted.

80k ? Honestly probably does . Our ops team of 3 spends maybe 10% of the time on the managing of few hardware racks we have in our local colocation. There are even months where nothing at hardware/hypervisor level is touched

3 people at 0.10% of their time is already 24K, assuming an 80K salary for each of you. You don't mention patching systems, or the time spend replacing the hardware racks every x years. It is very easy to underestimate the cost of maintenance.

> 3 people at 0.10% of their time is already 24K, assuming an 80K salary for each of you.

which is less than 80k, yes.

> You don't mention patching systems, or the time spend replacing the hardware racks every x years. It is very easy to underestimate the cost of maintenance.

Please stop assuming stupid shit, ask for clarification if you're not sure what I included in it.

Racking 2 racks took us 2 days, one on site, on on configuration.

Patching is also included in that 10%. We track that time. If you're patching manually you already fucked up, cloud or no cloud. Only time spent actually patching is "difficult" customers that need paperwork for taking down even one server of HA pair.

And it's utterly ignorant to assume cloud somehow saves you on this point, you just have more time used dealing on security stuff on dev side instead of ops side. Hell, I dare to say average VM with auto-updates will be more secure than average container deployment. Or maybe that's our devs that didn't get kicked enough to set their container pipeline correctly...

Re: We reduced our server costs by moving away from AWS

#324

Earlier quoted context omitted.

Yet most of these aren't needed for small crews... do I care that my DB is not HA when I have 1 RPS? You said yes, but I disagree. Do I need centralized logging if I have a few servers? It's already centralized for free. It's much easier to setup and forget basic bare metal servers with PG/NGINX and whatnot, than it is to automate using dozens of AWS services. People pretend that AWS doesn't cost engineers to run it,…

YMMV, I run a startup that serves critical customer use cases, and from day 1 I had to care that my DB was HA, backed up, and could be restored. Actually had a case early on where we had to test this because I accidentally deleted customer data and had to restore - took all of one click, with no scripts, no prior investment into backup management etc. We also had to go through infosec reviews from day 1, and many of…

I would definitely say that your use case for AWS is not just warranted but good. There are many use cases where going for your own servers or even data center (even "rack room" or "server in storage room") is a better idea, but this isn't it.

Re: We reduced our server costs by moving away from AWS

#325

Earlier quoted context omitted.

If that were true, then there'd be no value proposition to AWS. It is absolutely easier to use S3 than to create your own fast, highly available, infinitely scaling storage solution on your own metal. It requires more than zero knowledge / expertise to use S3, but far less than it would to implement and run yourself. If you can accept that, then we already agree in principle. It's just matter of where the line is dra…

How many applications need infinitely scalable distributed object storage? I’ve worked at exactly one storage company that had a customer that had exascale data. They were doing cancer research as I recall and their test machines generated a lot of data. I heard stories about CERN at conferences but they also self host their data. But those were outliers. All of the large and small enterprises outside of that could f…

You can hardly make quantitative statements about how many applications need this or that. It's not like we're in the 60s and IBM can tell that they'll need to make exactly seven of a certain computer.

I can tell you that massive amounts of storage are used by eg Mercedes Benz during simulations they need when developing cars. Back when I was reading about this - maybe a decade ago - they were using mind boggling amounts of storage. Still all before SSDs. You can assume all other world-class engineering firms in every kind of difficult engineering that requires physical robustness or safety have a similar need. But Mercedes Benz at least used an on-premises solution, simply because storing stuff on AWS would have created latency and throughput issues.

Re: We reduced our server costs by moving away from AWS

#326
post #236

Earlier quoted context omitted.

There is a value prop for sure. It’s hard to quantify how best you’ll be served but a lot of people are following the mantra of “nobody got fired for going AWS”. It makes sense for some people, others are cargo-culting; yet more are fanning the flames of that cargo cult because their pay check depends on it. Sysadmins are/were paid much less than cloud native devops people, and you need the same number of them unless…

One good DevOps person can achieve much more than a single sysadmin. Most old school sysadmins were doing everything manually with relatively little automation. You are certainly correct about the the overly complex AWS reference architectures. I've seen relatively simple applications with just as much infrastructure code (generally "terraform", occasionally CloudFormation JSON) as application code. It's crazy.

I mean, you're not wrong in that there's definitely a massive difference between the power of tools that a devops engineer can use today vs what a sys admin had access to back in the day before the devops movement was established (and that was a clear break point that was announced all over the likes of HN and there was a manifesto and all that).

But nowadays if you want to manage your own metal then you can use those tools as well. You can still run hypervisors VMs on your own servers. You're just not paying Amazon 6x the price of what it would cost you, and you're not relegated to low-performing compute, memory, and IO elements that Amazon standardized on.

Re: We reduced our server costs by moving away from AWS

#327
post #226

Earlier quoted context omitted.

This is a reference to the film Brazil[0], which centers on a labyrinthine bureaucracy [0] https://www.imdb.com/title/tt0088846/

> labyrinthine bureaucracy This is a reference to the country Brazil [0], which centers on... [0] https://www.bbc.com/news/business-18020623

> labyrinthine bureaucracy

This is a reference to "the rule of the desk" [0], and "an elaborate, confusing structure", which centers on a monster [1], in this case a bureaucrat at a desk

[0] https://www.workhuman.com/blog/a-brief-history-of-bureaucrac...

[1] https://en.wikipedia.org/wiki/Labyrinth

Re: We reduced our server costs by moving away from AWS

#328

Earlier quoted context omitted.

> Yes, loooong time ago - to get your dedicated server might have taken a few hours to provision and the instant server access that AWS brought should not be discredited. At one point it took often days for a dedicated server to be set up. We also didn't have such nice provisioning tools. Now it just seems like cargo cult to use cloud providers as the only option. People just completely discount dedicated servers.

In most businesses I've worked in: developer costs >> infrastructure costs An AWS large server is around $500/year, which is about 1-2 developer hours (with taxes, overhead, etc) at the cost scales last time I priced this out. That's crazy expensive in the absolute, but if it saves a couple of hours, it makes sense. PaaS providers cost even more. I've gone with those in the past, since it basically eliminated dev-ops…

> An AWS large server is around $500/year

For the use-cases I was involved in (image gallery hosting, 2-3Gbps traffic), costs looked like:

AWS: $400/mo for app servers, $40,000/mo for CDN bandwidth

Bare metal: $400/mo for app servers, $400/mo for a couple of caching reverse-proxies, each with an unmetered gigabit connection

When you’re dealing with anything more bandwidth-heavy than HTML+JS+CSS, having a handful of bare-metal Varnish instances is _orders of magnitude_ cheaper than the cloud…

(We have also looked at dedicated CDN providers like cloudflare, but we’re in that sweet spot where we’re too large for the publicly advertised plans, and the “call us for a custom contract” plans want a minimum spend around $3,000/mo :/ )

Re: We reduced our server costs by moving away from AWS

#329
post #258

Earlier quoted context omitted.

> have to hire But [to state the obvious but sometimes overlooked] you don't just point an AWS account at the company git repo and walk away. There's a lot of work and expertise needed to keep AWS setup up and running, so you already have to hire people. At a modest size startup we already have close to ten people DevOps team to manage AWS. That same size team could easily keep bare metal servers running. At our scal…

Agreed. I was doing some unrelated research yesterday and stumbled upon the fact that apparently (in Australia) 41% of companies see an increase in IT staff after adopting cloud services. [1] I thought this was pretty weird since the original value proposition (AFAIR) was to reduce costs/head count. But everywhere I’ve worked that used AWS, had specialists employed to manage AWS. And I think the value proposition is…

> Once you get to a certain size I think you can attract a team who can build out rather than buy in, and in so doing reduce costs.

I don't think this true for the vast majority of applications. It's probably true for the Youtube, Netflix, OneDrive, etc critical data path, but when your ownership is more like two dozen applications ranging from tiny (one consumer on some infrequent interval) to mid sized (under 100k requests a minute, for text, json, images, generated UI components), it's damn near impossible to beat from a pricing standpoint.

Going back to on prem servers, even doing kubernetes/docker orchestration would likely increase my current team's monthly capital expenditure from ~$14000 a month to somewhere in the realm of 50-60k a month. The sad thing about those prices are that our on prem offerings are very cheap compared to the last price I worked, a $BIGBANK that has multiple data centers in multiple countries. As an internal client with the same footprint we have now, $BIGBANK global infrastructure folks provisioning would take $90-110k and 6 to God even knows how many months depending on how fast you could get through the churn of governance, compliance, security, and controls.

Edit: just realized I forgot to mention I'm talking about serverless projects almost exclusively. That's important to the cost savings, because I agree that I'd rather host something in the 9 year old server in my basement and run my own reverse proxy than use EC2/EKS from a cost perspective.

Post reply on HN