Hetzner vs Azure (2026): The Honest Price Comparison

The short answer: for indie developers and small teams comparing Hetzner vs Azure, Hetzner is still the cheap Azure alternative for generic Linux workloads, even after Hetzner's June 15, 2026 price increase. As of July 2026, a Hetzner CX43 (8 shared vCPU, 16 GB RAM, 160 GB NVMe, 20 TB traffic) is €15.99/month; Azure's closest size, D4s_v5 (4 vCPU, 16 GB RAM), is ~$140/month before disks and bandwidth. The killer difference is egress: Hetzner includes 20 TB and charges ~€1/TB after; Azure meters at $0.087/GB (~$87/TB) after 100 GB free. Azure genuinely wins on compliance, managed services, and global regions — details below.

First, the thing most comparisons haven't caught up with: Hetzner raised prices in June 2026

We'd rather tell you this ourselves than have you find it at checkout. Effective June 15, 2026, Hetzner adjusted cloud pricing for new orders and rescales. The shared-vCPU CX line went up modestly, roughly 1.3–1.4x (CX23 from €3.99 to €5.49). The CPX and dedicated-vCPU CCX lines went up hard, 2.1–2.75x: CCX13 jumped from €15.99 to €42.99, CCX23 from €31.49 to €85.99. Existing servers keep their old price until you rescale them.

Two consequences for this comparison. One: our original headline framing ("€24 CCX23 vs $160 Azure") is dead — that CCX23 price no longer exists for new orders. Two: the value story has shifted within Hetzner. The shared CX line is now clearly where the price-performance lives, and the dedicated CCX line is only ~1.5x cheaper than Azure's D-series instead of ~6x. Every number below is the post-increase price, verified as of July 2026. Older "Hetzner vs Azure" articles quoting pre-June prices are wrong.

Price for price: Hetzner Cloud vs Azure VMs (as of July 2026)

Hetzner prices are net EUR (ex-VAT, ex-IPv4) for Germany/Finland locations. Azure prices are East US, Linux, pay-as-you-go at ~730 hours/month, compute only — Azure bills OS disks and bandwidth separately, Hetzner includes both. All Azure links on this page are plain links; we don't earn anything on Azure.

Workload sizeHetzner (EU, net €)Azure (East US, PAYG)Gap
2 vCPU / 4 GB (entry web app) CX23 — €5.49 (2 shared vCPU, 40 GB NVMe, 20 TB traffic) B2s — ~$30 ($0.0416/hr, burstable) ~5x
2 vCPU / 8 GB CX33 — €8.49 (4 shared vCPU, 80 GB NVMe, 20 TB) B2as_v2 — ~$55 · D2s_v5 — ~$70 ~6-8x
4-8 vCPU / 16 GB (app or DB server) CX43 — €15.99 (8 shared vCPU, 160 GB NVMe, 20 TB) D4s_v5 — ~$140 ($0.192/hr) ~8x
16 vCPU / 32 GB CX53 — €29.49 (320 GB NVMe, 20 TB) D8s_v5 — ~$280 ($0.384/hr) ~9x
Dedicated 2 vCPU / 8 GB CCX13 — €42.99 (dedicated AMD, 80 GB NVMe, 20 TB) D2s_v5 — ~$70 + disk ~1.8x
Dedicated 4 vCPU / 16 GB CCX23 — €85.99 (dedicated AMD, 160 GB NVMe, 20 TB) D4s_v5 — ~$140 + disk ~1.5x

Three footnotes that matter. First, Azure's B-series is burstable: it accrues CPU credits and throttles when they run out, so it's only comparable to Hetzner's shared line for genuinely idle-most-of-the-time workloads. Second, Azure's quoted price excludes the OS disk — a 128 GB Premium SSD (P10) adds about $20/month per VM in East US, while every Hetzner plan includes local NVMe. Third, Azure gets meaningfully cheaper if you commit: 1-year reservations save roughly a third, 3-year around half. Hetzner has no commitment pricing; the sticker is the price.

Location matters more than it used to

Hetzner's headline value is concentrated in its EU locations (Falkenstein, Nuremberg, Helsinki). The cheap CX line is Germany/Finland only. In the US (Ashburn, Hillsboro) you're limited to CPX and CCX plans at higher US prices — after June 15, a US CPX11 (2 vCPU, 2 GB) is €17.49 and a US CCX13 is €43.49 — and US servers include only 1 TB of traffic (then ~€1/TB). Singapore is pricier still (CCX13 at €53.99, CPX22 at €26.49) with just 0.5 TB included and €7.40/TB overage. The honest read: Hetzner's US and Singapore regions are still cheaper than Azure for compute, but the blowout-value region is Europe. If your users are in the EU/US and you front the origin with a CDN, that's fine; if you need Sydney or Mumbai, Hetzner simply isn't there.

