2 vCPU, 16 GiB instances: AWS vs Azure

90 current instance types have 2 vCPUs and 16 GiB of memory: 41 on AWS EC2 and 49 on Azure. The cheapest 2 vCPU, 16 GiB option is Standard_E2ps_v6 on Azure at $0.0922 per hour on demand (East US). The cheapest on AWS is r6g.large at $0.1008, so Azure is 9% cheaper at this size.

Every 2 vCPU, 16 GiB option, cheapest first

CloudTypevCPUsMemory (GiB)On-demand /hr1-yr reserved /hrSpot /hr
AzureStandard_E2ps_v6216$0.0922$0.0545$0.0429
AWSr6g.large216$0.1008$0.0635$0.0294
AzureStandard_E2ps_v5216$0.101$0.0595$0.0214
AWSr7g.large216$0.1071$0.0708$0.0507
AWSr5a.large216$0.113$0.071$0.0337
AzureStandard_E2as_v5216$0.113$0.0667$0.0238
AzureStandard_EC2as_v5216$0.113$0.0904$0.0239
AWSr6a.large216$0.1134$0.075$0.0381
AzureStandard_E2pds_v5216$0.115$0.0679$0.0243
AWSr6gd.large216$0.1152$0.0726$0.0358
AzureStandard_E2pds_v6216$0.117$0.0691$0.0544
AWSr8g.large216$0.1178$0.0779$0.0354
AzureStandard_A2m_v2216$0.119–$0.0238
AzureStandard_E2as_v6216$0.119$0.0703$0.0251
AzureStandard_E2as_v7216$0.119$0.0703$0.0222
AWSr5.large216$0.126$0.079$0.0364
AWSr6i.large216$0.126$0.0833$0.0449
AzureStandard_E2_v3216$0.126–$0.0252
AzureStandard_E2_v4216$0.126$0.0741$0.0265
AzureStandard_E2_v5216$0.126$0.0777$0.0265
AzureStandard_E2a_v4216$0.126$0.0741$0.0265
AzureStandard_E2as_v4216$0.126$0.0741$0.0265
AzureStandard_E2s_v3216$0.126–$0.0252
AzureStandard_E2s_v4216$0.126$0.0741$0.0265
AzureStandard_E2s_v5216$0.126$0.0743$0.0265
AWSr9g.large216$0.1284–$0.0362
AWSr5ad.large216$0.131$0.083$0.0363
AzureStandard_E2ads_v5216$0.131$0.0773$0.0276
AzureStandard_EC2ads_v5216$0.131$0.1048$0.0277
AzureStandard_EC2as_v6216$0.131$0.1049$0.0276
AWSr8i-flex.large216$0.132–$0.0347
AzureStandard_E2s_v6216$0.132$0.0821$0.0274
AWSr7i.large216$0.1323$0.0875$0.0402
AWSr7gd.large216$0.1361$0.0855$0.1273
AWSr8i.large216$0.1389–$0.0339
AWSr5d.large216$0.144$0.091$0.0648
AzureStandard_E2d_v4216$0.144$0.0847$0.0303
AzureStandard_E2d_v5216$0.144$0.0849$0.0305
AzureStandard_E2ds_v4216$0.144$0.0847$0.0303
AzureStandard_E2ds_v5216$0.144$0.0849$0.0305
AzureStandard_E2ads_v6216$0.145$0.0856$0.0306
AzureStandard_E2ads_v7216$0.145$0.0856$0.0271
AzureStandard_EC2es_v6216$0.146$0.1164$0.027
AWSr8gd.large216$0.147–$0.0492
AWSr5b.large216$0.149$0.0939$0.0394
AWSr5n.large216$0.149$0.094$0.0383
AzureStandard_E2bs_v5216$0.149$0.0879$0.0314
AWSr6id.large216$0.1512$0.095$0.0405
AWSr7a.large216$0.1522$0.1007$0.0517
AWSi4g.large216$0.1544$0.1002$0.0322
AWSr8a.large216$0.1598–$0.0344
AzureStandard_EC2ads_v6216$0.16$0.1277$0.0338
AWSr9gd.large216$0.1602–$0.053
AzureStandard_E2ds_v6216$0.164$0.1014$0.0342
AWSr8id.large216$0.1663–$0.0385
AWSr5dn.large216$0.167$0.105$0.0385
AzureStandard_E2bds_v5216$0.167$0.0985$0.0358
AWSi8g.large216$0.1716–$0.0333
AWSi4i.large216$0.172$0.111$0.0325
AzureStandard_L2as_v4216$0.172$0.1049$0.0361
AzureStandard_E2bs_v6216$0.174$0.1029$0.0323
AzureStandard_E2ns_v6216$0.174$0.1025$0.0361
AzureStandard_E2s_v7216$0.174–$0.0328
AzureStandard_L2s_v4216$0.174$0.1062$0.0365
AWSr6in.large216$0.1743$0.1098$0.0259
AzureStandard_F2ams_v6216$0.179$0.111$0.0377
AzureStandard_F2ams_v7216$0.179$0.111$0.0347
AzureStandard_EC2eds_v6216$0.18$0.1439$0.0333
AWSr8gb.large216$0.1822–$0.0647
AWSr8gn.large216$0.1822–$0.0848
AWSr7iz.large216$0.186$0.1172$0.0403
AWSz1d.large216$0.186$0.117$0.0398
AWSi7i.large216$0.1888–$0.0394
AzureStandard_DC2s_v3216$0.192–$0.0423
AzureStandard_E2bds_v6216$0.195$0.1153$0.0362
AzureStandard_E2nds_v6216$0.195$0.1148$0.0407
AWSr6idn.large216$0.1954$0.1231$0.0426
AzureStandard_L2as_v5216$0.204$0.1241$0.0408
AzureStandard_E2ds_v7216$0.208–$0.0392
AWSr8ib.large216$0.2092–$0.0521
AWSr8in.large216$0.2092–$0.0454
AzureStandard_F2amds_v7216$0.218$0.1352$0.0423
AWSi3en.large216$0.226$0.154$0.0383
AzureStandard_DC2ds_v3216$0.226–$0.0498
AzureStandard_L2aos_v4216$0.226$0.1446$0.0474
AWSr8idb.large216$0.2345–$0.0498
AWSr8idn.large216$0.2345–$0.0526
AWSi8ge.large216$0.2373–$0.0538
AWSi7ie.large216$0.2599–$0.0394
AzureStandard_L2aos_v5216$0.305$0.1798$0.061

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.