Migrating from DigitalOcean to Hetzner: From $1,432 to $233 With Zero Downtime

What happened
It has been reported that a Turkey-based software company migrated a full production stack from DigitalOcean to a Hetzner AX162‑R dedicated server and cut its monthly bill from $1,432 to $233. The numbers are stark: the old droplet reportedly had 192 GB RAM, 32 vCPUs and ~600 GB SSD plus two 1 TB volumes; the Hetzner machine lists 256 GB DDR5, an AMD EPYC 9454P (48 cores / 96 threads) and 1.92 TB NVMe RAID1. That’s roughly $1,199 in monthly savings — about $14,388 a year. Ouch. Or smart? Depends how you look at it.
The stack and the stakes
This was not a hobby project. It has been reported that the migration moved 248 GB of MySQL data across 30 databases, 34 Nginx virtual hosts, GitLab EE, a 30 GB Neo4j graph DB, and dozens of background workers and job queues — all while serving live mobile traffic. Allegedly, the apps reach hundreds of thousands of users. The move also solved a hidden problem: the old host ran CentOS 7, long past EOL, while the new server boots AlmaLinux 9.7 and brings current security patches. That combination of cost pressure (thanks to soaring inflation and a weak lira) and aging OS made the decision feel urgent.
The migration — no drama, six phases
They didn’t do a DNS flip and pray. Instead, the team executed a six‑phase plan: full stack install on the new server (matching Nginx compile flags, PHP configs, MySQL 8.0, Neo4j, GitLab EE, Node, Supervisor, Gearman), rsynced SSL certs and web files (about 65 GB, 1.5M files) with integrity checks and final incremental syncs, and set up MySQL master→slave replication using mydumper and binlog positions for a live sync. It has been reported that SSL was handled by copying /etc/letsencrypt and then force‑renewing certificates after cutover. The payoff? Allegedly zero downtime for end users.
Takeaway
This migration reads like a love letter to careful planning: test everything, mirror behavior, replicate databases, and don’t underestimate the humble rsync. Is it the end of the cloud era? Hardly. But for steady‑state workloads, it might be the moment to ask a painful question: are you renting convenience when raw hardware gives you more bang for your buck? If you’re on a similar renewal cycle, check the math. You might be surprised — and maybe a little sad at the money you’ve been tossing out the window.
Sources: isayeter.com, Hacker News
Comments