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

CloudTypevCPUsMemory (GiB)On-demand /hr1-yr reserved /hrSpot /hr
AWSx2gd.large232$0.167$0.1029$0.0406
AWSx8g.large232$0.1954$0.1204$0.0534
AWSx8i.large232$0.2188–$0.0418
AzureStandard_E4-2as_v5232$0.226$0.1333$0.0476
AzureStandard_E4-2as_v6232$0.238–$0.0502
AzureStandard_E4-2as_v7232$0.238$0.1406$0.0444
AzureStandard_E4-2as_v4232$0.252$0.1482$0.053
AzureStandard_E4-2s_v3232$0.252–$0.0504
AzureStandard_E4-2s_v4232$0.252$0.1482$0.053
AzureStandard_E4-2s_v5232$0.252$0.1486$0.0531
AzureStandard_E4-2ads_v5232$0.262$0.1546$0.0552
AzureStandard_E4-2s_v6232$0.265$0.164$0.055
AzureStandard_E4-2ds_v4232$0.288$0.1693$0.0605
AzureStandard_E4-2ds_v5232$0.288$0.1699$0.0609
AzureStandard_E4-2ads_v6232$0.29–$0.0612
AzureStandard_E4-2ads_v7232$0.29$0.1713$0.0541
AzureStandard_E4-2ds_v6232$0.327$0.2027$0.0683
AzureStandard_F4-2ams_v7232$0.358$0.2219$0.0695
AzureStandard_F4-2amds_v7232$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.