Last updated: May 2026
Azure Virtual Machines Beginner AZ-104 ⏱ 14 min read

Azure VM Series & Sizes

Choosing the right VM size is one of the most important decisions when deploying on Azure. Too small and your application crashes under load. Too big and you waste money on idle resources. Azure offers hundreds of VM sizes across dozens of families — this guide breaks down every major family, explains the naming convention, and helps you pick the right size every time.

What you'll learn How to read Azure VM naming conventions · Every major VM family explained · vCPU, RAM, and disk specs · Which family to use for each workload · Comparing sizes within a family · How to change VM size after deployment · Cost estimates for common sizes

Understanding the Naming Convention

Azure VM names follow a consistent pattern. Once you learn to read it, you can instantly understand what any VM offers:

Format Azure VM naming convention
[Family][Sub-family][vCPUs][Constrained vCPUs]_[Add-on features][Version]

Examples:
Standard_D4s_v5   → D family, 4 vCPUs, premium storage support, version 5
Standard_E8ds_v5  → E family, 8 vCPUs, local temp disk + premium storage, v5
Standard_B2ms     → B family, 2 vCPUs, large memory variant
Standard_F4s_v2   → F family, 4 vCPUs, premium storage, version 2
Suffix LetterMeaning
sPremium Storage support (SSD)
dLocal temp disk (NVMe)
aAMD processor instead of Intel
lLow memory variant
mLarge memory variant
tSmall memory variant
v5, v4Generation/version number
💡
Always prefer newer versions Newer versions (v5 over v4, v4 over v3) offer better performance per cost. When choosing between Standard_D4s_v4 and Standard_D4s_v5, always choose v5 — same price, better hardware.

B-Series — Burstable

The B-series is designed for workloads that don't need full CPU performance continuously. The VM earns CPU credits when idle and spends them when bursting. It's the most cost-effective series for low-to-moderate workloads.

How CPU Credits Work

A B1s earns 6 credits/hour when idle. Each credit = 1 minute of 100% CPU usage. The VM can accumulate up to 144 credits (24 hours of burst). This is perfect for workloads like dev servers, small websites, or microservices that have occasional spikes but are mostly quiet.

SizevCPUsRAMApprox Cost/Month (India)Best For
B1s11 GB~₹550Learning, tiny apps
B1ms12 GB~₹1,100Small websites
B2s24 GB~₹2,200Dev/test environments
B2ms28 GB~₹4,400Small production apps
B4ms416 GB~₹8,800Medium applications
⚠️
B-series Limitation If you run out of CPU credits (sustained high CPU for hours), your VM throttles to baseline performance. B-series is NOT suitable for consistently high CPU workloads. Use D or F series for those.

D-Series — General Purpose

The D-series is the most commonly used VM family. It offers a balanced CPU-to-memory ratio (1:4, meaning 1 vCPU per 4 GB RAM) and is suitable for most production workloads — web servers, application servers, small-to-medium databases.

SizevCPUsRAMApprox Cost/Month (India)Best For
D2s_v528 GB~₹6,500Small web apps
D4s_v5416 GB~₹13,000Web/app servers
D8s_v5832 GB~₹26,000Medium workloads
D16s_v51664 GB~₹52,000Large applications
D32s_v532128 GB~₹104,000Heavy workloads

E-Series — Memory Optimised

The E-series has a high RAM-to-CPU ratio (1:8, meaning 1 vCPU per 8 GB RAM). Use it when your workload needs lots of memory — in-memory databases, large caches, analytics engines, or SAP HANA.

SizevCPUsRAMBest For
E2s_v5216 GBSmall in-memory workloads
E4s_v5432 GBRedis, small HANA
E8s_v5864 GBMedium databases
E16s_v516128 GBLarge in-memory databases
E32s_v532256 GBSAP HANA, enterprise DB

F-Series — Compute Optimised

The F-series has a high CPU-to-memory ratio (1:2, meaning 1 vCPU per 2 GB RAM). Use it when raw CPU performance matters more than memory — batch processing, game servers, analytics, video transcoding, or CI/CD build agents.

