Welcome to HowToShipIt — practical how-to guides for developers: code, AI tools, and servers, explained step by step.

AWS vs Hetzner in 2026: An Honest Cost Comparison for Side Projects

If you are hosting a side project in 2026, the AWS vs Hetzner debate is probably the single biggest money decision you will make. The raw numbers are not close: a small virtual machine that costs you a few dollars a month on Hetzner can run into dozens of dollars on AWS for equivalent hardware. But the story got more interesting this year — Hetzner pushed through its largest price increase ever in June 2026, and the old “Hetzner is 5x cheaper, no contest” takes are now stale. Here is an honest, updated cost comparison for side projects, with the prices as they actually are today.

Pricing checked: 5 October 2026. Cloud prices move — treat this as a snapshot and verify before you commit.

AWS vs Hetzner: the short answer

For a typical side project — one or two virtual machines, a database, and modest traffic — Hetzner still wins on cost by a wide margin, usually 2–4x cheaper like-for-like. But the gap narrowed a lot in 2026, and there are real cases where AWS is the better choice: if you need its managed services (RDS, S3, CloudFront), multi-region latency, or a corporate invoice trail.

The lazy take (“Hetzner is always cheaper”) is still mostly true but sloppy. The honest answer is: Hetzner is cheaper for raw compute; AWS is worth paying for only when you actually use its ecosystem. Most side projects do not.

What changed in 2026: Hetzner’s price increase

On 15 June 2026, Hetzner raised cloud prices sharply. This was not a rounding adjustment — shared AMD CPX plans went up roughly 2.4x and dedicated CCX plans roughly 2.7x. The numbers, for Germany and Finland locations, excluding VAT:

PlanSpecsBefore June 2026After June 2026
CPX222 vCPU / 4 GB RAM / 80 GB NVMe€7.99€19.49
CPX324 vCPU / 8 GB RAM / 160 GB NVMe€13.99€35.49
CCX132 dedicated vCPU / 8 GB RAM / 80 GB NVMe€15.99€42.99
CX232 vCPU / 4 GB RAM / 40 GB NVMe€3.99€5.49

Those figures come from independent price trackers and deploy guides that logged the change the day it happened. The cheapest shared line (CX Gen3, e.g. CX23 at €5.49/month) barely moved and is still absurdly cheap — but note that Hetzner’s own cloud page marks the cost-optimised line as intermittently out of stock (“Currently not available”), so you may not be able to order the cheapest plans in every region.

Like-for-like: what a side project actually costs

Let us price a realistic side-project stack: one 2 vCPU / 4 GB server, one 4 vCPU / 8 GB server, 100 GB of block storage, and 1 TB of outbound traffic.

What you are buyingHetzner (EU)AWS EC2 (us-east-1)
2 vCPU / 4 GB RAM VM€5.49/mo (CX23) or €19.49/mo (CPX22)~$30.37/mo (t3.medium, on-demand)
4 vCPU / 8 GB RAM VM€35.49/mo (CPX32)~$60–70/mo (t3.xlarge on-demand, ~$0.0832/hr)
100 GB block storage~€5/mo~$8/mo (EBS gp3)
1 TB outbound trafficIncluded (20 TB allowance)~$90 (at ~$0.09/GB after 100 GB free)
Load balancer~€7.33/mo~$22.57/mo (ALB)

Two things stand out. First, bandwidth is where the economics diverge hardest. Hetzner includes a 20 TB monthly traffic allowance on its plans and charges roughly €1 per TB over that. AWS gives you about 100 GB free per account per month, then charges around $0.09/GB — that is about $90 per TB. If your side project serves media, video, large API responses, or build artefacts, AWS egress alone can exceed your entire Hetzner bill.

Second, the headline instance prices are closer than they used to be. CPX22 at €19.49 (Hetzner’s own US-dollar list price is $22.99) now sits within a dollar of DigitalOcean, Linode, and Lightsail at $24 for the same 2 vCPU / 4 GB configuration. The days of Hetzner being the runaway cheapest option on every tier are over — but for side projects, its cheapest CX line and the traffic allowance keep it ahead.

AWS Lightsail vs Hetzner: the honest comparison

A common mistake is comparing Hetzner’s cheapest line to EC2 on-demand. The fair AWS comparison for side projects is Lightsail, AWS’s flat-rate VPS product:

SpecHetzner CX23 / CPX22AWS Lightsail $5 planAWS Lightsail $24 plan
RAM4 GB (CX23) / 4 GB (CPX22)1 GB4 GB
vCPU2 (shared)1 (burstable)2
SSD40 GB / 80 GB NVMe40 GB80 GB
Transfer20 TB included1 TB5 TB
Price€5.49 / €19.49 per month$5/month$24/month

At the same $5 price point, Hetzner gives you 4x the RAM and double the CPU of Lightsail’s entry plan. Lightsail only wins if you want to stay inside the AWS ecosystem — spinning up RDS, S3, and CloudFront from the same account. For an indie developer with a Laravel, Next.js, or FastAPI app and a database, that integration is rarely worth the spec sacrifice.