The killer difference: egress pricing

Compute pricing gets the headlines, but bandwidth is where hyperscaler bills actually explode. Azure gives every account 100 GB of free internet egress per month, then meters: in US/EU regions it's $0.087/GB for the first 10 TB, $0.083/GB for the next 40 TB (Asia-Pacific regions start at $0.12/GB). Hetzner's EU cloud servers include 20 TB of outbound traffic in the plan price, with overage at roughly €1/TB. Inbound is free on both.

Monthly egressHetzner (EU server)Azure (US/EU region)
1 TB / month €0 (inside the 20 TB allowance) ~$80 (924 GB billed at $0.087/GB after 100 GB free)
5 TB / month €0 ~$437
20 TB / month €0 ~$1,730 (tiered: $0.087 first 10 TB, $0.083 next 40 TB)
Each extra TB beyond that ~€1 (EU and US locations) $83-87

Run the per-terabyte math past the free allowances and it's roughly €1 vs $87 — an ~80x difference. This is why "cheap Azure alternative" searches spike every time someone ships a media-heavy app, a download mirror, a podcast host, or a video project on Azure and gets their first real bandwidth bill. On Hetzner, a 5 TB/month workload costs nothing beyond the server; on Azure it's ~$437/month in bandwidth alone — often more than the VM serving it. Azure does waive egress fees entirely if you're migrating off Azure, which is a genuinely useful (and slightly ironic) policy we cover in the migration section.

What we measured: CCX23 vs D4s_v3

In spring 2026 we ran identical WordPress workloads (WordPress 6.5, Redis object cache, 2 GB seed database, ApacheBench at 100 concurrent for 60 seconds) on a Hetzner CCX23 in Falkenstein and an Azure D4s_v3 in West Europe. The performance numbers below still stand — hardware didn't change in June, prices did. At the time, the CCX23 cost €24/month; the same plan is now €85.99 for new orders, which changes the value ratio but not the measurements.

MetricHetzner CCX23Azure D4s_v3Hetzner advantage
WordPress LCP (cold cache)1.4s2.1s50% faster
WordPress LCP (warm cache, Redis)0.6s0.9s50% faster
NVMe random read IOPS~85,000~28,0003× faster
NVMe sequential write1,800 MB/s650 MB/s2.8× faster
ApacheBench req/sec (100 concurrent)347 req/s118 req/s2.9× faster
MySQL query latency (p50)1.8 ms3.2 ms43% faster

The IOPS gap is the structural one: Hetzner plans ship local NVMe; standard Azure Premium SSD is network-attached storage with per-disk IOPS caps (a P10 tops out at 500 provisioned IOPS, burstable to 3,500). Azure can match local-NVMe performance with Premium SSD v2 or Ultra Disk, at additional cost and configuration. For database-backed apps, disk latency is the difference you feel.

Where Azure genuinely wins

We're a Hetzner affiliate and this is not a hit piece. Azure is not "overpriced Hetzner" — it's a different product, and for a real set of buyers it's the correct one:

Where Hetzner wins

A worked TCO: small SaaS on both clouds

Abstract percentages hide too much, so here's a realistic small-SaaS build: two app servers (2–4 vCPU, 8 GB each), one database server (16 GB), daily backups, three public IPv4s, and 2 TB/month of egress. Arithmetic shown, from the unit prices verified above (as of July 2026).

Hetzner (Falkenstein, shared CX line)

Total: ~€41.70/month (~$46). If you insist on dedicated cores for the database, swap the CX43 for a CCX23 at €85.99 and the total becomes ~€126/month (~$138) — the June price rise bites hardest exactly here.

Azure (East US, pay-as-you-go)

Total: ~$550/month — roughly 12x the Hetzner shared-line build, or 4x the dedicated-CCX variant. A 1-year reservation on the compute trims it to roughly $450; it does not touch the egress or disk lines. And note what the Azure build still doesn't include that the price difference could buy: a managed database. Add Azure Database for PostgreSQL instead of self-hosting and the gap widens again. The honest framing: on Hetzner you're paying ~$46 and doing the ops yourself; on Azure you're paying ~$550 for the option of not doing them.

When NOT to choose Hetzner

The mirror image of the TCO. Pick Azure (or another hyperscaler) and don't look back if any of these describe you:

Migrating from Azure to Hetzner: the lift-and-shift path

