Compare · US
Cheapest 2 vCPU, 4 GB VM
AWS, Azure and GCP list prices for a Linux VM with at least 2 vCPUs and 4 GB, in us-east-1, eastus and us-central1. The smallest fit from each family, 730 hours a month, no discounts applied except the commitment columns.
Other regions: Europe · Asia Pacific. Nearby sizes: 1 vCPU / 2 GB · 4 vCPU / 8 GB.
Cheapest per cloud
| Cloud | On-demand /mo | 1-year /mo | 3-year /mo |
|---|---|---|---|
| AWS us-east-1 | $49.64 c6g.large | $36.21 c6g.large | $23.94 c6g.large |
| Azure eastus | $45.26 Standard_D2pls_v6 | $26.67 Standard_D2pls_v6 | $17.19 Standard_D2pls_v6 |
| GCP us-central1 | $42.40 e2-custom-2-4096 | $30.82 e2-standard-2 | $24.89 c4a-highcpu-2 |
Commitments: AWS Compute Savings Plan, Azure reservation, GCP committed use discount — no upfront where there is a choice.
AWS · us-east-1 · on-demand, Linux
| Type | vCPU | GB | Arch | /hr | /mo |
|---|---|---|---|---|---|
| c6g.large | 2.0 | 4 | arm64 | $0.0680 | $49.64 |
| c7g.large | 2.0 | 4 | arm64 | $0.0725 | $52.92 |
| c6a.large | 2.0 | 4 | x86_64 | $0.0765 | $55.84 |
| c6gd.large | 2.0 | 4 | arm64 | $0.0768 | $56.06 |
| m6g.large | 2.0 | 8 | arm64 | $0.0770 | $56.21 |
Azure · eastus · on-demand, Linux
| Type | vCPU | GB | Arch | /hr | /mo |
|---|---|---|---|---|---|
| Standard_D2pls_v6 | 2 | 4 | arm64 | $0.0620 | $45.26 |
| Standard_D2pls_v5 | 2 | 4 | arm64 | $0.0680 | $49.64 |
| Standard_D2ps_v6 | 2 | 8 | arm64 | $0.0702 | $51.25 |
| Standard_D2plds_v5 | 2 | 4 | arm64 | $0.0768 | $56.06 |
| Standard_D2ps_v5 | 2 | 8 | arm64 | $0.0770 | $56.21 |
GCP · us-central1 · on-demand, Linux
| Type | vCPU | GB | Arch | /hr | /mo |
|---|---|---|---|---|---|
| e2-custom-2-4096 | 2 | 4 | x86_64 | $0.0581 | $42.40 |
| e2-standard-2 | 2 | 8 | x86_64 | $0.0670 | $48.92 |
| n2d-custom-2-4096 | 2 | 4 | x86_64 | $0.0732 | $53.46 |
| c2d-highcpu-2 | 2 | 4 | x86_64 | $0.0750 | $54.72 |
| c4a-highcpu-2 | 2 | 4 | arm64 | $0.0758 | $55.30 |
Run it with the API
This page is one /api/v1/compare call. Change the requirements, regions or category and run your own:
curl -s https://api.cloudcostdata.com/api/v1/compare \
-H "X-API-Key: $CCD_API_KEY" -H "Content-Type: application/json" \
-d '{"category": "vm", "regions": {"aws": "us-east-1", "azure": "eastus", "gcp": "us-central1"},
"requirements": {"vcpus": 2, "memory_gib": 4}, "limit": 5}'

