D4 v2

api name Standard_D4_v2 · Azure Virtual Machines · Dv2 family

The D4 v2 is a general purpose Azure Virtual Machines VM size with 8 vCPUs and 28 GiB of memory, running on Intel Xeon, starting at $0.458 per hour on demand.

general purposex86-64intelprevious generation
vCPUs
8

dedicated

memory
28 GiB

3.5 GiB per vCPU

processor
Intel

x86-64

on-demand
$0.585

$427/mo · eastus

spot
$0.1361

−77% vs on-demand

regions
56

across 7 areas

Previous generation. Azure still sells D4 v2, but newer families usually give more performance per dollar. See the similar VM sizes below.

D4 v2 price by region

56 regions · hourly list prices in USD · On-demand · Spot · 1-yr Reserved · 3-yr Reserved · 1-yr Savings plan · 3-yr Savings plan

East US 2eastus2cheapestNorth America$0.458$0.2029$0.316$0.2153
West US 2westus2cheapestNorth America$0.458$0.1066$0.316$0.2153
West US 3westus3cheapestNorth America$0.458$0.1066$0.316$0.2153
Mexico CentralmexicocentralNorth America$0.502$0.1168$0.3815$0.2761
South Central USsouthcentralusNorth America$0.509$0.1184$0.3512$0.2392
West Central USwestcentralusNorth America$0.509$0.1184$0.3512$0.2392
North EuropenortheuropeEurope$0.527$0.1226$0.4005$0.2899
Germany West CentralgermanywestcentralEurope$0.532$0.1238$0.4043$0.2926
Italy NorthitalynorthEurope$0.543$0.1264$0.4703$0.3711
Poland CentralpolandcentralEurope$0.544$0.1266$0.4134$0.2992
Spain CentralspaincentralEurope$0.544$0.1266$0.4134$0.2992
Sweden CentralswedencentralEurope$0.544$0.1266$0.4134$0.2992
West EuropewesteuropeEurope$0.544$0.1266$0.4134$0.2992
Israel CentralisraelcentralMiddle East$0.548$0.1275$0.4165$0.3014
Qatar CentralqatarcentralMiddle East$0.55$0.128$0.418$0.3025
UAE NorthuaenorthMiddle East$0.55$0.128$0.418$0.3025
West USwestusNorth America$0.559$0.1301$0.3857$0.2627
Canada CentralcanadacentralNorth America$0.56$0.2176$0.4256$0.308
Canada EastcanadaeastNorth America$0.56$0.1303$0.4256$0.308
US Gov ArizonausgovarizonaNorth America$0.571$0.1329––
US Gov TexasusgovtexasNorth America$0.571$0.1329––
US Gov VirginiausgovvirginiaNorth America$0.571$0.1329––
Indonesia CentralindonesiacentralAsia$0.584$0.1359$0.403$0.2745
Malaysia WestmalaysiawestAsia$0.584$0.1359$0.403$0.2745
Central UScentralusNorth America$0.585$0.1081$0.4037$0.275
East USeastusreferenceNorth America$0.585$0.1361$0.4037$0.275
North Central USnorthcentralusNorth America$0.585$0.1361$0.4037$0.275
Korea SouthkoreasouthAsia$0.594$0.1382$0.4514$0.3267
Norway EastnorwayeastEurope$0.598$0.1392$0.4545$0.3289
Switzerland NorthswitzerlandnorthEurope$0.5984$0.1392$0.4548$0.3291
South Africa NorthsouthafricanorthAfrica$0.614$0.1429$0.4666$0.3377
Australia SoutheastaustraliasoutheastOceania$0.623$0.145$0.4735$0.3427
Southeast AsiasoutheastasiaAsia$0.631$0.1468$0.4796$0.3471
Korea CentralkoreacentralAsia$0.66$0.1536$0.5016$0.363
Australia CentralaustraliacentralOceania$0.673$0.1566$0.5115$0.3702
Australia Central 2australiacentral2Oceania$0.673$0.0673$0.5115$0.3702
Australia EastaustraliaeastOceania$0.673$0.1566$0.5115$0.3702
Central IndiacentralindiaAsia$0.675$0.1571$0.513$0.3713
South IndiasouthindiaAsia$0.675$0.1571$0.513$0.3713
West IndiawestindiaAsia$0.675$0.1571$0.513$0.3713
Brazil SouthbrazilsouthSouth America$0.685$0.1594$0.5206$0.3768
Germany NorthgermanynorthEurope$0.697$0.1622$0.5297$0.3834
France CentralfrancecentralEurope$0.702$0.1634$0.5335$0.3861
UK SouthuksouthEurope$0.702$0.1634$0.5335$0.3861
UK WestukwestEurope$0.702$0.1634$0.5335$0.3861
Sweden SouthswedensouthEurope$0.707$0.1645$0.5373$0.3889
UAE CentraluaecentralMiddle East$0.714$0.1661$0.5426$0.3927
Japan WestjapanwestAsia$0.729$0.1696$0.554$0.401
South Africa WestsouthafricawestAfrica$0.769$0.1789$0.5844$0.423
Norway WestnorwaywestEurope$0.778$0.181$0.5913$0.4279
Switzerland WestswitzerlandwestEurope$0.778$0.181$0.5913$0.4279
New Zealand NorthnewzealandnorthOceania$0.782$0.182$0.5943$0.4301
Japan EastjapaneastAsia$0.818$0.1903$0.6217$0.4499
East AsiaeastasiaAsia$0.857$0.1994$0.6513$0.4714
Brazil SoutheastbrazilsoutheastSouth America$0.89$0.2071$0.6764$0.4895
France SouthfrancesouthEurope$0.912$0.2122$0.6931$0.5016

