Top
Best
New

Posted by yusufusta 12 hours ago

Migrating from DigitalOcean to Hetzner(isayeter.com)
678 points | 350 comments
antirez 11 hours ago|
I moved two servers, one from Linode and the other from DO to Hetzner a few months ago, with similar savings. The best part was that the two servers had tens of different sites running, implemented in different languages, with obsolete libraries, MySQL and Redis instances. A total mess. Well: Claude Code migrated it all, sometimes rewriting parts when the libraries where no longer available. Today complex migrations are much simpler to perform, which, I believe, will increase the mobility across providers a lot.
p_stuart82 8 hours ago||
IMO nobody was paying for magic compute. they're paying to not touch ten years of glue.

if agents eat that glue, the moat gets thin fast.

grim_io 7 hours ago|||
> agents eat that glue

No wonder they hallucinate :)

andyhedges 6 hours ago||
It's when they sniff the glue, then things get wild.
edoceo 1 hour ago||
It's been like 90% glue since perl took over.
onemoresoop 35 minutes ago||||
Don’t forget staples and the tape too. LLMs have a weakness for paperclips, hope we don’t end up on that path
drewnick 4 hours ago||||
The problem is a lot of this glue is proprietary by design at the various cloud services. I realize there are open source and alternative abstractions for a lot of of the same services, but there’s still quite a bit of glue if you’re on AWS, for example, and looking to move to bare metal.

But maybe I’m just thinking of the current capabilities of agents, and if we fast forward a couple years, even removing these abstractions or migrating will be very low friction.

reillyse 4 hours ago||
But you can run most of the glue on your own dedicated instances.

I run k8s on a bunch of dedicated servers that are super cheap and I have all bells and whistles - just tell your coding agent to do it. You can literally design the thing you would never do yourself and it works brilliantly.

Postgres running on dedicated hardware replicated and with wal backups - easy just tell codebuff (my harness of choice) to do it. Then any number of firewalls, load balancers, bastion servers, etc. if you can imagine it , codebuff will implement it.

zamadatix 7 hours ago|||
Yeah, at the last job there was a single outdated external wiki server left sitting in DO for those kinds of reasons while everything updated and internal had moved already (if not twice). If it hadn't become such a security risk it would never have been moved.
rustyhancock 10 hours ago|||
Wow a Claude add embedded into a Hetzner add.

How deep does this go?

sph 10 hours ago|||
I have just seen with my own eyes Claude astroturfing on a gamedev subreddit from a botting account that was picked up by Google so I could see a few of their other comments. This account's operation was going on development subs complaining about how good Claude's latest model is and how awful it is being afraid of losing one's job to AI.

I know your comment is tongue-in-cheek and the poster here is kinda known, but this kind of astroturfing is a new low and it's everywhere on forums such as these.

Aurornis 9 hours ago|||
I see a lot of these posts on Reddit, too, but I don't think it's actually Anthropic or Claude doing it. It's the same old Reddit karma farmers picking up on the latest trends. They've always combined headlines with ragebait to build karma and now LLM bots make it easier than ever.

It's too bad Reddit allows accounts to hide their comment history now. That was an easy way to identify bot accounts before they started allowing accounts to hide their post history

AlecSchueler 7 hours ago|||
That is a pity but on the bright side it also helps people to avoid being stalked and harassed.
pydry 1 hour ago|||
I think it probably is claude and anthropic. It kicked off in earnest towards the end of last year when "AI bubble" news stories peaked.

They're incredibly exposed to investor sentiment and were likely panicking around sept/oct/nov time when AI bubble stories were trending.

These posts were really consistent and repetitive - similar language about "scary good" models and fear of losing jobs.

rdevilla 9 hours ago||||
The whole internet is like this now, and it's only just getting started. Makes me sick tbh, and I am still questioning if this is the kind of industry I want to work in.
MikeNotThePope 9 hours ago|||
For those who remember Digg, the recently relaunched a new version and shut it down almost immediately. They were getting hammered with AI bots when it was realized the Digg apparently still has good SEO. The explain it right on homepage.

https://digg.com/

dwedge 9 hours ago||
They explained it with an AI generated post
sph 9 hours ago||||
> I am still questioning if this is the kind of industry I want to work in

I'm not. I stick around for the popcorn, and I'm not gonna miss the schadenfreude in a few years.

iririririr 4 hours ago|||
[dead]
Bridged7756 9 hours ago||||
I've been warning people of Anthropic's astroturfing for a while now. The amount of "Insert latest model/Claude Code is scary. I'm worried about my job" posts, followed by a doom ridden writing about how their job was automated and 30 dudes got fired and the person is pivoting into plumbing or something or working at Mcdonalds, is just too suspicious not to note. Sometimes it's more covert. They don't mention any provider/model. Sometimes there's a subtle insert somewhere in the body, Opus, Claude, etc.
refulgentis 9 hours ago||||
I was really confused, then, realized the person you’re replying to misspelled “ad” as "add", and you’re moving forward with the premises GP is an ad, and this HN submission is an ad. Then, you share you saw a Reddit account on a gamedev subreddit complaining AI is too good, & they're worried they won’t have a job, and you believe that Reddit account must have been an ad for AI.

Just noting for fellow just-waking-up people

(edit: OP edited)

CamperBob2 8 hours ago|||
It's not necessarily astroturfing. There is a seismic shift under way regarding how things get done in this business, and if you don't acknowledge it, that's weird in itself.
ozmodiar 8 hours ago|||
I've certainly noticed a seismic shift in how bad support and updates have gotten with some 3rd party vendors we use, and the answer they come back with is always that they're experimenting with AI. Not saying AI isn't part of the job now, but it is getting seriously over hyped and over extended.
oulipo2 7 hours ago|||
It's absolutely not seismic. If you've used AI for a little bit, you'll realize it's good at writing boilerplate code. Any complex logic, and you better re-read and correct the code a few times until you trust it.