The AWS costs that ambush side projects

Every AWS migration story you read hits the same beats. The compute price is only the beginning:

  • Egress fees. ~$0.09/GB outbound after the 100 GB free allowance. 1 TB of traffic is ~$90. On Hetzner it is inside the 20 TB included allowance.
  • NAT Gateway. Around $0.045/hour plus data processing charges — roughly $33–45/month before you move a byte. Easy to provision once for a side project and forget about until the bill arrives.
  • CloudWatch Logs. Log ingestion is cheap until it is not; one developer’s migration story lists $380/month in CloudWatch charges alone on a mid-size setup.
  • Forgotten resources. Unreleased Elastic IPs, orphaned snapshots, test CloudFront distributions. AWS billing is complex enough that unexplained line items are a genre of content now.

Hetzner’s billing model is the opposite: a flat monthly price per server, hourly-billed with a monthly cap. You see the price when you click the plan, and the bill matches. For a solo developer, that predictability has real value — it is one fewer thing eating attention.

When AWS is actually the right choice

Honesty cuts both ways. Pick AWS when:

  • You genuinely need managed services — RDS with automated backups and failover, S3 for object storage at scale, CloudFront for a global CDN. Hetzner now has S3-compatible object storage and managed PostgreSQL, but AWS’s managed ecosystem is deeper.
  • You need multiple regions with low latency. Hetzner has data centres in Germany, Finland, Singapore, and two US locations — fine for most side projects, but not the 30+ region footprint of AWS.
  • Your employer or clients require SOC 2 / HIPAA-friendly infrastructure or specific compliance certifications. Hetzner is ISO 27001 certified and GDPR-compliant as a German company, which covers EU needs, but enterprise compliance checklists usually say AWS.
  • You want spot instances or savings plans for elastic workloads. AWS spot pricing can cut a t3.medium to ~$11/month — if your workload survives interruptions. Side projects usually run 24/7 and do not.

Notice what is missing from that list: “because it is more reliable.” Hetzner offers a 99.9% uptime SLA with 24/7 support, and developer benchmarks consistently find Hetzner’s price-to-performance among the best in the VPS market. For a side project, uptime is not the differentiator.

When Hetzner is the right choice

Pick Hetzner when your stack is one or a few always-on servers — a monolith, a Docker Compose setup, a Coolify or Dokploy box, a database server. If you can describe your infrastructure as “the app, the DB, and backups,” you do not need a hyperscaler. Independent write-ups of production migrations consistently land in the same place: a full production footprint (API, frontend, Postgres, observability) running under €10/month on a single Hetzner machine with a volume attached.

Also pick Hetzner when you are comfortable with Linux. Hetzner is aimed at experienced users: full server control, powerful hardware, fair prices — and you do the patching, the firewall rules, and the backups yourself. If you want someone else to run Postgres, that is a legitimate reason to stay on AWS.

Migrating from AWS to Hetzner: a practical checklist

If the math lands on Hetzner, here is the order that keeps the migration boring:

  • Audit your AWS bill first. Open Cost Explorer, group by service, and find what you actually use. Most side projects discover they need a fraction of what is running.
  • Spin up the Hetzner server with the CLI — it takes under a minute:
    hcloud server create --name app --type cx23 --image ubuntu-24.04 --location nbg1
  • Move the data with rsync, not by re-uploading:
    rsync -avz --progress /var/www/ root@NEW_IP:/var/www/
    Databases go via pg_dump/mysqldump and restore — test the restore before you switch DNS.
  • Replicate the essentials: firewall rules (Hetzner’s stateful firewall is free — use it), automated backups (add a snapshot schedule or off-site rsync; Hetzner snapshots are billed separately), and SSL (Caddy or Nginx + Let’s Encrypt).
  • Run both in parallel for a week with a small share of traffic, then cut DNS over and keep the AWS instances for one billing cycle as a rollback net.

Developers who have documented real migrations report the cutover itself taking a few hours for a small footprint. The billing payoff is usually immediate because Hetzner’s hourly billing with a monthly cap means you only pay for what runs.

The verdict

For side projects in 2026, Hetzner is still the cost winner — roughly 2–4x cheaper than AWS for equivalent always-on compute, with dramatically cheaper bandwidth. The June 2026 price increase narrowed the gap and killed the old “10x cheaper” framing, so anyone quoting pre-June numbers is misleading you.

AWS earns its premium only when you use what makes it AWS: managed services, global regions, compliance paper trails, and elastic pricing models. If your side project is an app, a database, and some backups on one machine — which describes most side projects — you are paying the hyperscaler premium for a badge, not a feature.

Pick the boring option: a Hetzner CX or CPX box, Docker Compose or Coolify, and spend the money you saved on your domain renewal.

Further Reading & References

Leave a Comment