For a standard Linux stack (reverse proxy, app processes, database, object storage), moving off Azure is less dramatic than it sounds. The high-level path we'd follow:

  1. Inventory managed-service dependencies first. The VMs are trivial; the lock-in lives in Azure SQL, Blob Storage SDK calls, Service Bus, Functions, and Entra-integrated auth. For each, decide: self-host an equivalent (Postgres, MinIO/Hetzner object storage, RabbitMQ), swap to a third-party managed service, or keep that one piece on Azure in a hybrid setup.
  2. Provision and harden the Hetzner side. Create servers, a private network, and firewall rules. If your deploy is already Docker Compose, Kubernetes, or Ansible, this is an afternoon. If it's "we clicked around the portal in 2022," write it down as code now — our VPS setup guide covers the baseline (SSH keys, firewall, unattended upgrades) in about 15 minutes.
  3. Move data. Dump and restore the database (pg_dump/mysqldump, or logical replication for near-zero downtime), and rclone sync Blob Storage containers to Hetzner's S3-compatible object storage. Azure waives egress charges for customers migrating off the platform — invoke that; on a multi-terabyte dataset it's real money.
  4. Run both in parallel briefly. Point a staging domain at Hetzner, replay production traffic or run your E2E suite, and let the database replicate until cutover.
  5. Cut over DNS. Lower TTL to 60s a day ahead, switch, watch error rates, keep the Azure environment stopped-but-restorable for a week before deleting it (stopped VMs still bill for disks — deallocate, snapshot, then clean up).

Total effort for a typical small SaaS: a focused week including testing, mostly spent on step 1. At a ~$500/month saving, the migration pays for itself fast — which is exactly the cloud-cost sanity check this page is about.

Honesty disclosures

We use Hetzner's referral program: sign up via our Hetzner link and you get €20 in credit once you spend €10, and we later get €10 in credit. Mutual credit, not cash commission; your price is identical either way. We earn nothing on Azure — every Azure mention here is a plain, untracked link, and if Azure is the right call for you (see the sections above), take it.

FAQ

Is Hetzner really cheaper than Azure?

Yes, though the gap narrowed after Hetzner's June 15, 2026 price adjustment. As of July 2026, a Hetzner CX43 (8 shared vCPU, 16 GB RAM, 160 GB NVMe, 20 TB traffic) is €15.99/month net in Germany/Finland, while Azure's closest size, D4s_v5 (4 vCPU, 16 GB), is ~$140/month pay-as-you-go before disks and bandwidth. On dedicated cores it's closer: CCX23 at €85.99 vs that same ~$140 plus extras.

Did Hetzner raise its prices in 2026?

Yes, effective June 15, 2026 for new orders and rescales. The shared CX line rose ~1.3–1.4x (CX23 €3.99 → €5.49); the CPX and dedicated CCX lines rose 2.1–2.75x (CCX13 €15.99 → €42.99, CCX23 €31.49 → €85.99). Existing servers keep their old price until rescaled. Even post-increase, the CX line remains several times cheaper than comparable Azure VMs.

Why is Azure egress so expensive compared to Hetzner?

Azure meters internet egress per gigabyte: after 100 GB/month free, US/EU regions bill $0.087/GB for the first 10 TB — about $80 per TB. Hetzner includes 20 TB on EU servers and charges ~€1 per extra TB in EU/US locations. Past the free allowances that's roughly an 80x per-TB difference, and it's the line item that most often shocks people off hyperscalers.

When should I still use Azure instead of Hetzner?

When you need HIPAA BAAs, FedRAMP, or audit-grade compliance; deep Microsoft 365 / Entra ID integration; managed services like Azure SQL, Cosmos DB, or AKS; multi-region failover; regions near users Hetzner doesn't serve; or while you're spending startup credits (up to $150k via Microsoft for Startups). For generic Linux workloads with an EU/US audience, Hetzner is dramatically better value.

Is Hetzner a good cheap Azure alternative for a small SaaS?

For most indie and SMB workloads, yes. Our worked example — 2 app servers, 1 database server, backups, 2 TB egress — comes to ~€42/month (~$46) on Hetzner's CX line vs ~$550/month on Azure D-series pay-as-you-go. The trade is operational: you run your own database, backups, and monitoring instead of consuming managed services.

Can I use Hetzner for HIPAA workloads?

Effectively no: HIPAA requires a Business Associate Agreement from your hosting provider, and Hetzner doesn't sign them. Hetzner is ISO 27001 certified and strong on GDPR/EU data residency, but US healthcare and government compliance regimes need Azure, AWS, or GCP.

How hard is it to migrate from Azure to Hetzner?

For lift-and-shift Linux stacks, about a focused week: provision and harden servers, restore the database, sync object storage, run in parallel, cut DNS over. Azure waives egress fees for departing customers, which helps on big datasets. The real work is replacing managed services — every Azure SQL or Service Bus dependency becomes software you run or a service you buy elsewhere.

Does Hetzner have an equivalent of Azure's managed databases and App Service?

No. Hetzner sells primitives — servers, volumes, load balancers, networks, firewalls, snapshots, S3-compatible object storage — with no first-party managed database, serverless, or PaaS layer. That gap is the honest explanation of the price difference: Azure bundles an operations department; Hetzner assumes you are one.