Of course if all you do is "host wordpress website" (like 80% of what's "webdev" do), it will work. Now the issue is that the last 20% are the hardest to cover, and current AI methods will not get there (you need some much more complex methods, like being able to integrate logic with learning-based ML, to do this)

godot 8 hours ago||||
It would seem that way for sure, if it was just a random anon posting it, but the person you're replying to is the creator of Redis so I feel it's more likely a genuine opinion/experience rather than a Claude ad...
atherton94027 7 hours ago||||
This is the redis guy you're replying to, I doubt he's on Claude's payroll
jnwatson 10 hours ago||||
I think it is more the other direction. I asked Claude how to save money on my cloud costs, and it suggested migrating from DO to Hetzner.
tmpz22 10 hours ago||||
Its certainly a choice to accuse antirez of all people
Bridged7756 9 hours ago||
True, let's not criticize those saints of ours.
antirez 10 hours ago||||
"ad", with a single "d".

So it's a Claude ad inside a Hetzner ad inside a decent grammar ad.

airstrike 9 hours ago|||
Don't forget the ad hominem
zephen 6 hours ago||
The amount of ad populum around this issue certainly reaches ad absurdum levels.
brianwawok 9 hours ago||||
You forgot that this entire forum is a VC/incubator ad. Its ads all the way down.
mirekrusin 10 hours ago||||
Ad for which elementary school?
FEELmyAGI 9 hours ago|||
Come on can you really nitpick grammar when your original message contains: "when the libraries where[sic] no longer available"

Btw this type of grammar error can be found by proofreading your posts with ChatGPT powered OpenClaw assistant.

antirez 7 hours ago||
I was joking. I notoriously write bad English but don't like using LLMs for writing. It removes personality.
rpcope1 9 hours ago||||
I mean if it were anyone else, yeah I might agree, but I think Salvatore is being genuine here (and have seen Claude do a similarly surprising job fixing ops issues).
conradfr 6 hours ago|||
On the other hand he has totally drunk the Kool-AI(d).
oulipo2 7 hours ago|||
I don't think so. I think he's clearly abusing language (saying "Claude Code migrated the stufff", rather than "I migrated the stuff after using Claude to help write boilerplate, then I went on double-checking it, testing it, and then running it")
pythonaut_16 7 hours ago||
I don't think you've nailed it either. He SHOULD be saying "54 days ago, I powered on my computer and opened a terminal. From my editor I reviewed my code files and realized I had quite a mess on my hands. Realizing it was the year A.D. 2026, I decided to fire up a modern tool. I typed "claude" into my terminal. As it launched I told it I wanted helping taking my running programs and moving them from the virtual private servers I was running in Linode (inc) and Digital Ocean (co) to Hetzner (LLC). As Claude used it's tool use abilities it read the files and made suggestions on how to do the migrations, it indicated that it could go ahead and copy the files and run the needed commands but I would need to give it permission first. I granted it permission. Once it said the services were running, I instructed it to test that they were accessible and reliable while I reviewed the glowing new code it had written. In summary, with the help of Claude Code I was able to redeploy 37 services in Hetzner."
hrimfaxi 7 hours ago||
I think the parent has a point. For how many other accomplishments is the tool framed as the responsible party? We don't say "cranes built the skyscraper", people did. Why do we shift accountability when it comes to AI?
grim_io 2 hours ago|||
If you vaguely describe to the crane what you want built, and it builds it, then I'd say the crane built it.
qzw 1 hour ago||
On Monday a crane company announces it’s pivoting to AI, followed by a quick 600% boost to its stock price. I wouldn’t even be surprised at this point.
democracy 2 hours ago||||
Because it shows you are hip and trendy and MAYBE you deserve a job in the AI era
minimaxir 3 hours ago|||
For clarity and accuracy, in the hopes that the person reading it interprets in good faith.
senordevnyc 10 hours ago|||
By this logic your most recent comment was just an ad for Netflix.
tannhaeuser 10 hours ago|||
Not every fscking story has to be about AI.
freedomben 7 hours ago|||
They didn't make it about AI, they mentioned a tool that helped with the migration. I find it relevant and helpful to know.

I don't see it as much different from "I used script X to do it" or something.

TheLML 5 hours ago||
Excuse my ignorance, but how is that migration (especially of older libraries that are apparently being rewritten) not just a copy/paste action from one server to the other? When I build software to deploy it it includes everything it requires library wise. At least the few things I've deployed so far.
simonw 2 hours ago|||
You have to copy data across, and confirm that everything worked correctly, and if you're being fancy about it you need to freeze writes to the old server while you are migrating and then unfreeze after you've directed traffic to the new server. It's not trivial.
orthecreedence 3 hours ago|||
Sometimes you need library version X, which uses a compiled binary for the platform, which requires C library version Y, which requires glibc version Z, which is deprecated on the current version of the OS, etc etc etc.

Or you can update the app to remove the dependency on the library.

But honestly, this is what containers or VMs are built for in the first place.

GaryBluto 7 hours ago||||
I don't see what checking a file system has to do with anything either.
sph 10 hours ago||||
They really can't help themselves showing how they didn't put any effort doing a thing.
pedrosorio 9 hours ago||
Yeah, OP is famous for never having put effort into anything, just an AI shill /s

https://en.wikipedia.org/wiki/Salvatore_Sanfilippo

This whole thread is hilarious.

nutjob2 9 hours ago|||
You may not be interested in AI, but AI is interested in you.
mixmastamyk 8 hours ago||
I use that phrase with "done with Microsoft," but it fits well here too!
fuckinpuppers 3 hours ago|||
Linode is going to lose my business in the next couple months as well. Been there over a decade, have referred countless customers to them, but they’ve kept bumping up prices over and over and I can get a dedicated server at Hetzner or other places with 8x the memory, dedicated NVMe disks, dedicated CPU for cheaper.

Sure you lose a little of the benefit of a “virtual” server which can be migrated but Hetzner’s support has always been super fast and capable, should I wind up in a situation where I’ve got downtime.

drewnick 4 hours ago|||
I too, am bravely using Claude for more DevOps. I run all of my virtual machines on proxmox atop bare metal servers I own and I’m just blown away at how quickly Claude can optimize and set up entire new networks across all of these machines. Truly feels like a coworker or well paid sysadmin.
qudat 9 hours ago|||
I’ve been experimenting with letting a local agent manipulate my remote servers using https://bower.sh/zmx-ai-portal

What’s exciting is how simple cli tools can be so impactful to dev workflows

oulipo2 7 hours ago|||
Sure, and then you realize it deleted the db to "simplify the migration" lol

Obviously I agree that AI can be useful to write boilerplate, but it's in no way something you should use blindly when trying to do a migration or anything touching prod

So, to be more precise: no, "Claude Code didn't migrate it all". Claude Code helped you write boilerplate so that you could migrate

zephen 6 hours ago|||
Claude gave him the courage to do the migration.

And, recent research suggests that anthropomorphization may actually be positively correlated with intelligence.

jgalt212 4 hours ago|||
> Today complex migrations are much simpler to perform, which, I believe, will increase the mobility across providers a lot.

Syntax did a nice episode on this topic recently. They went over where it works well, and where it does not work well.

https://syntax.fm/show/992/migrating-legacy-code-just-got-ea...

cyanydeez 9 hours ago|||
Now imagine you can do that with a local model. You're basically breaking lockin on _Every_ end. Simply beautiful. A digital guillotine for the digital elite!
m00dy 10 hours ago||
yeah, everything is about to be repriced.
dabinat 6 hours ago||
I’m formulating plans to switch from AWS to Hetzner. Amazon gets you by charging high prices (sometimes 20x more than competitors) and forcing you to make long-term commitments in order to get the prices to somewhere more reasonable. Then they make it exorbitantly expensive to migrate your data anywhere else. It’s a very customer-hostile approach that I’m tired of at this point.

Amazon might think that they’re locking people in with the egress fees. But they’re also locking people out. As soon as you switch one part to a competitor, the high egress forces you to switch over everything.

It’s going to be complicated to switch, but it’s made easier by the fact that I didn’t fall into the trap of building my platform on Amazon-specific services.

boulos 6 hours ago|
This used to be true, but GCP forced their hand in January of 2024 with https://cloud.google.com/blog/products/networking/eliminatin...

AWS matched a few months later:

https://aws.amazon.com/blogs/aws/free-data-transfer-out-to-i...

I'm not trying to convince you to stay (I work for neither anymore!), just wanted to note that you can technically request a waiver. I'm not sure how this works in practice though. Like, if you want to leave Athena and move to something on-premise is that enough to have just that workload? Maybe!

Edit: I also didn't follow this at the time, but the AWS wording suggests that the "EU Data Act" is also involved.

tailscaler2026 5 hours ago|||
AWS DTO is a complete lie.

This doesn't actually work as advertised. I attempted free data egress from AWS in December. It took them 31 days to respond to my initial ticket. At which point they gave me a multi-page questionnaire to determine eligibility and they also told me I could not begin DTO until 60 days had passed from approval of the questionnaire.

By the time I was allowed "free egress" my cumulative S3 storage charges over the prior 100 days would have roughly matched the cost of egress if I just did so originally.

I'm in the US so the EU Data Act protections don't apply.

dwedge 5 hours ago|||
Have you tried to use the DTO? I did. They make you fill in a form saying you'll migrate all services (despite the blog post saying that isn't necessary), and then they take up to 12 weeks to make a decision. In my case they rejected it on a formality after 2 weeks and said to try again (the timer starts again).

