2 vCPU, 32 GiB instances: AWS vs Azure
19 current instance types have 2 vCPUs and 32 GiB of memory: 3 on AWS EC2 and 16 on Azure. The cheapest 2 vCPU, 32 GiB option is x2gd.large on AWS at $0.167 per hour on demand (US East (N. Virginia)). The cheapest on Azure is Standard_E4-2as_v5 at $0.226, so AWS is 26% cheaper at this size.
Every 2 vCPU, 32 GiB option, cheapest first
| Cloud | Type | vCPUs | Memory (GiB) | On-demand /hr | 1-yr reserved /hr | Spot /hr |
|---|---|---|---|---|---|---|
| AWS | x2gd.large | 2 | 32 | $0.167 | $0.1029 | $0.0406 |
| AWS | x8g.large | 2 | 32 | $0.1954 | $0.1204 | $0.0534 |
| AWS | x8i.large | 2 | 32 | $0.2188 | – | $0.0418 |
| Azure | Standard_E4-2as_v5 | 2 | 32 | $0.226 | $0.1333 | $0.0476 |
| Azure | Standard_E4-2as_v6 | 2 | 32 | $0.238 | – | $0.0502 |
| Azure | Standard_E4-2as_v7 | 2 | 32 | $0.238 | $0.1406 | $0.0444 |
| Azure | Standard_E4-2as_v4 | 2 | 32 | $0.252 | $0.1482 | $0.053 |
| Azure | Standard_E4-2s_v3 | 2 | 32 | $0.252 | – | $0.0504 |
| Azure | Standard_E4-2s_v4 | 2 | 32 | $0.252 | $0.1482 | $0.053 |
| Azure | Standard_E4-2s_v5 | 2 | 32 | $0.252 | $0.1486 | $0.0531 |
| Azure | Standard_E4-2ads_v5 | 2 | 32 | $0.262 | $0.1546 | $0.0552 |
| Azure | Standard_E4-2s_v6 | 2 | 32 | $0.265 | $0.164 | $0.055 |
| Azure | Standard_E4-2ds_v4 | 2 | 32 | $0.288 | $0.1693 | $0.0605 |
| Azure | Standard_E4-2ds_v5 | 2 | 32 | $0.288 | $0.1699 | $0.0609 |
| Azure | Standard_E4-2ads_v6 | 2 | 32 | $0.29 | – | $0.0612 |
| Azure | Standard_E4-2ads_v7 | 2 | 32 | $0.29 | $0.1713 | $0.0541 |
| Azure | Standard_E4-2ds_v6 | 2 | 32 | $0.327 | $0.2027 | $0.0683 |
| Azure | Standard_F4-2ams_v7 | 2 | 32 | $0.358 | $0.2219 | $0.0695 |
| Azure | Standard_F4-2amds_v7 | 2 | 32 | $0.436 | $0.2703 | $0.0846 |
Other sizes
On-demand Linux prices in USD per hour, in each cloud's home region: US East (N. Virginia) for AWS, East US for Azure. Previous-generation types are left out.