AWS to Hetzner migration
An AWS to Hetzner migration moves your containers, databases and files from AWS to Hetzner servers in Germany or Finland. For a typical containerized app it takes a few weeks, typically cuts the monthly bill by more than half, and works best when your app runs on EKS, ECS or EC2 with Postgres or MySQL and S3. Rehome Stack does it for a fixed price agreed before work starts, with your old AWS setup kept live for 30 days as a rollback.
Updated 3 December 2026 · By Devendra Variya, HashiCorp Terraform certified
AWS services and their European equivalents
| AWS | Hetzner | Scaleway |
|---|---|---|
| EKS (Kubernetes) | Kubernetes we set up and run on Hetzner Cloud (k3s or Talos) | Kapsule (managed Kubernetes) |
| EC2 / ECS | Hetzner Cloud or dedicated servers | Instances |
| RDS Postgres / MySQL | Postgres or MySQL with replicas and point-in-time backups, run by us | Managed Database for PostgreSQL / MySQL |
| S3 | Hetzner Object Storage (S3-compatible) | Object Storage (S3-compatible) |
| ALB / NLB | Hetzner Load Balancer | Load Balancer |
| ECR | Harbor, or your GitHub / GitLab registry | Container Registry |
| CloudWatch | Prometheus, Grafana and Loki | Cockpit |
| Secrets Manager | Vault or SOPS-encrypted secrets | Secret Manager |
| Lambda, DynamoDB, Step Functions | Not a fit for a straight migration: we flag it in the free scan and quote a rebuild only if it still pays off. | Not a fit for a straight migration: we flag it in the free scan and quote a rebuild only if it still pays off. |
Where the AWS bill actually goes
Most AWS bills are driven by a few line items that do not exist on Hetzner, or cost far less there:
- Data transfer out: AWS charges per GB that leaves its network. Hetzner includes 20 TB of traffic a month per cloud server in the EU.
- NAT gateways: billed per hour and per GB processed on AWS. On Hetzner, private networks and a small gateway server replace them.
- Managed database premiums: RDS costs several times the price of the same CPU and memory on a Hetzner server running Postgres.
- EKS control plane and node overhead: a fixed fee per cluster, plus EC2 nodes priced well above equivalent Hetzner servers.
How the migration runs
- Free cost scan: you send a bill export, we price the same setup on Hetzner and Scaleway.
- Exit plan (€690, credited if you migrate): inventory, lock-in risks, target architecture, schedule and fixed quote.
- Build: the new environment is written in Terraform, so it is reviewable and repeatable.
- Data sync: Postgres logical replication or MySQL replication keeps the new database in sync while AWS stays live. Files sync from S3 with rclone.
- Cut-over: scheduled in your quiet hours, with DNS switched last. AWS stays untouched for 30 days in case you need to switch back, with a reverse sync to the old database on request so a rollback loses no data.
Getting AWS to waive the exit fees
AWS waives data transfer out charges for customers who move all their data off AWS. You request it through AWS Support before you start. Outside the EU the move has to finish within 180 days, and EU customers switch under the AWS EU Data Act Addendum. We prepare the request and plan the data move to fit inside it.
Frequently asked questions
How much can I save moving from AWS to Hetzner?
Typical containerized setups land at 40 to 60 percent of their AWS cost on public list prices. A €4,000 a month AWS bill comes to about €1,630 on Scaleway with managed Kubernetes and Postgres. Hetzner is often cheaper, but it raised prices in June 2026 and some server types cannot be ordered right now, so your free scan prices it against what is actually available.
Does Hetzner have managed Kubernetes or managed databases?
Not in the AWS sense. We set up and run Kubernetes and Postgres or MySQL on Hetzner for you as part of managed ops, or move you to Scaleway if you want provider-managed services.
Will there be downtime?
Databases are kept in sync with replication until cut-over, so the switch usually takes minutes and is scheduled in your quietest hours.
Can we go back to AWS?
Yes. Your AWS setup stays in place for 30 days after cut-over, and switching back is a DNS change. Data written after cut-over only exists on Hetzner, so if you want to roll back without losing it, we keep a reverse sync to your AWS database running for those 30 days. It is optional and quoted separately. You keep paying AWS for those 30 days.
Sources
Related guides
- Azure to European cloud migration
- Google Cloud to European cloud migration
- EU Data Act cloud switching rules, explained
See pricing and how a migration runs.