t2.medium equivalent on Azure

The closest Azure match for t2.medium (2 vCPUs, 4 GiB, x86_64) is Standard_B2als_v2, at $0.0376 per hour on demand in East US. t2.medium costs $0.0464 in US East (N. Virginia), so Standard_B2als_v2 is 19% cheaper.

t2.medium and its closest Azure matches

Same vCPUs and memory; same architecture and the same burstable-or-not first.

CloudTypevCPUsMemory (GiB)On-demand /hr1-yr reserved /hrSpot /hr
AWSt2.medium24$0.0464$0.0287$0.0119
AzureStandard_B2als_v224$0.0376$0.0221$0.0338
AzureStandard_B2ls_v224$0.0416$0.0245$0.0374
AzureStandard_B2s24$0.0416––
AzureStandard_D2als_v624$0.0804$0.0475$0.017
AzureStandard_D2als_v724$0.0804$0.0475$0.0156
AzureStandard_F2s_v224$0.0846–$0.019
AzureStandard_D2ls_v524$0.085$0.0524$0.0179
AzureStandard_D2ls_v624$0.0893$0.0554$0.0188

More

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.