Specifications

compute

vCPUs
8
Memory
28 GiB
Memory per vCPU
3.5 GiB
Processor
Intel Xeon
CPU vendor
Intel
Architecture
x86-64
Burstable CPU
No

storage & network

Local storage
400 GB SSD
Storage detail
400 GiB temporary disk

azure details

API name
Standard_D4_v2
Family
Dv2
Category
General purpose
Generation
Previous
Regions
56 (Africa, Asia, Europe, Middle East, North America, Oceania, South America)
Cheapest region
East US 2 · $0.458/hr

D4 v2 equivalents on other clouds

closest match by vCPU, memory, CPU architecture, accelerator and class · Linux on-demand in each provider's reference region

compare side by side→
ProviderInstancevCPUMemoryProcessorOn-demandvs D4 v2
AzureD4 v2828 GiBIntel Xeon$0.585–
AWSm5ad.2xlarge32 GiB (1.14×)832 GiBAMD EPYC 7571$0.412-30%
m5d.2xlarge32 GiB (1.14×)832 GiBIntel Xeon Platinum 8175$0.452-23%
Google Cloudc4-standard-8-lssd30 GiB (1.07×)830 GiBIntel Emerald Rapids, Intel Granite Rapids$0.4775-18%
c4n-standard-8-lssd30 GiB (1.07×)830 GiBIntel Emerald Rapids$0.6736+15%
AkamaiG8 Dedicated 32x832 GiB (1.14×)832 GiBAMD EPYC$0.42-28%
Linode 32GB32 GiB (1.14×) · burstable CPU832 GiBAMD EPYC$0.288-51%
Vultrvbm-4c-32gb32 GiB (1.14×)832 GiBIntel Xeon E3-1270$0.164-72%
vx1-g-8c-32g-480s32 GiB (1.14×)832 GiBAMD EPYC$0.306-48%

Dv2 family sizes

all about Dv2→
SizevCPUMemoryLocal storageOn-demandMonthlySpot
D1 v213.5 GiB50 GB SSD$0.073$53.29$0.017
D2 v227 GiB100 GB SSD$0.146$107$0.034
D11 v2214 GiB100 GB SSD$0.185$135$0.0431
D3 v2414 GiB200 GB SSD$0.293$214$0.0682
D12 v2428 GiB200 GB SSD$0.371$271$0.0863
D4 v2828 GiB400 GB SSD$0.585$427$0.1361
D13 v2856 GiB400 GB SSD$0.741$541$0.1724
D5 v21656 GiB800 GB SSD$1.17$854$0.2723
D14 v216112 GiB800 GB SSD$1.482$1,082$0.3449
D15 v220140 GiB1 TB SSD$1.853$1,353$0.4312
D15i v220140 GiB1 TB SSD$1.853$1,353$0.4312

Similar VM sizes on Azure

other Azure families with a similar shape, cheapest first

D4 v2 FAQ

How much does D4 v2 cost?

D4 v2 costs $0.585 per hour on demand with Linux in East US (eastus), about $427 per month. Across 56 regions the Linux on-demand price ranges from $0.458 in East US 2 to $0.912 in France South. Spot capacity costs $0.1361 per hour (77% less), but can be reclaimed. With Windows it costs $0.952 per hour.

How many vCPUs and how much memory does D4 v2 have?

D4 v2 has 8 vCPUs and 28 GiB of memory (3.5 GiB per vCPU), running on Intel Xeon. It is a general purpose VM size in the Dv2 family.

What is the cheapest region for D4 v2?

East US 2 (eastus2) at $0.458 per hour for Linux on demand, 22% less than East US. D4 v2 is sold in 56 Azure regions.

What are the equivalents of D4 v2 on other clouds?

The closest matches by vCPU, memory, CPU architecture and instance class are on AWS, m5ad.2xlarge (8 vCPU, 32 GiB, $0.412/hour in US East (N. Virginia)); on Google Cloud, c4-standard-8-lssd (8 vCPU, 30 GiB, $0.4775/hour in Iowa); on Akamai, G8 Dedicated 32x8 (8 vCPU, 32 GiB, $0.42/hour in Newark, NJ); on Vultr, vbm-4c-32gb (8 vCPU, 32 GiB, $0.164/hour in New Jersey).