So in my case that would have been 14 weeks plus the time to migrate away. The egress costs are equivalent to around 17 weeks storage cost. So you save around 1c/gb if they don't find some reason to reject it.

mariopt 9 hours ago||
Every time I see this kind of article, no one really bothers about sb/server redundancy, load balancers, etc. are we ok with just 1 big server that may fail and bring several services down?

You saved a lot of money but you'll spend a lot of time in maintenance and future headaches.

grey-area 9 hours ago||
It depends on the service and how critical that website is.

Sometimes it's completely acceptable that a server will run for 10 years with say 1 week or 1 month of downtime spread over those 10 years, yes. That's the sort of uptime you can see with single servers that are rarely changed and over-provisioned as many on Hetzner are. Some examples:

Small businesses where the website is not core to operations and is more of a shop-front or brochure for their business.

Hobby websites too don't really matter if they go down for short periods of time occasionally.

Many forums and blogs just aren't very important too and downtime is no big deal.

There are a lot of these websites, and they are at the lower end of the market for obvious reasons, but probably the majority of websites in fact, the long tail of low-traffic websites.

Not everything has to be high availability and if you do want that, these providers usually provide load balancers etc too. I think people forget here sometimes that there is a huge range in hosting from squarespace to cheap shared hosting to more expensive self-hosted and provisioned clouds like AWS.

rzz3 9 hours ago|||
What struck me though is that OP did so much work to migrare the server with zero downtime. The _single_ big server. Something’s off here.
grey-area 9 hours ago|||
Well why have downtime if you can avoid it with a bit of work?

But I do agree the poster should think about this. I don't think it's 'off' or misleading, they just haven't encountered a hardware error before. If they had one on this single box with 30 databases and 34 Nginx sites it would probably be a bad time, and yes they should think about that a bit more perhaps.

