AWS vs Hetzner: pricing compared

The same workloads priced on AWS and Hetzner with the cheapest plan that fits on each. Hetzner is cheaper in 6 of 10 scenarios. Prices come from each provider's published, dated price sheet - see the AWS price sheet and the Hetzner price sheet.

Monthly cost by workload

WorkloadAWSHetznerCheaper
Small app (1M req/mo)$14.79$38.50 *AWS (62% less)
Growing (20M req/mo)$251$244 *Hetzner (3% less)
At scale (200M req/mo)$3,051$2,359 *Hetzner (23% less)
Modern SaaS Starter$13.99$36.75 *AWS (62% less)
Video Streaming App$416$75.99 *Hetzner (82% less)
High-Scale E-Commerce$742$294 *Hetzner (60% less)
Serverless Mobile Backend$20.28$20.05 *Hetzner (1% less)
AI RAG Chatbot$989$1,014 *AWS (2% less)
Big Data Pipeline$74.77$22.92 *Hetzner (69% less)
Budget Web Hosting$27.82$35.70AWS (22% less)

* The plan prices every piece but something is too small for the workload, a compute style is substituted, or a requested piece is unavailable on that provider.

Where the money goes - Growing (20M req/mo)

20M requests/mo · 40 ms CPU each · 100 GB database · 200 GB files · 1 TB egress. AWS uses Lambda, S3, RDS Postgres, CloudFront, Route 53, CloudWatch Logs, API Gateway; Hetzner uses Cloud Server, Object Storage, Neon Postgres.

Cost categoryAWSHetzner
Serverless$37.13$0.00
Storage$4.60$7.53
Database$186$228
Networking$0.50$0.00
Observability$22.50$0.00
Compute$0.00$8.13
Total$251$244

Service by service

Each provider's cheapest product per service at the Growing (20M req/mo) workload.

ServiceAWSHetzner
KubernetesEKS Cluster Control Plane
$84.17
Not offered
SQL databaseRDS for PostgreSQL (db.r8g.large, Single-AZ, gp3)
$186
Not offered
NoSQL databaseDynamoDB (On-Demand Capacity)
$32.50
Not offered
Cache (Redis)ElastiCache for Redis OSS (cache.m8g.large)
$115
Not offered
Serverless functionsAWS Lambda
$17.13
Not offered
ContainersECS Fargate (Linux/x86)
$10.97
Not offered
Virtual machinesEC2 Application Server (t3.small)
$15.18
Cloud Server CX23 (2 vCPU, 4 GB RAM, 40 GB NVMe, shared Intel/AMD)
$8.13
Object storageS3 Standard Storage
$4.60
Hetzner Object Storage
$7.53
Message queuesSQS Standard Queue
$7.60
Not offered
Managed KafkaMSK Broker (kafka.m5.large, Provisioned Standard)
$307
Not offered
SearchOpenSearch Service (t3.small.search)
$26.28
Not offered
CDNCloudFront HTTPS Requests
$12.00
Not offered
WAFAWS WAF (Web ACL base fee, per-rule fees not included)
$17.00
Not offered
Load balancerApplication Load Balancer
$16.43
Not offered
GPUEC2 g4dn.xlarge (1x NVIDIA T4 GPU)
$384
Not offered

Plug in your traffic, database and cache needs to see AWS, Hetzner and 14 other providers side by side.

Price your own stack

Related comparisons