I took all my projects off the cloud, saving thousands of dollars
(rameerez.com)240 points by sebnun 11 hours ago
240 points by sebnun 11 hours ago
The article featured The Server Store. It’s a north Texas company local to where I live. I have purchased all my personal computers from there for about the past decade.
I dislike those black and white takes a lot. It's absolutely true that most startups that just run an EC2 instance will save a lot of cash going to Hetzner, Linode, Digital Ocean or whatever. I do host at Hetzner myself and so do a lot of my clients.
That being said, the cloud does have a lot of advantages:
- You're getting a lot of services readily available. Need offsite backups? A few clicks. Managed database? A few clicks. Multiple AZs? Available in seconds.
- You're not paying up-front costs (vs. investing hundreds of dollars for buying server hardware) and everything is available right now [0]
- Peak-heavy loads can be a lot cheaper. Mostly irrelevant for you average compute load, but things are quite different if you need to train an LLM
- Many services are already certified according to all kinds of standards, which can be very useful depending on your customers
Also, engineering time and time in general can be expensive. If you are a solo entrepreneur or a slow growth company, you have a lot of engineering time for basically free. But in a quick growth or prototyping phase, not to speak of venture funding, things can be quite different. Buying engineering time for >150€/hour can quickly offset a lot of saving [1].
Does this apply to most companies? No. Obviously not. But the cloud is not too expensive - you're paying for stuff you don't need. That's an entirely different kind of error.
[0] Compared to the rack hosting setup described in the post. Hetzner, Linode, etc. do provide multiple AZs with dedicated servers.
[1] Just to be fair, debugging cloud errors can be time consuming, too, and experienced AWS engineers will not be cheaper. But an RDS instance with solid backups-equivalent will usually not amortize quickly, if you need to pay someone to set it up.
You don't actually need any of those things until you no longer have a "project", but a business which will allow you to pay for the things you require.
You'd be amazed by how far you can get with a home linux box and cloudflare tunnels.
On this site, I've seen these kind of takes repeatedly over the past years, so I went ahead and built a little forum that consists of a single Rust binary and SQLite. The binary runs on a Mac Mini in my bedroom with Cloudflare tunnels. I get continuous backups with Litestream, and testing backups is as trivial as running `litestream restore` on my development machine and then running the binary.
Despite some pages issuing up to 8 database queries, I haven't seen responses take more than about 4 - 5 ms to generate. Since I have 16 GB of RAM to spare, I just let SQLite mmap the whole the database and store temp tables in RAM. I can further optimize the backend by e.g. replacing Tera with Askama and optimizing the SQL queries, but the easiest win for latency is to just run the binary in a VPS close to my users. However, the current setup works so well that I just see no point to changing what little "infrastructure" I've built. The other cool thing is the fact that the backend + litestream uses at most ~64 MB of RAM. Plenty of compute and RAM to spare.
It's also neat being able to allocate a few cores on the same machine to run self-hosted GitHub actions, so you can have the same machine doing CI checks, rebuilding the binary, and restarting the service. Turns out the base model M4 is really fast at compiling code compared to just about every single cloud computer I've ever used at previous jobs.
Just one of the couple dozen databases we run for our product in the dev environment alone is over 12 TB.
How could I not use the cloud?
To me DO is a cloud. It is pricey (for performance) and convenient. It is possibly a wiser bet than AWS for a startup that wants to spend less developer (read expensive!) time on infra.
My pet peeves are:
1. For small stuff, AWS et al aren't that much more expensive than Hetzner, mostly in the same ballpark, maybe 2x in my experience.
2. What's easy to underestimate for _developers_ is that your self hosted setup is most likely harder to get third party support for. If you run software on AWS, you can hire someone familiar with AWS and as long as you're not doing anything too weird, they'll figure it out and modify it in no time.
I absolutely prefer self hosting on root servers, it has always been my go to approach for my own companies, big and small stuff. But for people that can't or don't want to mess with their infrastructure themselves, I do recommend the cloud route even with all the current anti hype.
> But the cloud is not too expensive - you're paying for stuff you don't need. That's an entirely different kind of error.
Agreed. These sort of takedowns usually point to a gap in the author's experience. Which is totally fine! Missing knowledge is an opportunity. But it's not a good look when the opportunity is used for ragebait, hustlr.
> A few clicks.
Getting through AWS documentation can be fairly time consuming.
Figuring out how to do db backups _can_ also be fairly time consuming.
There's a question of whether you want to spend time learning AWS or spend time learning your DB's hand-rolled backup options (on top of the question of whether learning AWS's thing even absolves you of understanding your DB's internals anyways!)
I do think there's value in "just" doing a thing instead of relying on the wrapper. Whether that's easier or not is super context and experience dependent, though.
Hmmm, I think you have to figure out how to do your database backups anyway as trying to get a restorable backup out of RDS to use on another provider seems to be a difficult task.
Backups that are stored with the same provider are good, providing the provider is reliable as a whole.
(Currently going through the disaster recovery exercise of, "What if AWS decided they didn't like us and nuked our account from orbit.")
> Figuring out how to do db backups _can_ also be fairly time consuming.
apt install automysqlbackup autopostgresqlbackup
Though if you have proper filesystem snapshots then they should always see your database as consistent, right? So you can even skip database tools and just learn to make and download snapshots.
And making sure you're not making a security configuration mistake that will accidentally leak private data to the open internet because of a detail of AWS you were unaware of.
> That being said, the cloud does have a lot of advantages:
Another advantage is that if you aim to provide a global service consumed throughout the world then cloud providers allow you to deploy your services in a multitude of locations in separate continents. This alone greatly improves performance. And you can do that with a couple of clicks.
I think compliance is one of the key advantages of cloud. When you go through SOC2 or ISO27001, you can just tick off entire categories of questions by saying 'we host on AWS/GCP/Azure'.
It's really shitty that we all need to pay this tax, but I've been just asked about whether our company has armed guards and redundant HVAC systems in our DC, and I wouldn't know how to do that apart from saying that 'our cloud provider has all of those'.
Guess you came for the hot take without actually using the service or participating in any intelligent conversation. All the sibling comments observe that nothing you are talking about happened.
Snarky ignorant comments like yours ruin Hacker News and the internet as a whole. Please reconsider your mindset for the good of us all.
In my case we have a B2B SaaS where access patterns are occasional, revenue per customer is high, general server load is low. Cloud bills just don’t spike much. Labor is 100x the cost of our servers so saving a piddly amount of money on server costs while taking on even just a fraction of one technical employee’s worth of labor costs makes no sense.
You're literally playing into what the author is criticizing.
I started out with linode, a decade ago.
It became much more expensive than AWS, because it bundled the hard drive space with the RAM. Couldn't scale one without scaling the other. It was ridiculous.
AWS has a bunch of startup credits you can use, if you're smart.
But if you want free hosting, nothing beats just CloudFlare. They are literally free and even let you sign up anonymously with any email. They don't even require a credit card, unlike the other ones. You can use cloudflare workers and have a blazing fast site, web services, and they'll even take care of shooing away bots for you. If you prefer to host something on your own computer, well then use their cache and set up a cloudflare tunnel. I've done this for Telegram bots for example.
Anything else - just use APIs. Need inference? Get a bunch of Google credits, and load your stuff into Vertex or whatever. Want to take payments anonymously from around the world? Deploy a dapp. Pay nothing. Literally nothing!
LEVEL 2:
And if you want to get extra fancy, have people open their browser tabs and run your javascript software in there, earning your cryptocurrency. Now you've got access to tons of people willing to store chunks of files for you, run GPU inference, whatever.
Oh do you want to do distributed inference? Wasmcloud: https://wasmcloud.com/blog/2025-01-15-running-distributed-ml... ... but I'd recommend just paying Google for AI workloads
Want livestreaming that's peer to peer? We've got that too: https://github.com/Qbix/Media/blob/main/web/js/WebRTC.js
PS: For webrtc livestreaming, you can't get around having to pay for TURN servers, though.
LEVEL 3:
Want to have unstoppable decentralized apps that can even run servers? Then use pears (previously dat / hypercore). If you change your mindset, from server-based to peer to peer apps, then you can run hypercore in the browser, and optionally have people download it and run servers.
https://pears.com/news/building-apocalypse-proof-application...
In principle, you don't even need a "server", ie purpose-built hardware like what he's showing. An old laptop will be fine for many projects, although I'd be interested if someone can help put a perspective on how to decide whether your specific project/load will be too much for your specific hardware. My bigger concern with 'true' self-hosting would be how to get a good/reliable enough internet connection.
I'm fully aware this is pedantic, but you can't save 10x. You can pay 1/10. You can save 90%. Your previous costs could have been 10x your current costs. But 10x is more by definition, not less. You can't save it.
+1 words matter
Clarity of expression is a superpower
I don’t feel it’s pedantic at all.
> People commonly
Your example them was a weasel worded advert that uses meaningless terminology to make something sound big (savings in this case).
People don't use that expression.
hmm.. if you reduce latency from one second to a hundred milliseconds, could you celebrate that you've made it 10x faster, or would you have the same quibble there too?
Edit: Thinking about this some more: You could say you are saving 9x [of the new cost], and it would be a correct statement. I believe the error is assuming the reference frame is the previous cost vs the new cost, but since it is not specified, it could be either.
> if you reduce latency from one second to a hundred milliseconds, could you celebrate that you've made it 10x faster
Yes you can, because speed has units of inverse time and latency has units of time. So it could be correct to say that cutting latency to 1/10 of its original value is equivalent to making it 10x the original speed - that's how inverses work.
Savings are not, to my knowledge, measured in units of inverse dollars.
This becomes much clearer with a balance sheet in front of you.
What is saving? _Spending less_, that's all. Saving generates no income, it makes you go broke slower.
Independent of the price or the product, you can never save more than factor 1.0 (or 100%).
Wasn't there a guy on TV who wanted to make prices go down 1500%? Same BS, different flavor.
In English, x or time(s) after a number marks a "unit" used by various verbs. A 10x increase. Increase by 10x. Go up 10x. Some of these verbs are negative like decrease or save. "Save 10x" is the same as "divide by 10". Four times less, 5 times smaller etc. are long attested.
Thats not how English works.
Saved 10x would imply there was an amount being saved that they multipled.
No, x literally means multiply. It doesn't somehow also mean divide. They should use the percent sign, it's what it is for. 10x my costs means 10 x mycost, it's literally an equation
It's just inversion, like 2 to the power of 2 or 2 to the power of negative 2. These negative words inverse it just the same. You may dislike it, but millions of people have spoken this way for a long time.
> x literally means multiply
And some use the dot operator or even 2(3) or (2)(3). When programming, we tend to use *.
But that's 4x the savings compared to another saving. I suppose you've upped the pedantry and are technically correct, but that's a pretty narrow use case and not the one used in the article.
Sure. Getting 10x the resources for the same price is another valid way to express the thought. Saving 10x isn't, though.
I never understood the appeal of AWS like cloud for non corporate. Sure, when you run a BigCo, you have all the money and people to throw at big cloud providers, obtaining pointless certificates, and configuring obscure IAM roles.
But why small businesses like them, I can’t I understand. I host all my stuff on Hetzner. It’s easy, it’s affordable and I “move fast”. I don’t need certificates to be able to manage the servers, and there is tone of information available online. But maybe it’s because I’m old, and I used to ssh to a Linux machine, git pull the latest version, and call in a “deploy”. But modern developed seems to be afraid of raw machines.
The only thing I miss is a good transactional email provider with PAYG pricing, and EU data residency.
The author touches on it briefly, but I'd argue that the cloud is immensely helpful for building (and tearing down) an MVP or proving an early market for a new company using startup credits or free tiers offered by all vendors. Once a business model has been proven, individual components and the underlying infrastructure can be moved out of the cloud as soon as cost becomes a concern.
This means that teams must make an up-front architectural decision to develop apps in a server-agnostic manner, and developers must stay disciplined to keep components portable from day one, but you can get a lot of mileage out of free credits without burning dollars on any infrastructure. The biggest challenge becomes finding the time to perform these migrations among other competing priorities, such as new feature development, especially if you're growing fast.
Our startup is mostly built on Google Cloud, but I don't think our sales rep is very happy with how little we spend or that we're unwilling to "commit" to spending. The ability to move off of the cloud, or even just to another cloud, provides a lot of leverage in the negotiating seat.
Cloud vendors can also lead to an easier risk/SLA conversation for downstream customers. Depending on your business, enterprise users like to see SLAs and data privacy laws respected around the globe, and cloud providers make it easy to say "not my problem" if things are structured correctly.
Seems like nowadays people seem less concerned with vendor lockin than they were 15 years ago. One of the reason to want to avoid lockin is to be able to move when the price gouging gets just a little bit too greedy that the move is worth the cost. One of the drawbacks of all these built in services at AWS is the expense of trying to recreate the architecture elsewhere.
> This means that teams must make an up-front architectural decision to develop apps in a server-agnostic manner
Right. But none of the cloud providers encourage that mode of thinking, since they all have complete different frontends, API's, different versions of the same services (load balancers, storage) etc. Even if you standardize on k8s, the implementation can be chalk and cheese between two cloud providers. The lock in is way worse with cloud providers.
I'd be more interested to understand (from folk who were there) what the conditions were that made AWS et al such a runaway hit. What did folks gain, and have those conditions meaningfully changed in some way that makes it less of a slam dunk?
My recollection from working at a tech company in the early 2010s is that renting rack space and building servers was expensive and time consuming, estimating what the right hardware configuration would be for your business was tricky, and scaling different services independently was impossible. also having multi regional redundancy was rare (remember when squarespace was manually carrying buckets of petrol for generators up many flights of stairs to keeps servers online post sandy?[1]).
AWS fixed much of that. But maybe things have changed in ways that meaningfully changes the calculus?
[1] https://www.squarespace.com/press-coverage/2012-11-1-after-s...
You're falling into the false dichotomy that always comes up with these topics: as if the choice is between the cloud and renting rack space while applying your own thermal paste on the CPUs. In reality, for most people, renting dedicated servers is the goldilocks solution (not colocation with your own hardware). You get an incredible amount of power for a very reasonable price, but you don't need to drive to a datacenter to swap out a faulty PSU, the on site engineers take care of that for you. I ordered an extra server today from Hetzner. It was available 90 seconds afterwards. Using their installer I had Ubuntu 24.04 LTS up and running, and with some Ansible playbooks to finish configuration, all in all from the moment of ordering to fully operational was about 10 minutes tops. If I no longer need the server I just cancel it, the billing is per hour these days.
Bang for the buck is unmatched, and none of the endless layers of cloud abstraction getting in the way. A fixed price, predictable, unlimited bandwidth, blazing fast performance. Just you and the server, as it's meant to be. I find it a blissful way to work.
> all in all from the moment of ordering to fully operational was about 10 minutes tops.
I think this is an important point. It's quick.
When cloud got popular, doing what you did could take upwards of 3 months in an organisation, with some being closer to 8 months. The organisational bureaucracy meant that any asset purchase was a long procedure.
So, yeah, the choices were:
1. Wait 6 months to spend out of capex budget
Or
2. Use the opex budget and get something in 10m.
We are no longer in that phase, so cloud services makes very little sense now because you can still use the opex budget to get a VPS and have in going in minutes with automation.
True, but I think you're touching on something important regarding value. Value is different depending on the consumer: for you, you're willing and able to manage more of the infrastructure than someone who has a more narrow skillset. Being able to move the responsibility for areas of the service on to the provider is what we're paying for, and for some, paying more money to offload more of the responsibility actually results in more value for the organization/consumer
raises hand I ran a small SaaS business in the early 2000s, pre-AWS.
Renting dedicated servers was really expensive. To the extent that it was cheaper for us to buy a 1U server and host it in a local datacenter. Maintaining that was a real pain. Getting the train to London to replace a hard drive was so much fun. CDNs were "call for pricing". EC2 was a revelation when it launched. It let us expand as needed without buying servers or paying for rack space, and try experiments without shoving everything onto one server and fiddling with Apache configs in production. Lambda made things even easier (at the expense of needing new architectures).
The thing that has changed is that renting bare metal is orders of magnitude cheaper, and comparable in price to shared hosting in the bad old days.
AWS also made huge inroads in big companies because engineering teams could run their own account off of their budget and didn’t have to go through to IT to requisition servers, which was often red tape hell. In my experience it was just as much about internal politics as the technical benefits.
> which was often red tape hell
Seconded. I was working for a storage vendor when AWS was first ascendant. After we delivered hardware, it was typically 6-12 weeks to even get it powered up, and often a few weeks longer to complete deployment. This is with professional services, e.g. us handling the setup once we had wires to plug in. Similar lead time for ordering, racking, and provisioning standard servers.
The paperwork was massive, too. Order forms, expense justifications, conversations with Legal, invoices, etc. etc.
And when I say 6-12 weeks, I mean that was a standard time - there were outliers measured in months.
Absolutely. At several startups, getting a simple €20–50/month Hetzner server meant rounds with leadership and a little dance with another department to hand over a credit card. With AWS, leadership suddenly accepted that Ops/Dev could provision what we thought was right. It isn’t logically compelling, but that’s why the cloud gained traction so quickly: it removed friction.
> At several startups, getting a simple €20–50/month Hetzner server meant rounds with leadership and a little dance with another department to hand over a credit card.
That's not a startup if you can't go straight to the founder and get a definite yes/no answer in a few minutes.
This is the big one.
In 2006 when the first EC2 instances showed up they were on par with an ok laptop and would take 24 months to pay enough in rent to cover the cost of hardware.
Today the smallest instance is a joke and the medium instances are the size of a 5 year old phone. It takes between 3 to 6 months to pay enough in rent to cover the cost of the hardware.
What was a great deal in 2006 is a terrible one today.
> But maybe things have changed in ways that meaningfully changes the calculus?
I'd argue that Docker has done that in a LOT of ways. The huge draw to AWS, from what I recall with my own experiences, was that it was cheaper than on-prem VMware licenses and hardware. So instead of virtualizing on proprietary hypervisors, firms outsourced their various technical and legal responsibilities to AWS. Now that Docker is more mature, largely open source, way less resource intensive, and can run on almost any compute hardware made in the last 15 years (or longer), the cost/benefit analysis starts to favor moving off AWS.
Also AWS used to give out free credits like free candy. I bet most of this is vendor lock in and a lot of institutional brain drain.
The free credits... what a WILD time! Just show up to a hackathon booth, ask nicely, and you'd get months/years worth of "startup level" credits. Nothing super powerful - basically the equivalent of a few quad core boxes in a broom closet. But still for "free".
Answers here
https://learn.microsoft.com/en-us/azure/cloud-adoption-frame...
TL;DR version - its about money and business balance sheets, not about technology.
For businesses past a certain size, going to cloud is a decision ALWAYS made by business, not by technology.
From a business perspective, having a "relatively fixed" ongoing cost (which is an operational expense ie OpEx ) even if it is significantly higher than what it would cost to do things with internal buy and build out (which is a capital expense cost ie CapEx), make financial planning, taxes and managing EBITDA much easier.
Note that no one on the business really cares what the tech implications are as long at "tech still sorta runs mostly OK".
It also, via financial wizardry, makes tech cost "much less" on a quarter over quarter and year over year basis.
Et al is for people, Et cetera is for things.
Edit: although actually many people on here are American so I guess for you aws is legally a person...
> although actually many people on here are American so I guess for you aws is legally a person...
Corporate legal personhood is actually older than Christianity, and it being applied to businesses (which were late to the game of being allowed to be corporations) is still significantly older than the US (starting with the British East India Company), not a unique quirk of American law.
Oh I didn't how that, thanks for the lesson.
Tbf it just sounds...so American, so I assumed, my bad. But East India Company was involved...whew I guess that does make sense, oof.
Its not actually that hard to get your own server racked up in a data centre, I have done it. Since it was only one box that I built and installed at home I just shipped it and they racked it in the shared area and plugged the power and network in and gave me the IP address. It was cheaper than renting from someone like hetzner, was about £15 a month at the time for 1A and 5TB a month of traffic at 1gbps. Also had a one off install fee of £75.
At the time I did this no one had good gaming CPUs in the cloud, they are still a bit rare really especially in VPS offerings and I was hosting a gaming community and server. So I made a pair of machines in a 1U with dual machines in there and had a public and private server with raid 1 drives on both and redundant power. Ran that for a gaming server for many years until it was obsolete. It wasn't difficult and I think the machine was about £1200 in all, which for 2 computers running game servers wasn't too terrible.
I didn't do this because it was necessarily cheaper, I did it because I couldn't find a cloud server to rent with a high clockspeed CPU in it. I tested numerous cloud providers, sent emails asking for specs and after months of chasing it down I didn't feel like I had much choice. Turned out to be quite easy and over the years it saved a fortune.
We did this a lot in the early 2000's. At the time I worked for a company with offices in Bellevue and we put our own hardware in full sized racks at a datacenter in the komo4 building in Seattle.
Because of proximity it was easy to run over and service the systems physically if needed, and we also used modem based KVM systems if we really needed to reboot a locked up system quickly (not sure that ever actually happened!).
I'm sure customer owner hardware place in a datacenter rack is still a major business
What is the mechanism for such services if you want to replace a component (ex. a failing hard drive or upgrade ram)?
This isn’t a binary issue. I disagree with these “abandon the cloud” takes but do agree that most folks spend way way more than they should.
The biggest threat to cloud vendors is that everyone wakes up tomorrow and cost optimizes the crap out of their infrastructure. I don’t think it’s hyperbolic to say that global cloud spending could drop by 50% in 3 months if everyone just did a good audit and cleaned up their deployments.
> The biggest threat to cloud vendors is that everyone wakes up tomorrow and cost optimizes the crap out of their infrastructure
Well there's no danger of that. Even with AWS telling you exactly how to save money (they have a thousand different dashboards showing you where you can save, and even support will tell you), it'll still take you months to work through all the cost optimization changes. Since it's annoying and complicated to do, most people won't do it.
Their billing really is ridiculous. We have a TAM and use a reseller, and it's virtually impossible for us to see what we actually spend each month, what with the reseller discounts, enterprise PPA, savings plans, RIs, and multiple accounts. Their support reps even built us some kinda custom BI tool just to look at costs, and it's still not right.
Exactly this.
We have to use cloud because we're at the low end of 10^5 servers. Once you hit the high end of 10^3 this is really where you need to be.
Everything we're doing is highly inefficient because of decades of fast and loose development by immature software engineers...and having components in the stack that did the same.
If I had 5 years to rewrite and redesign the product to reflect today's computing reality, I could eliminate 90%+ of the cost. But I'll never get that kind of time. Not with 1000 more engineers and 1000 more years and the most willing customers.
You might get lucky enough that you and a bunch of your customers are so fed up with your company that you get to create the competition.
What if the data center that has your dedicated server burns down? You need to prepare to that buy renting another server at a different data center and synching them. Not a big problem, but needs to be mentioned
Correct AWS gives you availability zones. It is easy to spin up a cluster over them and have little or no downtime.
But a burning data centre is just one problem. Another is e.g. the USE1 issue AWS had. AZ didnt help here. Having compute in a other region an rerouting might. But maybe we aint talking startup concerns here. (If you have a simple enough "app" just deploy again in another region and update dns.)
"To them, it’s way too convenient to be on AWS: not only it solves their problem, but it’s also a shiny object. It’s technically complex, it makes them look smart in front of other devs, "
why? why be so obnoxious to other people who you claim are being obnoxious to you. no need to read your blog post now/
Cheap shot maybe, but the fact that the page takes 10 seconds to load when it hits the HN front page is a great, inadvertant illustration of why you might want to use the cloud sometimes.
Absolutely. And I never said that everybody should use the cloud. Contrary to OP, it's more complicated than that. Not every site has the same needs. Some sites need scaling. Some sites are fine with being hugged to death, others would lose millions of dollars if they were. Some people are happy to tinker with their nginx config and package upgrades etc, others prefer to deploy and forget it (with cost controls enabled).
Disclosure: I work for Cloudflare, but 25 years ago served my own site from an iBook under the stairs.
> The failure mode of self-hosting is that your site gets hugged to death
Learn 2 load balance
If only it were that simple. Don't forget:
Learn 2 HA
Learn 2 MFA
Learn 2 backup
Learn 2 recover within RTO
Learn 2 ETL
Learn 2 queue
Learn 2 scale horizontally
Learn 2 audit log
Learn 2 SEIM
Learn 2 continuously gather SOC evidence
...
You want to architect. Thats it. You can handle the 50krps that you wont get from HN from a dedicated box.
OP here. As others have said, it loads immediately for me (tested on desktop + on mobile data + incognito)
The entire site is cached + Cloudflare sits on top of everything. I just ran a couple performance tests under the current HN traffic (~120 concurrent visitors) and everything looks good, all loads under 1 second. The server is quite happy at an average load of 0.06 right now, not even close to start breaking a sweat.
Turns out you can get off the cloud and hit the frontpage of HN and your site will be alright.
My guess is your caching was misconfigured in some way. It's fast for me now, but before commenting I tried several times and it always took at least 10s to load, often more. Others have also reported very slow load times. I was surprised because I saw at the time that it was behind Cloudflare. Disclosure: I work for Cloudflare.
That happens a lot to blogs deployed on the cloud too. They just need to put a small cache in front and they'll be able to serve one or two orders of magnitude more requests per second.
This exactly what was happening with me and I recently started a project called Postbase to setup my own cloud infrastructure. There is so much free OSS software out there which is 100x better than what Google, Amazon and other offer. github.com/umrashrf/postbase (this is in alpha and work in progress).
Basically it boils down to:
Is your time worth more than what the fully managed services on AWS cost? And I mean that quite literally in the sense of your billable hours.
If you like spending time tinkering with manually configuring linux servers, and don't have anything else that generates better value for you to do - by all means go for it.
For small pet projects with no customers, a cheap Hetzner box is probably fine. For serious projects with customers that expect you to be able to get back on your feet quickly when shit hits the fan, or teams of developers that lose hours of productivity when a sandbox environment goes down, maybe not so much.
Is AWS more expensive than the salary of the infra guy you would need to hire to do all this stuff by hand? Probably not.
The first couple of paragraphs of price comparisons are useful. Then there are many paragraphs of sheer waffle. The author doesn't even seem able to define what "the cloud" is:
> The whole debate of “is this still the cloud or not” is nonsense to me. You’re just getting lost in naming conventions. VPS, bare metal, on-prem, colo, who cares what you call it. You need to put your servers somewhere. Sure, have a computer running in your mom’s basement if that makes you feel like you’re exiting the cloud more, I’ll have mine in a datacenter and both will be happy.
I read the whole thing and I didn't see any waffle. Sure, undeniably some excess word count, some emotion in responding to critics. But no waffle.
The "is this cloud or not" debate in the piece makes perfect sense. Who cares whether Hetzner is defined as "the cloud" or not? The point is, he left AWS without going to Azure or some other obvious cloud vendor. He took a step towards more hands on management. And he saved a ton of money.
I've been at too many startups with a devops team that would rather provision 15 machines with 4GB RAM THAN ONE WITH 64GB.
I once got into an argument with a lead architect about it and it's really easy to twist the conversation into "don't you think we'll reach that scale?" To justify complexity.
The bottom line is for better or worse, the cloud and micro services are keeping a lot of jobs relevant and there's no benefit in convincing people otherwise
Multiple small boxes is actually better than one giant box, for a whole lot of reasons. Scaling isn't the issue.
What I always say when given a false choice: ¿porque no las dos?
vcpu, iops, transfer fees, storage -- they are all resources going into a pool .
If Hetzner is giving you 10TB for $100 , then host your static files/images there and save $800.
Apps are very modular. You have services, asyncs, LBs, static files . Just put the compute where it is most cost effective.
You don't have to close your AWS account to stick it to the man. Like any utility, just move your resources to where they are most affordable.
It's almost like Clouds are really good at scaling and some rented server isn't! Perfect, almost poetic.
It's almost like nobody cares about scaling their blog.
I would really be interested in an actual comparison, where e.g. someone compares the full TCO of a mysql server with backup, hot standby in another data center and admin costs.
On AWS an Aurora RDS is not cheap. But I don't have to spend time or money on an admin.
Is the cost justified? Because that's what cloud is. Not even talking about the level of compliance I get from having every layer encrypted when my hosted box is just a screwdriver away from data getting out the old school way.
When I'm small enough or big enough, self managed makes sense and probably is cheaper. But when getting the right people with enough redundancy and knowledge is getting the expensive part...
But actually - I've never seen this in any if these arguments so far. Probably because actual time required to manage a db server is really unpredictable.
> Probably because actual time required to manage a db server is really unpredictable.
This, and also startups are quite heterogeneous. If you have an engineer on your team with experience in hosting their own servers (or at least a homelab-person), setting up that service with sufficient resiliency for your average startup will be done within one relaxed afternoon. If your team consists of designers and engineers who hardly ever used a command line, setting up a shaky version of the same thing will cost you days - and so will any issue that comes up.
Its a skillset that is out of favour at the moment as well but having someone who has done serverops and devops and can develop as well is a bit of a money saver generally because they open up possibilities that don't exist otherwise. I think its a skillset that no one really hired for past about 2010 when cloud was mostly taking off and got replaced with cloud engineers or pure devops or ops people but there used to be people with this mixed skillset in most teams.
I've never had a server go down. Most companies don't need a hot server because it's never going to be needed.
AWS + Azure have both gone down with major outages indivudually more over the last 10 years than any of the servers in companies I worked with in the 10 years before that.
And in comparable periods, not a single server failed or disk failed or whatever.
So I get SOME companies need hot standby servers, almost no company, no SaaS, no startup, actually does.
Because if it's that mission critical, then they would have already had to move off the cloud due to how frequently AWs/Azure/etc. have gone down over the last 10 years, often for 1/2 day or so,
I've had a lot of servers going down. I've had data centers going down. For various reasons - but normally not a failed disk but configuration errors due to human error.
And I've had enough cases where the company relied on just that one guy who knew how things worked - and when they retired or left, you had big work ahead understanding the systems that guy maintained and never let anyone else touch. Yes, this might also be a leadership issue - but it's also an issue if you have no one else with that specific knowledge. So I prefer standardized, prepackaged, off the shelf solutions that I can hire replacable people for.
I have a VPS. It costs me £1.34 per month. It's way over-powered for what I need it for.
However, one situation where I think the cloud might be useful is for archive storage. I did a comparison between AWS Glacier Deep Storage and local many-hard-drive boxes, for storing PB-scale backups, and AWS just squeaked in as slightly cheaper, but only because you only pay for the amount you use, whereas if you buy a box then you have to pay for the unused space. And it's off-site, which is a resilience advantage. And the defrosting/downloading charge was acceptable at effectively 2.5 months worth of storage. However, at smaller scales you would probably win with a small NAS, and at larger scales you'd be able to set up a tape library and fairly comprehensively beat AWS for price.
Its a weird service because before that point AWS is crazy expensive for storage, especially down in the TB range its awful value compared to your box and drives. But once you get into that PB scale AWS actually seems to be competitive, I guess because the GB/TBs they are selling are from PB scale solutions and all the overhead that entails.
After a few months of experimenting on AWS, I got scared seeing how fast small side projects could turn into expensive monthly bills.
I built my own DIY cloud, a minimal self-hosted setup that lets me deploy apps, databases, and backups on cheap VPS or bare-metal servers. At first I just wanted to save money, but I realized that managing it can easily become a full-time SRE job.
Still, for small, experimental, or hobby projects, this setup works perfectly. It keeps costs predictable and gives full control without needing large-scale infrastructure.
https://diy-cloud.remikeat.com
Would love to hear from others who tried leaving managed clouds behind.
I think the main thing holding people back from leaving the cloud is simple inertia. There was a time when the cloud was obviously the right choice. Static IPv4 addresses were becoming scarce, IPv6 had not been deployed widely enough, and cloud providers made it easy to stand up a server and some storage with high speed links on the cheap. But over time, things have changed. Rate limits, data caps, and egress fees are now normal (and costly). IPv6 is now deployed widely enough that you might be willing to just run an IPv6-only stack, which greatly simplifies running a server on-premise. And of course, we've all seen time and again how providers will carelessly lock out your cloud account for arbitrary reasons with little to no recourse. The time has come to own your infrastructure again. But that won't happen until people realize it's easy to do.
Not trying to be dismissive of the article but, the way it's written, it reads like a lot of whining.
He could have summed up with "AWS is expensive, host your own server instead".
I’m fundamentally confused. A server in a datacenter is still the cloud. Taking something off the cloud means you have hardware somewhere that you physically manage and pay the power bill.
This is simply collapsing the built for scale tools into a cacophony of open source tools.
You didn’t need it to begin with, you just didn’t know any better.
If all you need is compute, than yeah, self hosting is easy. Otherwise, do you think just about every company under the sun is a sucker for being on the cloud? If it was so easy, companies would be either be constantly dropping prices to compete with all the self hosters, or new companies to fill in the price gaps.
I've always found AWS IAM quite simple, but then again it is my job, so I might be biased. I haven't really dug into GCP well enough to understand it, but I did find it quite daunting to start the few times I messed with it. What's complex about it to you?
For personal projects, honestly, the built in roles AWS provides are okay enough for some semblance of least privilege x functionality IMO.
Plus, most of AWS's documentation tells you the specific policy JSON to use if you need to do XYZ thing, just fill in the blanks.
As a note hetzner has a lot of auction servers and I believe they lack the setup fee
They have also threatened to cancel my account more than once because I typed "ipfs daemon".
https://github.com/ipfs/kubo/issues/10327
https://discuss.ipfs.tech/t/moved-ipfs-node-result-netscan-d...
>This happens with Hetzner all the time because they have no VLANs and all customers are on a single LAN and IPFS tries to discover other nodes in the same LAN by default.
Hetzner is also sinkholed by lots of EDR products because they host a ton of malicious garbage. They are a bad actor.
Why is it their job to be the arbiters of what customers are allowed to do on their platform?
There are many scenarios in which cloud providers (especially AWS) make sense.
Ideally, your company has technical experts who can do quite a lot of things non-cloud, so you can make informed decisions about near-term costs, complexity, vendor lock-in, execution speed, etc.
I'm especially a fan of cloud providers for early startups, which tend to be high on velocity, and low on workers. And the free credits programs often solve the early problem of being low on dollars.
Up to a point, cloud can actually be very cost effective. If you are a small company, you don't actually need a lot. I ran our current service for almost one and a half year on Google Cloud Run for free. It stayed below the freemium threshold. Eventually I transitioned it over to two simple VMs. Main reason for this was that I abused these servers to also do background processing and Cloud Run is not very suitable for that as it can shut down servers in between requests and/or starve them of resources. But a small vm only costs something like 20$/month. Add another 25 or so for the load balancer and a Redis, and a few other bits and we're looking at ~100$ per month. That's very reasonable. That's not a cost worth optimizing without a very good reason. A good devops freelance person asks more per hour than that.
Where a lot of companies go wrong is premature scaling and overengineering. As you might guess from the above, I don't run kubernetes. Reason, the smallest cluster I can manage would probably be more expensive than the entirety of my setup. Before I even deploy anything. And it might not be big enough even.
I also don't run a managed postgresql. I'd like to. But I can't justify dropping north of 300$/month on that currently. A single node vm with backups is good enough. For now. I might go active master - passive master. Do I need a 3 or more node cluster? Not right now. I might one day. I always have the option to upgrade. But until then my DB is going to not break the bank. So, I run with a more modest/risky setup. It's a managed risk. I can buy it off when that becomes relevant.
The other day, our CEO vibe coded a cost calculator thingy. He did a nice job. It had to be deployed somewhere. So, I used Cloud Run. Running a small thing with essentially no traffic is as close to free as you can get. I slapped some basic authentication on it and used a git hub action that we run from the freemium allocated build minutes each month. I reviewed our Github bills a few days ago over the years: The most we payed was a few months where we were running out of build minutes in 2024. I payed 55cents for one of those bills. Our setup is cloud based but frugal. I could probably lower our bills by double digit percentages by moving everything into Hetzner. But it's literally not worth my time.
Cloud on the cheap is just really good value. You can host low traffic static websites on Cloudflare. If you have a load balancer in Google cloud (25$/month or so) you can use buckets and their CDN for next to nothing as an alternative. A small Redis costs next to nothing. We run a slightly expensive vm for batch jobs for a maybe ~2 hours per month in total. Each job only takes a few minutes. The machine is suspended in between jobs and we only pay for the hours it runs. Next to nothing.
So, yes, you can get some bare metal in Hetzner or wherever for next to nothing. But then you need to manage that setup and you need to put the time in to do that. Your time even if you don't value it personally is just about the most scarce and expensive resource a startup has if you are the CTO. The difference between you doing valuable work that moves the company forward or you procrastinating and penny pinching over stuff that does not matter can literally make or break the company.
If you spend 5K on infrastructure per month, that's a the same as a very low salary for a full time person. If you are spending that much, definitely do something because it's an obscene amount. Especially if you are early stage and have no traffic. But if you need to put somebody on that that costs closer to 10K/month for a few weeks or months, that's a project that has a pretty high price tag as well. So cutting 5K down to 1K is worth doing. But spending 10K to cut 1K to 500/month is probably going to take you years to earn back. And you lose time doing it.
Our startup is bootstrapped. We run on a bit of revenue now and our savings for most of the past five years. Anything I spend on stuff that isn't needed literally is money that otherwise would go to my bank account (via a salary raise or bonus). I understand frugality. A lot of this stuff is people getting spoiled with investor cash and spending like there is no tomorrow. If you have no accountability you optimize the infrastructure for how good it makes your resume look, not for cost.
Jeez, this was a painful read. I actually stopped after a few paragraphs and asked AI to make it more technically focused and remove the ranting so I could stomach it.
Strawman arguments, ad hominem attacks and Spongebob mocking memes, and the casual venturing into conspiracy theories and malicious intentions...
> Why do all these people care if I save more money or not? ... If they’re wrong, and if I and more people like me manage to convince enough people that they’re wrong, they may be out of a job soon.
I have a feeling AWS is doing fine without him. Cloud is one of the fastest growing areas in tech because their product solves a need for certain people. There is no larger conspiracy to keep cloud in business by silencing dissent on Twitter.
> You will hear a bunch of crap from people that have literally never tried the alternative. People with no real hands-on experience managing servers for their own projects for any sustained period of time.
This is more of a rant than a thoughtful technical article. I don't know what I was expecting, because I clicked on the title knowing it was clickbait, so shame on me, I guess...
Is this what I'm missing by not having Twitter?
Help convince me I should be confident taking responsibility for:
* off-site db backups
* a guaranteed db restore process
* auditable access to servers
* log persistence and integrity
* timely security patching
* intrusion detection
so that my employer can save money.
A 2024 International LT Series semi-truck costs $130,000. That's very expensive compared to a $30,000 Ford Maverick.
Both of these trucks can technically be used to pick up groceries and commute. But, uh, if you bought the semi-truck to get groceries and commute? Nobody scammed you; you bought the wrong truck. You don't have to buy the biggest, most expensive truck to do small jobs. But also, just because there's a cheaper truck available, doesn't mean the semi-truck is overpriced or a scam. The semi is more expensive for a reason.
I wonder about people who write articles like these. I imagine at one point he believed he had to use the cloud, so he started using it without understanding what he was doing. As a result, he was charged a ton of money. He then found out there were cheaper, simpler ways to do what he wanted. And so, feeling hurt, embarrassed, and deceived, he writes this long screed, accusing people of scamming him - I mean scamming you - because you (not him!) could not possibly need to use the cloud, even though you (not him!) assumed you had to use the cloud.
Yes, dude. The cloud is expensive. Sorry you found out the hard way. And for what it's worth, you don't need a datacenter either; stick a 1U in your closet and call it a day.
I don't particularly like this article, mostly because he seems to have spent the great majority of it ranting about people on the internet supposedly yelling at him about not being "on the cloud" and semantics about exactly what constitutes "the cloud". I'd be much more interested in reading exactly what he was spending that money on at AWS and how he moved it all onto one or a few bare-metal boxes.
I don't think AWS is particularly expensive at all. In fact, it's rather cheap at quite a few things if you know what you're doing and use the right services. I've got all my server backups going to S3, for which I pay a whopping penny a month. I also host a handful of Docker images on ECR for 7 cents a month - way cheaper than any other private hosting service I know of.
Now RDS, and the equivalent at every other hosting provider I know of, gets quite pricey indeed. IMO, you shouldn't bother unless you have pretty serious needs for reliability and speed. Apt install your DB server of choice on bare metal goes quite far. Or possibly pull a container of it into whatever you're using to manage containers.
It's an informative post but I really dislike the language and style that are becoming common in this kind of posts, e.g.:
> Look, first of all, you’re as unique as the other 1000 peanut gallery enjoyers that have made the same astute observation before you. Congratulations. But you’re absolutely missing the point.
Sometimes I think I am out of the loop for using dedicated servers like OVH, DigitalOcean, and Hetzner, while others spend thousands of dollars for the things I spend barely a few hundred. This always made me think I am not a good developer enough to know the cutting-edge things others know.
Turns out most of the developers suck at handling barebones with a Linux distro + nginx and some other plugins to do the same things as the fancy-named aws stuff. If you are in the same boat, just know that most of these developers suck at what they are doing and don't care about the company budget.
You can get 99.99% of the things done with barebone + Cloudflare, including multiserver redundancy, at a fraction of AWS and Azure costs. Most of these technologies are just fancy words for basic Linux services.
I always thought it was because they were working at a huge scale... but who knows.
I think a lot of teams using cloud are using SaaS rather than IaaS. They want a redis and a postgres and a S3 and a ... You can set all that up on a server, but it's not very fun if you've never done it before.
Why it feels like the author is too young and just had breaking discovery that he can have servers without clouds!? Always been a thing, clouds were/are used in areas where it would be better, say some integration with already existing infrastructure, or some quick scaling. Just like everything, there’s always upside and downside, and it’s just about what suits your needs. The author should next try an on-prem approach where he even controls the hardware, even more cheaper but with extra maintenance. For example, I found a used server a while ago (44 Core HP Z840 WorkStation Dual Xeon E5-2699 V4 512GB RAM) for around $1000, that’s a one time pay.
The idea that it's cheaper not to use AWS is clear.
I was hoping to see more about porting AWS proprietary features into generic servers.
A big part of the problem isn't just monthly rent, it's vendor lock-in. When your whole system is implemented using AWS specific features, you're not going to run anywhere else.
AWS, and any other third party vendor, can and does obsolete features. Then you're having to port your system just to keep it running on the third party service.
Once you're implemented in a generic server, in a VPS, or your mom's basement, you're free to move to any other hosting provider, data center, whatever.
The loss of understanding that 3rd party dependencies are not good for your company or project, seems a bigger loss to the technical community than FTP hacking...
> Most people complaining about what I did happen to have “devops”, “cloud engineer”, “serverless guy”, “AWS certified”, or something similar in their bio.
“It is difficult to get a man to understand something, when his salary depends on his not understanding it.”
― Upton Sinclair
"I FINALLY got everything off the cloud"
...
...
"P.S. follow me on Twitter"
So uh, not everything
Sorry but my $3 AWS instance is still cheaper than all of those options.
If you need a lot of, well, anything, be it compute, memory, storage, bandwidth etc., of course cloud stuff is going to be more expensive... but if you don't need that, then IMO $3/mo on-demand pricing really can't be beat when I don't have to maintain any equipment myself. Oracle also offers perpetually free VM instances if you don't mind the glow.
With a quick LLM-assisted search, looks like the cheapest EC2 instance is t4g.micro, which comes in at $2.04/mo. It has 2 vCPUs and and only 512MiB of RAM. (I assume that doesn't include disk; EBS will be extra.)
I can certainly see a use for that small amount of compute & RAM, but it's not clear that your level of needs is common. I've been paying for a $16/mo VPS (not on AWS) for about 15 years. It started out at $9/mo, but I've upgraded it since then as my needs have grown. It's not super beefy with 2 vCPUs, 5GiB of RAM, and 60GiB of disk space (with free data ingress/egress), but it does the job, even if I could probably find it cheaper elsewhere.
But not at Amazon. Closest match is probably a t3.medium, with 2 vCPUs and 4GiB RAM. Add a 60GiB gp2 EBS volume, and it costs around $35/mo, and that's not including data transfer.
The point that you're missing is we're not looking for the cheapest thing ever, we're looking for the cheapest thing that meets requirements. For many (most?) applications, you're going to overpay (sometimes by orders of magnitude) for AWS.
You say "if you need a lot", but "lot" is doing a bit of work there. My needs are super modest, certainly not "a lot", and AWS is by far not the cheapest option.
Just get a raspberry pi and run it from your own home internet. You should already be paying for a VPN service and your regular internet service, so you should be able to trivially work out a self-hosted solution. You'll recover your costs inside of two years and come out the other end better off for it.
Don't give the big cloud companies an inch if you don't absolutely have to. The internet needs and deserves the participation of independent people putting up their own services and systems.
Amazon really doesn't care if your $10,000 bed folds up on you like a sandwich and cooks you when AWS us-east-1 goes down, or stops your smart toilet from flushing, or sets bucket defaults that allow trivial public access to information you assume to be secure, because nobody in their right mind would just leave things wide open.
Each and every instance of someone doing something independently takes money and control away from big corporations that don't deserve it, and it makes your life better. You could run pihole and a slew of other useful utilities on your self-hosted server that benefit anyone connected to your network.
AI can trivially walk you through building your own self-hosted setups (or even set things up for you if you entrust it with an automation MCP.)
Oracle and AWS and Alphabet and the rest shouldn't profit from eating the internet - the whole world becomes a better place every time you deny them your participation in the endless enshittification of everything.
yet another obsessive take on "cloud is bad and expensive" eh? I think they vastly forget the value of some SaaS offerings in terms of time saving for small companies. running and managing numerous DBs, k8s clusters, ci/cd pipelines and stateless container systems is simply impossible with a team of 1-2 people. sure if the setup is simple and only requires a few classic components, this is way cheaper and for a 99.9% SLA will work fine. otherwise it only makes sense if you had very large cloud bills and can dedicate multiple engineers to the newly created tasks.
Not agreeing/disagreeing with your core point, but this doesn't seem right:
> running and managing numerous DBs, k8s clusters, ci/cd pipelines and stateless container systems is simply impossible with a team of 1-2 people.
That's a medium to large homelab worth of stuff, which means it can be run by a single nerd in their spare time.
I think we've gone a little nuts defining "production system" these days. I've worked for companies with zero-downtime deployments and quite a lot of redundancy for high availability, and for some applications it's definitely worthwhile.
But I think for many (most?) businesses, one nine is just fine. That's perfectly doable by one person, even if you want, say, >=96% uptime, which allows for 350 hours of downtime per year. Even two nines allows for ~88 hours of downtime per year, and one person could manage that without much trouble.
Most businesses aren't global. Downtime outside regular business hours for your timezone (and perhaps one or two zones to the west and east of you) is usually not much of a problem, especially if you're running a small B2B service.
For a small business that runs on 1-3 servers (probably very common!), keeping a hot spare for each server (or perhaps a single server that runs all services in a lower-supported-traffic mode) can be a simple way to keep your uptime high without having to spend too much time or money. And people don't have to completely opt out of the cloud; there are affordable options for e.g. managed RDBMS hosting that can make maintenance and incident response significantly easier and might be a good choice, depending on your needs.
(Source: I'm building a small one-person business that is going to work this way, and I've been doing my research and gaming it out.)
> running and managing numerous DBs, k8s clusters, ci/cd pipelines and stateless container systems is simply impossible with a team of 1-2 people
Then don't. If your team and budget are small enough not to hire a sysadmin, then your workload is (almost certainly) small enough to fit on one server, one Postgres database, Jenkins or a bash script, and certainly no k8s.
Idiotic piece - the purpose of 'the cloud' is to scale large demand applications. Rental hardware can't really do that.
While I love a good cloud bashing, it's really not black and white. If you're really small, it probably doesn't matter much if you're using Hetzner or AWS, but co-location might be a bit to expensive. If you run an absolutely massive company, cloud vs. self-hosted comes down to whether or not you can build tooling as good as AWS, GCP or Azure, with all the billing infrastructure and reporting.
The issues are mostly in the SME segment and where it really depends on what your business is. Do you need completely separate system for each customer? In that case, AWS is going to be easier and probably cheaper. Are you running a constant low 24/7? Then you should consider buying your own servers.
It's really hard to apply a blanket conclusion to all industries, in regards to cloud cost and whether or not it's worth it. My criticism in regards to opting for cloud is that people want all the benefits of the cloud, but not use any of the features, because that would lock them into e.g. AWS. If you're using AWS as a virtual machine platform only, there's always going to be cheaper (and maybe better) options.