SizevCPUsRAMBest For
F2s_v224 GBLight compute tasks
F4s_v248 GBGame servers, build agents
F8s_v2816 GBBatch processing
F16s_v21632 GBHeavy analytics
F32s_v23264 GBIntensive compute jobs

N-Series — GPU

The N-series VMs include NVIDIA GPUs. They are significantly more expensive but are the only choice for machine learning training, 3D rendering, video encoding, or scientific simulations.

Sub-familyGPUBest For
NC-seriesNVIDIA TeslaMachine learning training, scientific compute
NV-seriesNVIDIA Tesla M60GPU virtualisation, remote visualisation
ND-seriesNVIDIA Tesla P40/V100Deep learning, large model training
NVads A10 v5NVIDIA A10GPU-accelerated apps, VDI

L-Series — Storage Optimised

L-series VMs have high local disk throughput and IOPS — ideal for I/O-heavy workloads like NoSQL databases (Cassandra, MongoDB), data warehousing, or any workload that needs fast local storage access.

M-Series — Large Memory

M-series is Azure's largest memory option — up to 11.4 TB of RAM in a single VM. Used exclusively for very large enterprise workloads like massive SAP HANA databases or in-memory analytics platforms. These are extremely expensive and should only be used when truly needed.

How to Choose the Right Size

Follow this decision process when selecting a VM size:

QuestionIf Yes → Consider
Is this for learning or dev/test?B-series (cheapest)
Is this a general web or app server?D-series
Does your app need lots of RAM?E-series
Is this CPU-intensive batch processing?F-series
Do you need a GPU?N-series
Is this a high-I/O database?L-series
Massive enterprise in-memory workload?M-series
💡
Right-Sizing with Azure Advisor After running a VM for a few days, check Azure Advisor in the portal. It analyses your CPU and memory usage and recommends if you can downsize to save money. Many teams over-provision — Azure Advisor helps find the right size.

Resizing a VM

You can change a VM's size after deployment — but it requires a restart. The VM will be briefly unavailable during the resize operation.

Azure CLI Resize a VM
# Check available sizes in your region
az vm list-vm-resize-options \
  --resource-group myResourceGroup \
  --name myVM \
  --output table

# Resize the VM (requires a restart)
az vm resize \
  --resource-group myResourceGroup \
  --name myVM \
  --size Standard_D4s_v5
⚠️
Not All Sizes Are Available in All Regions Some VM sizes are not available in certain regions. If your target size isn't available, you may need to deallocate the VM first, then resize, or choose a different region. Always check availability before planning.
📝 Practice Questions
Click an option to check your answer. AZ-104 style questions.
Q1. What does the "s" suffix in a VM size like "Standard_D4s_v5" indicate?
A Small memory variant
B Premium Storage (SSD) support
C Spot pricing capability
D Standard tier
Q2. A developer needs a cheap VM for learning and occasional testing. Which VM series is most appropriate?
A B-series (Burstable)
B M-series (Large Memory)
C N-series (GPU)
D E-series (Memory Optimised)
Q3. Which VM series should you use for running SAP HANA, an in-memory database that requires 256 GB of RAM?
A D-series (General Purpose)
B F-series (Compute Optimised)
C E-series (Memory Optimised)
D B-series (Burstable)
Q4. What happens when a B-series VM runs out of CPU credits?
A The VM shuts down automatically
B Azure charges extra for additional CPU usage
C CPU performance throttles to baseline speed
D The VM automatically upgrades to D-series
Q5. Does resizing an Azure VM require a restart?
A Yes — resizing always requires a brief restart
B No — resizing is done live without any downtime
C Only when resizing within the same family
D Only when increasing size, not when decreasing
Comments
Disclaimer: RedKite Cloud is an independent educational resource and is not affiliated with, endorsed by, or officially connected to Microsoft Corporation. All product names, logos, and trademarks are property of their respective owners. Content is written independently for educational purposes only.