VM prices · Azure Virtual Machines

Standard_B2s

$0.0416 per hour, $30.37 per month on-demand in eastus (Linux), Azure's published list price at 730 hours a month.

Standard_B2s price by region

RegionLinux /hrLinux /moWindows /mo1-year /mo3-year /mo
eastus$0.0416$30.37$36.21——
westus2$0.0416$30.37$36.21——

Azure Retail Prices API list price, 730 hours/month; pay-as-you-go unless the notes say Spot or reservation; no Azure Hybrid Benefit applied Commitment columns: reservation, spread over the term. Prices refresh nightly.

Compare

Price it with the API

The same number, from /api/v1/estimate, for any type, region, quantity or usage:

curl -s https://api.cloudcostdata.com/api/v1/estimate \
  -H "X-API-Key: $CCD_API_KEY" -H "Content-Type: application/json" \
  -d '{"resource_type": "azure.vm", "region": "eastus", "attributes": {"size": "Standard_B2s"}}'

Get a free API keyRead the API docs