They describe a db follower for cutover for example but could also have one for backups, plus rolling backups offsite somewhere (perhaps they do and it just didn't make it into this article). That would reduce risk a lot. Then of course they could put all the servers on several boxes behind a load-balancer.

But perhaps if the services aren't really critical it's not worth spending money on that, depends partly what these services/apps are.

nine_k 7 hours ago||
Besides, "Migrated 34 websites in one go with zero downtime" looks good on a resume, and is actually a useful skill.
anticorporate 8 hours ago||||
I run internal services on DO that I've considered moving to Hetzner for cost savings.

Could I take it down for the afternoon? Sure. Or could I wait and do it after hours? Also sure. But would I rather not have to deal with complaints from users that day and still go home by 5pm? Of course!

BorisMelnik 9 hours ago||||
to be fair a lot of ppl still run this way and just have really good backups, or have an offline / truly on-prep server where they can flip the dns switch in case of true outage.
grey-area 9 hours ago||
Yes and for many services that is totally fine. As long as you have backups of data and can redeploy easily. It's not how I personally do things usually but there is definitely a place for it.
chairmansteve 9 hours ago||||
Good point. I run single big servers. But I can bring them down every weekend for the entire weekend if I need to.
j45 9 hours ago|||
There is software that can help a lot.

Also, in general, you can architect your application to be more friendly to migration. It used to be a normal thing to think about and plan for.

VMware has a conversion tool that converts bare metal into images.

One could image, then do regular snapshots, maybe centralize a database being accessed.

Sometimes it's possible to create a migration script that you run over and over to the new environment for each additional step.

Others can put a backup server in between to not put a load on the drive.

Digital Ocean makes it impossible to download your disk image backups which is a grave sin they can never be forgiven for. They used to have some amount of it.

Still, a few commands can back up the running server to an image, and stream it remotely to another server, which in turn can be updated to become bootable.

This is the tip of the iceberg in the number of tasks that can be done.

Someone with experience can even instruct LLMs to do it and build it, and someone skilled with LLMs could probably work to uncover the steps and strategies for their particular use case.

wild_egg 8 hours ago||||
A week of downtime every decade I think still works out to a higher uptime than I've been getting from parts of GitHub lately. So I'd consider that a win.
j45 9 hours ago||||
Respectfully, this type of "high availability" strawman is a dated take.

This is a general response to it.

I have run hosting on bare metal for millions of users a day. Tens of thousdands of concurrent connections. It can scale way up by doing the same thing you do in a cloud, provision more resources.

For "downtime" you do the same thing with metal, as you do with digital ocean, just get a second server and have them failover.

You can run hypervisors to split and manage a metal server just like Digital Ocean. Except you're not vulnerable to shared memory and cpu exploits on shared hosting like Digital Ocean. When Intel CPU or memory flaws or kernel exploits come out like they have, one VM user can read the memory and data of all the other processes belonging to other users.

Both Digital Ocean, and IaaS/PaaS are still running similar linux technologies to do the failover. There are tools that even handle it automatically, like Proxmox. This level of production grade fail over and simplicity was point and click, 10 years ago. Except no one's kept up with it.

The cloud is convenient. Convenience can make anyone comfortable. Comfort always costs way more.

It's relatively trivial to put the same web app on a metal server, with a hypervisor/IaaS/Paas behind the same Cloudflare to access "scale".

Digital Ocean and Cloud providers run on metal servers just like Hetzner.

The software to manage it all is becoming more and more trivial.

nh2 5 hours ago|||
While I generally agree, this is an exaggeration:

> This level of production grade fail over and simplicity was point and click, 10 years ago.

While some of the tools are _designed_ for point and click, they don't always work. Mostly because of bugs.

We run Ceph clusters under our product, and have seen a fair share of non-recoveries after temporary connection loss [1], kernel crashes [2], performance degradations on many small files, and so on.

Similarly, we run HA postgres (Stolon), and found bugs in its Go error checking cause failure to recover from crashes and full-disk conditions [3] [4]. This week, we found that full-disk situations will not necessarily trigger failovers. We also found that if DB connections are exhausted, the dameon that's supposed to trigger postgres failover cannot connect to do that (currently testing the fix).

I believe that most of these things will be more figured out with hosted cloud solutions.

I agree that self-hosting HA with open-source software is the way to. These softwares are good, and the more people use them, the less bugs they will have.

But I wouldn't call it "trivial".

If you have large data, it is also brutally cheaper; we could hire 10 full-time sysadmins for the cost of hosting on AWS, vs doing our own Hetzner HA with Free Software, and we only need ~0.2 sysadmins. And it still has higher uptime than AWS.

It is true that Proxomox is easy to setup and operate. For many people it will probably work well for a long time. But when things aren't working, it's not so easy anymore.

[1]: "Ceph does not recover from 5 minute network outage because OSDs exit with code 0" - https://tracker.ceph.com/issues/73136

[2]: "Kernel null pointer derefecence during kernel mount fsync on Linux 5.15" - https://tracker.ceph.com/issues/53819

[3]: https://github.com/sorintlab/stolon/issues/359#issuecomment-...

[4]: https://github.com/sorintlab/stolon/issues/247

grey-area 9 hours ago||||
I'm not arguing for cloud or against bare metal hosting, just saying there is a broad range of requirements in hosting and not everyone needs or wants load balancers etc - it clearly will cost more than this particular poster wants to pay as they want to pay the bare minimum to host quite a large setup.
semcheck 4 hours ago|||
[dead]
jijijijij 9 hours ago|||
I feel like 95% of the web falls into this category. Like, have you ever said "That's it, I am never gonna visit this page again!", because of temporary downtime? Unless you are Amazon and every minute costs you bazillions, you are likely gonna get the better deal not worrying about availability and scalability. That 250€/m root server is a behemoth. Complete overkill for most anything. As a bonus, you are gonna be half the internet, when someone at AWS or Cloudflare touches DNS.
coryrc 8 hours ago|||
Exactly. I've never not bought something because the website was temporarily down. I've even bought from b&h photo!

Even if Amazon was down, if I was planning to buy, I'd wait. heck, I got a bunch of crap in my cart right now I haven't finished out.

Intentional downtime lets everyone plan around it, reduces costs by not needing N layers of marginal utility which are all fragile and prone to weird failures at times you don't intend.

jijijijij 8 hours ago||
For me at least, the only thing where availability really matters is main personal communication services. If Signal was down for an hour, I'd be a little stressed. Maybe utilities like public transportation, too, but that's because I now have to do that online.

> Intentional downtime lets everyone plan around it, reduces costs by not needing N layers of marginal utility which are all fragile and prone to weird failures at times you don't intend.

Quite frankly, I would manage if things were run "on-supply" with solar and would just go dark at night.

Aurornis 9 hours ago||||
> Like, have you ever said "That's it, I am never gonna visit this page again!", because of temporary downtime?

That's a strawman version of what happens.

There have been times when I've tried to visit a webshop to buy something but the site was broken or down, so I gave up and went to Amazon and bought an alternative.

I've also experienced multiple business situations where one of our services went down at an inconvenient time, a VP or CEO got upset, and they mandated that we migrate away from that service even if alternatives cost more.

If you think of your customers or visitors as perfectly loyal with infinite patience then downtime is not a problem.

> Unless you are Amazon and every minute costs you bazillions, you are likely gonna get the better deal not worrying about availability and scalability. That 250€/m root server is a behemoth. Complete overkill for most anything.

You don't need every minute of downtime to cost "bazillions" to justify a little redundancy. If you're spending 250 euros/month on a server, spending a little more to get a load balancer and a pair of servers isn't going to change your spend materially. Having two medium size servers behind a load balancer isn't usually much more expensive than having one oversized server handling it all.

There are additional benefits to having the load balancer set up for future migrations, or to scale up if you get an unexpected traffic spike. If you get a big traffic spike on a single server and it goes over capacity you're stuck. If you have a load balancer and a pair of servers you can easily start a 3rd or 4th to take the extra traffic.

jijijijij 8 hours ago||
> There have been times when I've tried to visit a webshop to buy something but the site was broken or down, so I gave up and went to Amazon and bought an alternative.

Great. So how much did the webshop lose in that hour of maintenance (which realistically would be in the middle of the night for their main audience) and how much would they have paid for redundancy? Also a bit hard to believe you repeatedly ran into the situation of an item sold at a self-hosted webshop and Amazon alike. Are you sure they haven't just messed up the web dev biz? You could totally do that with AWS too...

> If you're spending 250 euros/month on a server, spending a little more to get a load balancer and a pair of servers isn't going to change your spend materially.

Of course, but that's not the argument. It's implied you can just double the 250€/m server for redundancy, as you would still get an offer at the fraction of cloud prices. But really that server needs no more optimization in terms of hardware diversification. As I said, it's complete overkill. Blogs and forums could easily be run on a 30€/m recycled machine.

thelastgallon 8 hours ago|||
> Like, have you ever said "That's it, I am never gonna visit this page again!"

Spot on! People still go to Chick-fil-A, even if they are closed on Sundays!

Aurornis 9 hours ago|||
These articles are popular where there's a mismatch between application requirements and the solution chosen. When someone over-engineers their architecture to be enterprise-grade (substitute your own definition of enterprise-grade) when really they were running a hobby project or a small business where a day of downtime every once in a while just means your customers will come back the next day, going all-out on cloud architecture is maybe not necessary. That's why you see so many comments from people arguing that downtime isn't always a big deal or that risking an outage is fine: There are a lot of applications where this is kind of true.

The confusing part about this article is the emphasis on a zero-downtime migration toward a service that isn't really ideal for uptime. It wouldn't be that expensive to add a little bit of architecture on the Hetzner side to help with this. I guess if you're doing a migration and you're paid salary or your time is free-ish, doing the migration in a zero downtime way is smart. It's a little funny to see the emphasis on zero downtime juxtaposed to the architecture they chose where uptime depends on nothing ever failing

j45 9 hours ago||
Downtime is a strawman.

Clever architecture will always beat cleverly trying to pick only one cloud.

Being cloud agnostic is best.

This means setting up a private cloud.

Hosted servers, and managed servers are perfectly capable of near zero downtime. this is because it's the same equipment (or often more consumer grade) that the "cloud" works on and plans for even more failure.

Digital Ocean definitely does not guarantee zero downtime. That's a lot of 9's.

It's simple to run well established tools like Proxmox on bare metal that will do everything Digital Ocean promises, and it's not susceptible to attacks, or exploits where the shared memory and CPU usage will leak what customers believe is their private VPS.

Nothing ever failing in the case of a tool like Proxmox is, install it on two servers, one VPS exists on both nodes (you connect both servers as nodes), click high availability, and it's generally up and running. Put cloudflare in front of it like the best preference practices of today.

If you're curious about this, there's some pretty eye opening and short videos on Proxmox available on Youtube that are hard to unsee.

nine_k 6 hours ago||
Sadly, hardware breaks. You still need a working backup and a working failover plan, even if it's just setting up a new server and running your Terraform / Pulumi / Saltstack scripts.
j45 5 hours ago||
I'm not sure if you read my post.

When you have 2 nodes running, both are mirrored and running, one can have hardware break.

Also, hardware can provide failure notifications before it breaks, and experience teaches to just update and upgrade before hard drives break.

Since tools like proxmox just add a node, you add new hardware, mark the VM for that node to mirror, and it is taken care of.

Terraform etc can sit below Proxmox and alleviate what you're speaking about:

Some examples: https://www.youtube.com/watch?v=dvyeoDBUtsU

nine_k 2 hours ago||
Indeed, I missed the "two servers" part; a two-node mirrored config is what I suggested myself elsewhere in the thread. It's still much less expensive than anything comparable in the cloud.
chillfox 9 hours ago|||
A lot of things don't need that.

Also, don't underestimate the reliability of simplicity.

I was a Linux sysadmin for many years, and I have never seen as much downtime from simpler systems as I routinely see from the more complicated setups. Somewhere between theory and reality, simpler systems just comes out ahead most of the time.

wiether 9 hours ago|||
To be fair they were using a single VM on DigitalOcean, so they didn't had the perks of a cloud provider, except maybe the fact that a VM is probably more fault-tolerant than a bare metal server.

Usually those articles describe two situations:

  - they were "on the cloud" for the wrong reasons and migrating to something more physical is the right approach
  - they were "on the cloud" for the right reasons and migrating to something more physical is going to be a disaster
Here they appear to be in the first situation. If their setup was running fine on DO and they put the right DR policies in place at Hetzner, they should be fine.
daneel_w 9 hours ago|||
They may be making this decision based on a long history of, in fact, never really having run into "a lot of time in maintenance and future headaches".
VorpalWay 9 hours ago||
To be fair, I migrated a VPS from Linode to Hetzner a few years ago. Minor downtime is a non-issue: personal website and email server. I approximately halved the monthly cost, and I haven't had any downtime except what I caused myself when rebooting to upgrade the kernel every now and then.

As a bonus, Hetzner is European.

ahofmann 8 hours ago|||
In 20 years of hosting all kinds of web services, some of them serving over 200m requests per month, a crashing single server was twice a problem.

Dealing with over engineered bullshit, that behaved in strange ways that disrupted the service was far more often a problem.

So, yes, redundancy is something that can be left away, if you're comfortable to be responsible for fixing things at a Saturday morning.

jijijijij 7 hours ago||
People also tend underestimate how much compute these dedicated servers got, compared to cloud offerings, and what that feels like without 100 layers of management abstraction in-between. You are likely not going to ever choke a plenty-cored, funny-RAMed root server at a fraction of your cloud costs. This overkill resource estate can be the answer to a lot of scalability worries. It's always there, no sharing shit all.
supermatt 8 hours ago|||
They already were on "1 big server" (a single VPS at digital ocean) and moved to another "1 big server" (a managed server at hertzner).

They saved money and lost nothing.

Now, if they so wish, they could use a portion of that to increase redundancy - but that wasn't the point of the article.

pier25 6 hours ago|||
I don't know about Hetzner but with Upcloud and Vultr my single VPS setups have been more reliable than multiregion with redundancy setups with other providers like Fly.
stephenhuey 5 hours ago||
A few weeks ago, I tested deploying Rails apps to Hetzner and Vultr for the first time using Hatchbox to deploy Rails apps onto them. I'm still supporting clients on Heroku, but there are potential new projects in the coming months that I might deploy elsewhere. Render is decent in some cases, but you can get a lot of bang for your buck deploying on Vultr, and Hatchbox makes it easy to do, whether you have one instance or a cluster. Hatchbox also helps with putting multiple apps/domains on a single server, a concept I had to give up long ago on Heroku. I've thought about deploying to DO plenty of times over the years, but there was always Heroku, and if I had to find a new home for Rails 8, I think I'd skip it in favor of a more powerful Vultr server. Hatchbox can provision Postgres for you, but Vultr has managed Postgres which is appealing to me. Or if you're just using Sqlite with Rails 8, that's easy to do with Hatchbox but not on Render since Render has an ephemeral file system.
anurag 7 minutes ago||
Render lets you attach a disk to your app: https://render.com/docs/disks
neya 9 hours ago|||
I was thinking the same. A managed database is just set and forget pretty much. I do NOT miss the old times where I had to monitor my email from routine security checkups hoping my database didn't get hacked by some script kiddie accompanied by blackmail over email.
chalmovsky 9 hours ago|||
What are you running on it is the only question which matters, obviously you dont want air traffic control to go down but some app… So what if it goes down? Backup is somewhere else if you even need it anyway. Github has uptime less than 90% according to this: https://mrshu.github.io/github-statuses/ . And the world keeps turning. Obviously we should strive for better, but also lets please not continue making this uptime fetish out of it, for vast majority of the apps it absolutely doesnt fucking matter.
jdboyd 9 hours ago|||
DO doesn't do high availability droplets, and their migration policy is will try, if we detect poor health of server before it fails.

If someone starts thinking about redundancy and load balancers than DO's solution is rent a second similar sized droplet, and then add their load balancing service. If you do those things with Hetzner instead, you would still be spending less than you did with Digital Ocean.

Personally, what is keeping me on DO is that no single droplet I have is large enough to justify moving on its own, and I'm not prepared to deal with moving everything.

grebc 4 hours ago|||
Downtime happens in all different contexts of life that a web site/service being knocked offline is soo far down the priority list for most people.

It’s amusing that the US government can shutdown for days/weeks/months over budget reasons and there’s no adult discussions that take place about fixing the cause. Yet the latest HN demo that 100 people will use need all 9’s reliability and hundreds of responses.

littlecranky67 8 hours ago|||
To be fair, modern dedicated servers at hetzner have two power units, and come with a redundand ssd/hdd raid-1 config. AFAIK both ssd and power unit having hotplug capability, so in case either fails they can be replaced with zero downtime.

Given the downtimes we saw in the past year(s) (AWS, Cloudflare, Azure - the later even down several times), I would argue moving to any of the big cloud providers give you not much of a better guarantee.

I myself am a Hetzner customer with a dedicated vServer, meaning it is a shared virtual server but with dedicated CPUs (read: still oversubscribed, but some performance guarantee) and had zero hardware-based downtime for years [0]. I would guess their vservers are on similar redundant hardware where the failing components can be hotswapped.

[0] = They once within the last 3 years sent me an email that they had to update a router that would affect network connectivity for the vServer, but the notification came weeks in advance and lasted about 15 minutes. No reboot/hardware failure on my vServer though.

wg0 9 hours ago|||
If you have the setup within server fully scripted and automated (bash, pyinfra or ansible etc) and backups are in place then recovery isn't that hard. Downtime for sure maybe couple of hours for which you can point your DNS entries to a static page while you're restoring everything.

Not a bad tradeoff for 99.8% of shops out there.

ozim 9 hours ago|||
If you can restore from snapshot to a new instance on cloud provider having running second copy is waste of money.

I know people like FAANG LARPing. Not everyone has budget or need to run four nines with 24/7 and FAANG level traffic.

stephenhuey 3 hours ago|||
I already made a comment here about testing Hatchbox. You point it to your servers and it can set up a cluster and load balancer with a few button clicks.
PunchyHamster 9 hours ago|||
their original also run on single server ?

If you can tolerate few hours of downtime and some data rollback/loss, single server + robust backups can be viable strategy

squirrellous 6 minutes ago|||
I’d even argue that most things operated by tech doesn’t need 24x7x365 availability. If it’s about life-and-death, then yes make it super reliable and available. Otherwise, bring back scheduled downtime please.
timwis 9 hours ago|||
I wondered the same! FWIW I'm currently migrating from managed postgres to self-managed on hetzner with [autobase](https://autobase.tech/). Though of course for high availability it requires more than one server.
BorisMelnik 9 hours ago|||
I agree with you, even for the servers I am responsible for I always make decisions like putting db on supabase instead of local, hosting files on s3 with versioning/multi region etc. then of course come up with a backup and snapshot system.
Gud 9 hours ago|||
What time in maintenance? Hetzner has been rock solid for me.
pinkgolem 8 hours ago|||
Tbh, my one server paperless deployment has a higher uptime then most services.

If your scaling need is not that high, you can get very far with a single server

jgalt212 9 hours ago|||
Hetzner has cheap load balancers and VMs.
izacus 7 hours ago|||
I had like... less than 10 minutes downtime on Hetzner in years (funny enough, that makes my personal containers more reliable than productionized AWS and GCP deployments with their constant partial outages). So perhaps all that complexity (beyond maybe a backup container) isn't really necessary for companies where a bit of downtime doesn't really affect revenue?

Like, I know Leetcode tells otherwise, but most companies really don't need full FAANG stack with 99.999% uptime. A day of outage in a few years isn't going affect bottom lines.

ozim 2 hours ago||
Second that I wrote the same in my comment somewhere above.

LARPing as a FAANG is waste of money and lots of companies doesn’t even need 3 nines let alone 5ve.

surgical_fire 8 hours ago|||
The vast majority of services are actually alright with a little downtime here and there. In exchange, maintenance is a lot simpler with less moving parts.

People underestimate how far you can go with one or two servers. In fact, what I have seen in ky career is many examples of services that should have been running on one or two servers and instead went for a hugely complex microserviced approach, all in on Cloud providers and crazy requirements of reliability for a scale that never would come.

NicoJuicy 9 hours ago||
Depends on the app and how long downtime would take.

Deploying a new docker instance or just restoring the app from a snapshot and restoring the latest db in most cases is enough.

adamcharnock 10 hours ago||
This is something we've[0] done a number of times for customers coming from various cloud providers. In our case we move customers onto a multi-server (sometimes multi-AZ) deployment in Hetzner, using Kubernetes to distribute workloads across servers and provide HA. Kubernetes is likely a lot for a single node deployment such as the OP, but it makes a lot more sense as soon as multiple nodes are involved.

For backups we use both Velero and application-level backup for critical workloads (i.e. Postgres WAL backups for PITR). We also ensure all state is on at least two nodes for HA.

We also find bare metal to be a lot more performant in general. Compared to AWS we typically see service response times halve. It is not that virtualisation inherently has that much overhead, rather it is everything else. Eg, bare metal offers:

- Reduced disk latency (NVMe vs network block storage)

- Reduced network latency (we run dedicated fibre, so inter-az is about 1/10th the latency)

- Less cache contention, etc [1]

Anyway, if you want to chat about this sometime just ping me an email: adam@ company domain.

[0] https://lithus.eu

[1] I wrote more on this 6 months ago: https://news.ycombinator.com/item?id=45615867

jwr 8 hours ago||
> We also find bare metal to be a lot more performant in general

I measured this several years back and never looked at virtual servers again. Since CPU time isn't reserved (like RAM is), the performance is abysmal compared to real hardware.

https://jan.rychter.com/enblog/cloud-server-cpu-performance-...

brianwawok 9 hours ago|||
Moving around k8s deployments is really nice. Very little vendor lockin compared to many of the cloud things you can buy.

My entire stack is.. k8s, hosted Postgres, s3 type storage. I can always host my own Postgres. So really down to k8s and s3. I think hetzner has some kind of s3 storage but haven’t looked into, and I assume moving in 100 TB is a process….

spider-mario 8 hours ago|||
>HA

High availability, in case anyone else was wondering.

traceroute66 9 hours ago||
> Anyway, if you want to chat about this sometime just ping me an email:

Your post was reasonable until the spam tagline.

Not cool.

localhoster 6 hours ago||
Hard to read this article as it was written by Claude as a report after the migration that Claude did for you. If an llm helped you migrate and save this much money, kudos. But if you decide to write about it at least proof read it and remove redundant parts and llm storytelling.
smallpipe 6 hours ago|
It's so bad, I know no one reads the original post on here, but this one was painful
Ken_At_EM 6 hours ago||
Yeah, well be careful of Hetzner, I used to love them but I just migrated away. They just shut all all of our VMs over a $36 billing dispute. (~30 VMs we were using for our CI/CD pipeline) We provided them evidence with records of the payment in totality from our bank, they refused to look at it / discuss the dispute, even when we were communicating urgently and just ultimately shut off all our access. We're on Scaleway now.
jcrben 5 hours ago||
Their customer service is surprisingly hostile. I still use them tho since I'm using them for low stakes stuff
chris_engel 6 hours ago|||
Hm. Hetzners billing stuff is highly automated - but they usually give you about a month to pay your bill if the credit card payment failed for some reason.
antoniojtorres 6 hours ago||
Have had some hiccups with payments not going through myself that ended up in server IPs being restricted but they were very helpful on the phone and service was restored in about 30 minutes after the call. Decidedly not ideal but has been easily manageable since.
ljm 6 hours ago||
[flagged]
abustamam 6 hours ago||
I think it was "hetzner shut them down" over a 36 euro dispute
ljm 6 hours ago||
What company can't pay 36 euro and legislate it after?

Are hetzner in the wrong for denying service to clients in a deficit?

krd8ssb 6 hours ago||
They stated to have the bank statements showing everything was paid but the company refused to look at it. Sounds like they may not have been in a deficit but company refused to look at anything
edwinjm 4 hours ago||
Then pay it again and sort it out after. There’s a time to be right and there’s a time to be pragmatic.
abustamam 1 hour ago||
I agree, but it's not clear if the situation was "hey we paid, look at our docs" and hetzner was just like "no give us money" and they were like "no we're not paying", or if hetzner just shut them down without recourse.

Personally, if I knew they were gonna shut me down if I didn't pay before X date, I'd fight it up until X-2 days, pay it, then continue fighting (depends on the amount of). But it's not clear that OP was given such a deadline.

largbae 11 hours ago||
The migration sharing is admirable and useful teaching, thank you!

I see the DigitalOcean vs Hetzner comparison as a tradeoff that we make in different domains all day long, similar to opening your DoorDash or UberEats instead of making your own dinner(and the cost ratio is similar too).

I work in all 3 major clouds, on-prem, the works. I still head to the DigitalOcean console for bits and pieces type work or proof of concept testing. Sometimes you just want to click a button and the server or bucket or whatever is ready and here's the access info and it has sane defaults and if I need backups or whatnot it's just a checkbox. Your time is worth money too.

dividuum 11 hours ago||
Not sure if I understand what you’re trying to say, but Hetzner's Console works just like that too.
nine_k 10 hours ago|||
There are two interesting parts in the post.

One is about all the steps of zero downtime migration. It's widely applicable.

The other is the decision to replace a cloud instance with bare metal. It saves a lot in costs, but also the loss of fast failover and data backups is priced in.

If I were doing this, I would run a hot spare for an extra $200, and switched the primary every few days, to guarantee that both copies work well, and the switchover is easy. It would be a relatively low price for a massive reduction of the risk of a catastrophic failure.

dangero 9 hours ago||
The hot spare switchover idea is good. Another related idea: restore each from backup regularly.
locknitpicker 10 hours ago|||
> Sometimes you just want to click a button and the server or bucket or whatever is ready and here's the access info and it has sane defaults and if I need backups or whatnot it's just a checkbox. Your time is worth money too.

You're describing Hetzner Cloud, which has been like this for many years. At least 6.

Hetzner also offers Hetzner Cloud API, which allows us to not have to click any button and just have everything in IaC.

https://docs.hetzner.cloud/

petesergeant 10 hours ago|||
Coolify on a Hetzner server is giving me the one click service experience
andai 10 hours ago|||
https://xkcd.com/2948/
rmunn 10 hours ago||
Cute; I'd somehow missed ever seeing that one. The omitted con of electric engines (costs way more to build batteries than a gas tank so you're likely to have more expensive storage AND less of it) makes the XKCD joke miss. BUT... since there's probably something that Digital Ocean offers that Hetzner doesn't, that might actually be a very appropriate XKCD for the situation, precisely because there's a tradeoff the XKCD didn't mention. (I haven't used Hetzner so I don't know firsthand what the tradeoff is, but a quick search suggests Hetzner doesn't do Kubernetes so that might be the tradeoff for some people. Or it might be something else, everybody has their own situation).
faangguyindia 10 hours ago||
i've my own flyio style deploy built, where i just use API of digital ocean to roll out my service

i hardly ever visit their website, everything from terminal.

bth 6 hours ago||
A few months ago, I looked into AWS alternatives for my small SaaS side project. My main motivations were to save money and maybe support some EU cloud providers. At first, I planned to go with Hetzner and accepted that I would need to do a lot of things myself.

However, the dealbreaker for me was that Hetzner IPs have a bad reputation. At work, I learned that one of the managed AWS firewall rules blocks many (maybe all) of their IPs. I can’t even open a website hosted on a Hetzner IP from my work laptop because it’s blocked by some IT policy (maybe this is not an issue for you if you are using CloudFlare or similar).

I've read online that the DDoS protection is very bad as well.

So in the end, I picked DO App Platform in one of the EU regions. Having the option to use a managed DB was a big plus as well.

Maledictus 6 hours ago||
How convenient for Amazon to block a competitor this way :(
mmarian 6 hours ago|||
Not sure what firewall rules you're referring to, but I'm genuinely surprised to see DO being trusted more than Hetzner. I often see DO's ASN when looking at scrapers/hackers, so I'd say it's only a matter of time until they're blocked as well.
napolux 6 hours ago|||
DO IPs are way worse.

source: moved away from DO for this very reason.

TZubiri 5 hours ago|||
I wrote about this on a Tor thread.

https://news.ycombinator.com/item?id=47279518

It looks like Hetzner is Tor (and Tor adjacent) friendly, I suggested this might affect IP reputation, 2 users responded they had no IP reputation issues. But it looks like that wasn't quite the whole story

https://community.torproject.org/relay/community-resources/g...

It seems that Hetzner holds 7% of the Tor network. (if I understood the table right)

iririririr 4 hours ago|||
ironically, blocking aws and azure solved 99% of my bot problems. zero users affected.

so much that I'm thinking of selling nothing but an aws and azure blocker as a service.

Doohickey-d 11 hours ago||
What are you doing for DB backups? Do you have a replica/standby? Or is it just hourly or something like that?

Because with a single-server setup like this, I'd imagine that hardware (e.g. SSD) failure brings down your app, and in the case of SSD failure, you then have hours or days downtime while you set everything up again.

kro 11 hours ago||
Hetzner normally advertises their hardware servers as 2x 1 TB SSD, because it's strongly recommended to run them in SWraid1 for net 1TB. (Their image installer will default to that)

Once the first SSD fails after some years, and your monitoring catches that, you can either migrate to a new box, find another intermediate solution/replica, or let them hotswap it while the other drive takes on.

Of course though, going to physical servers loses redundency of the cloud, but that's something you need to price in when looking at the savings and deciding your risk model.

And yes, running this without also at least daily snapshotting/backup to remote storage is insane - that applies to cloud aswell, albeit easier to setup there.

faangguyindia 51 minutes ago|||
Do not rely on raid alone.

Have 2x servers atleast then invest in proper monitoring.

Server can fail without disk failures.

linsomniac 10 hours ago|||
For over a decade I ran a small scale dedicated and virtual hosting business (hundreds of machines) and the sort of setup you describe works very well. Software RAID across 2 devices, redundant power supplies, backups. We never had a significant data loss event that I recall (significant = beyond user accidentally removing files).

For quite a while we ran single power supplies because they were pretty high quality, but then Supermicro went through a ~6 month period where basically every power supply in machines we got during that time failed within a year, and replacements were hard to come by (because of high demand, because of failures), and we switched to redundant. This was all cost savings trade-offs. When running single power supplies, we had in-rack Auto Transfer Switches, so that the single power supplies could survive A or B side power failure.

But, and this is important, we were monitoring the systems for drive failures and replacing them within 24 hours. Ditto for power supplies. If you don't monitor your hardware for failure, redundancy doesn't mean anything.

iririririr 3 hours ago||
[dead]
hnthrow0287345 11 hours ago|||
It's possible no one will care much if it's down even for that long. I couldn't care less if my HOA mobile app was down even for a week for example. We don't need constant uptime for everything.
acdha 10 hours ago|||
Don’t forget that integrity matters as much as availability in many applications. You might not mind if your HOA takes time to bring a server back up but you’d care a lot more if they lost the financial records or weren’t able to recover from a ransomware attack.
izacus 5 hours ago||
Hetzner provides backups for VPS and machines across all tiers, which are very easy to set up.
wat10000 10 hours ago|||
I agree with the overall sentiment, but having an HOA app go down around the time when dues need to be paid could be a serious issue.
traceroute66 11 hours ago|||
> Because with a single-server setup like this, I'd imagine that hardware ...

Yeah. This blog post reads like it was written by someone who didn't think things through and just focused on hyper-agressive cost-cutting.

I bet their DigitalOcean vm did live migrations and supported snapshots.

You can get that at Hetzner but only in their cloud product.

You absolutely will not get that in Hetzner bare-metal. If your HD or other component dies, it dies. Hetzner will replace the HD, but its up to you to restore from scratch. Hetzner are very clear about this in multiple places.

treesknees 11 hours ago|||
For the price, they could buy an exact replica bare metal server and still save money.
traceroute66 11 hours ago|||
> they could

They could, but they didn't and instead they wrote that blog post which, even being generous is still kinda hard to avoid describing as misleading.

I would not have written the post I did if they had presented a multi-node bare-metal cluster or whatever more realistic config.

locknitpicker 10 hours ago||
> They could, but they didn't and instead they wrote that blog post which, even being generous is still kinda hard to avoid describing as misleading.

What do you feel was misleading?

wiether 9 hours ago|||
That they get the exact same level of service for $1,199 less per month.

They don't.

And reading the article, they don't seem to understand that.

traceroute66 9 hours ago|||
> What do you feel was misleading?

Erm. I already spelt it out in my original post ?

I'm not going to re-write it, the TL;DR is they are making an Apples and Oranges comparison.

Yes they "saved money" but in no way, shape or form are the two comparable.

The polite way to put is is .... they saved as much money as they did because they made very heavy handed "architectural decisions". "Decisions" that they appear to be unaware of having made.

Someone1234 10 hours ago|||
They could but then that exchanges cost savings for complexity. You now need to keep them in sync and it is double the cost.

I agree with the other poster, this is fine for a toy site or sites but low quality manual DR isn't good for production.

daneel_w 9 hours ago||||
Surely you must've noticed that pretty much all of their bare metal offerings ("dedicated" and the stuff on "auction") have multiple disks, allowing for various RAID configurations?
traceroute66 7 hours ago||
> Surely you must've noticed that pretty much all of their bare metal offerings ("dedicated" and the stuff on "auction") have multiple disks, allowing for various RAID configurations?

I don't know where to start with this comment. Do I really need to spell out the difference between cloud and bare metal ?

A few examples...

    - Live migration ? Cloud only.
    - Snapshots ? Cloud only.
    - Want to increase disk space ?  Tick box in cloud vs. replace disks (or move to different machine) and re-install/restore in bare metal....
    - Want to increase RAM ? Tick box in cloud vs. shutdown, pull out of rack, install new chips (or move to different machine and re-install/restore)....
    - Want to upgrade to a beefier processor ? Tick box in cloud vs move to a completely different machine and re-install/restore
array_key_first 4 hours ago|||
You can get snapshots and live migrations working on-prem. The cloud isn't magic, it's just servers with hypervisors and software running on top of them. You can run that same software.

Also, with something like Hetzner you would not be going in and physically doing anything. You also just tick a box for a RAM upgrade, and then migrate over or do active/passive switch.

The cloud does have advantages, mostly in how "easy" it is to do some specific workflows, but per-compute it's at least 10x the cost. Some will argue it's less than that, but they forget to factor in just how slow virtual disks and CPU are. Cloud only makes sense for very small businesses, in which the operational cost of colocation or on-prem hosting is too expensive.

senko 7 hours ago|||
Well you did say your data is lost when a disk fails, which is not true. Parent pointed out that for you.

Yeah you pay for and get additional stuff with cloud. Nobody disputed that.

traceroute66 6 hours ago||
> Well you did say your data is lost when a disk fails, which is not true.

Well, technically its still a possibility.

I am old enough to have seen issues with RAID1 setups not being able to restore redundancy, as well as RAID controller failures and software RAID failures.

Also, frankly you are being somewhat pedantic. My broader point was regarding cloud. I gave HD Failure as one example, randomly selected by my brain ... I could have equally randomly chosen any of the other items ... but this time, my brain chose HD.

faangguyindia 10 hours ago|||
You can just run 3 dedicated servers and design your app so that it never fails.
andai 10 hours ago||
Can you elaborate? I'm coming up with similar designs recently (static site plus redundant servers) but my designs so far assume no database and ephemeral interactions. (Realtime multiplayer arcade games.)

Curious what the delta to pain-in-ass would be if I want to deal with storing data. (And not just backups / migrations, but also GDPR, age verification etc.)

faangguyindia 10 hours ago||
database isn't hard to have HA with, it's actually very easy to do any of this.

i already design with Auto Scale Group in mind, we run it in spot instance which tend to be much cheaper. Spot instances can be reclaimed anytime, so you need to keep this is kind.

I also have data blobs which are memory maped files, which are swapped with no downtime by pulling manifest from GCS bucket each hour, and swapping out the mmaped data.

i use replicas, with automatic voting based failover.

I've used mongo with replication and automative failover for a decade in production with no downtime, no data lost.

Recently, got into postgres, so far so good. Before that i always used RDS or other managed solution like Datastore, but they cost soo much compared to running your own stuff.

Healthchecks start new server in no time, even if my Hertzner server goes out or if whole Hertzer goes out, my system will launch digital ocean nodes which will start soaking up all requests.

faangguyindia 10 hours ago|||
The easiest I’ve done is in MongoDB replication, sharding, failover, and all that is super easy.

Recently, I did it in PostgreSQL using pg_auto_failover. I have 1 monitor node, 1 primary, and 1 replica.

Surprisingly, once you get the hang of PostgreSQL configuration and its gotchas, it’s also very easy to replicate.

I’m guessing MySQL is even easier than PostgreSQL for this.

I also achieved zero downtime migration.

acdha 10 hours ago||
Replication is not a backup. It helps for migrations or clean single node failures but not human error, corruption, or an attack.
kijin 10 hours ago||
If that's the tradeoff they're willing to make, who are you to say that they're doing it wrong?

Not every app needs 24/7 availability. The vast majority of websites out there will not suffer any serious consequences from a few hours of downtime (scheduled or otherwise) every now and then. If the cost savings outweigh the risk, it can be a perfectly reasonable business decision.

A more interesting question would be what kind of backup and recovery strategy they have, and which aspects of it (if any) they had to change when they moved to Hetzner.

Frannky 27 minutes ago|
I have been using hetzer for a few years now. I realized I just need a Linux VM and snapshots. It is so freeing to not have to deal with big tech's VMs and their cumbersome and soul-sucking steps and documentation.
More comments...