AWS vs Hetzner vs DigitalOcean vs Vultr — cost, features, and architecture for diagnostic.ly
Line-by-line comparison for equivalent production infrastructure (2 vCPU, 4 GB RAM)
| Component | AWS | Hetzner | DigitalOcean | Vultr |
|---|---|---|---|---|
|
Compute
2 vCPU, 4 GB RAM app server
|
$30/mo
EC2 t3.medium
|
$8/mo
CPX22 (80 GB NVMe)
|
$24/mo
Droplet Premium (NVMe)
|
$24/mo
Cloud Compute (NVMe)
|
|
Database (MySQL)
Primary data store
|
$15/mo
RDS db.t3.micro (managed)
|
$4/mo
CX22 self-managed
|
$15/mo
Managed MySQL (1 GB)
|
$4/mo
On VPS, self-managed
|
|
Redis / Cache
Session, queue, cache
|
$12/mo
ElastiCache t3.micro
|
$0
On DB server
|
$15/mo
Managed Redis (1 GB)
|
$0
On VPS, self-managed
|
|
Object Storage
Documents, media, uploads
|
$3/mo
S3 (50 GB + egress)
|
$5/mo
1 TB incl. (S3 API)
|
$5/mo
Spaces 250 GB (S3 API)
|
$5/mo
Object Storage (S3 API)
|
|
Load Balancer
SSL termination, routing
|
$16/mo
ALB
|
$10/mo
LB11 (L4/L7)
|
$12/mo
LB (L4/L7)
|
$10/mo
LB (L4)
|
|
Bandwidth
Data transfer out
|
$9/mo
~100 GB egress
|
$0
20 TB included
|
$0
4-6 TB included
|
$0
3-4 TB included
|
|
Backups + DNS + SSL
Snapshots, domain, TLS certs
|
$6/mo
EBS + Route53 + ACM
|
$2/mo
20% server cost + free DNS
|
$2/mo
20% server cost + free DNS
|
$2/mo
Auto backups + free DNS
|
| Production Total | ~$91/mo | ~$29/mo | ~$73/mo | ~$45/mo |
Total cost across dev + staging + production environments
Capabilities that matter for this project's healthcare/diagnostics workload
Scored 1-5 per category, weighted by importance for this project
| Criteria (weight) | AWS | Hetzner | DigitalOcean | Vultr |
|---|---|---|---|---|
| Cost (30%) | 1 | 5 | 3 | 4 |
| Managed Services (20%) | 5 | 1 | 4 | 2 |
| US Data Centers (15%) | 5 | 2 | 4 | 5 |
| S3 Compatibility (15%) | 5 | 4 | 4 | 4 |
| Simplicity (10%) | 2 | 4 | 5 | 4 |
| Bandwidth Included (5%) | 1 | 5 | 3 | 3 |
| Ecosystem / Scaling (5%) | 5 | 2 | 3 | 3 |
| Weighted Total | 3.00 | 3.40 | 3.70 | 3.60 |
Datacenter options within the United States for each provider
| Detail | AWS | Hetzner | DigitalOcean | Vultr |
|---|---|---|---|---|
US Locations |
6 regions
Virginia, Ohio, Oregon, N. California, GovCloud x2
|
1 location
Ashburn, VA
|
3 locations
New York (x3), San Francisco (x3), Toronto
|
16 locations
NYC, LA, Chicago, Dallas, Atlanta, Miami, Seattle, SJC, + 8 more
|
Nearest to East Coast |
us-east-1 (Virginia) |
Ashburn, VA |
NYC1/2/3 |
New Jersey / Atlanta / Miami |
Nearest to West Coast |
us-west-2 (Oregon) |
N/A (Ashburn only) |
SFO1/2/3 |
Los Angeles / Silicon Valley / Seattle |
S3 Storage in US |
Yes — all US regions
|
EU only (fsn1, nbg1)
Pair with Cloudflare R2 for US storage
|
Yes — NYC, SFO
|
Yes — US regions
|
Private Networking |
VPC (per-region) |
Free (Ashburn zone) |
VPC (per-region, free) |
VPC 2.0 (per-region, free) |
HIPAA Eligibility |
Yes — BAA available
|
No BAA offered
|
No BAA offered
|
No BAA offered
|
This architecture works on any provider — shown for Hetzner/Vultr/DO with private networking
What changes in the application codebase — same for all providers
Two paths depending on whether you prioritize cost or convenience
74% cost reduction with the same architecture. Self-manage MySQL and Redis in exchange for massive savings. Ashburn datacenter provides low latency to US East Coast users. Object storage stays in EU (fine for file storage latency) or pair with Cloudflare R2 for US-based S3 with zero egress fees.
Best for: teams comfortable with Linux server management who want maximum savings.
40% cost reduction while keeping managed MySQL and Redis — no backup scripts, no DB tuning, automatic failover. Multiple US locations with great connectivity. Spaces (S3-compatible) storage in US with built-in CDN. Excellent developer experience and documentation.
Best for: teams who prefer managed databases and want to minimize ops work.