Azure Virtual Machine Types and Sizes Explained: How to Choose the Right VM (2026)
If you’ve ever stared at the Azure VM size picker and felt lost, you’re not alone. There are dozens of series with cryptic names and overlapping specs. This post cuts through that and helps you pick the right VM for your workload.
What Is an Azure VM?
An Azure VM is a software-defined computer running on Microsoft’s physical infrastructure. You specify the CPU, memory, and storage you need — Azure provisions it from pooled datacenter resources. You’re not limited by physical hardware, and you can scale up or down at any time.learn.microsoft+1
You can run Windows or Linux, deploy from pre-built OS images (Windows Server, Ubuntu, Red Hat), or use marketplace images pre-configured with SQL Server, SAP, and full application farms like SharePoint.[sedai]
Understanding VM Names
Azure VM names follow a consistent pattern once you know how to read them:
Standard_D16as_v5
| Part | Meaning |
|---|---|
Standard |
Pricing tier |
D |
VM family (general purpose) |
16 |
Number of vCPUs |
a |
AMD processor |
s |
Supports Premium SSD storage |
v5 |
Generation/version |
If the SKU ends in “s”, it supports Premium SSD. No “s” means you’re limited to Standard SSD or HDD.[learn.microsoft]
VM Types and When to Use Each
General Purpose (D, B, A series) — CPU:Memory ratio 1:4
The default choice for most workloads. Good balance of CPU and memory at a reasonable cost.[sedai]
Use for: Web servers, small-to-medium databases, dev/test, app servers[learn.microsoft]
Compute Optimized (F series) — CPU:Memory ratio 1:2
High CPU relative to memory. Good when your workload is CPU-bound but doesn’t need much RAM.[sedai]
Use for: Batch processing, network appliances, medium-traffic web servers, scientific simulations[pump]
Memory Optimized (E, M series) — CPU:Memory ratio 1:8+
The go-to for anything that needs large amounts of RAM. The E-series starts at 8 GiB per vCPU. The M-series goes up to several TiB of RAM.[docs.azure]
Use for: SQL Server OLTP, SAP HANA, large relational databases, in-memory analytics, Redis caches[cloudoptimo]
For SQL Server production workloads, Microsoft recommends an Ebdsv5 as the starting point — it hits the 8:1 memory-to-vCore ratio that SQL Server benefits from most.[docs.azure]
Storage Optimized (L series)
NVMe-backed local storage with very high disk throughput.[sedai]
Use for: Big Data, NoSQL (Cassandra, MongoDB), data warehousing, high-IOPS local storage scenarios[pump]
GPU (N series)
Single or multi-GPU configurations for graphics and AI workloads.[learn.microsoft]
Use for: ML model training (NC/ND series), GPU rendering and visualization (NV series), deep learning[pump]
FPGA (NP series)
Field Programmable Gate Arrays for hardware-accelerated computing.[learn.microsoft]
Use for: ML inference at scale, real-time analytics, hardware-accelerated processing
High Performance Compute (H, HB, HX series)
The fastest VMs in Azure, with optional RDMA networking for tightly coupled parallel workloads.[sedai]
Use for: Engineering simulations, financial modelling, weather forecasting, large-scale batch processing[pump]
Quick Workload-to-VM Cheat Sheet
| Workload | Recommended Series | Key Reason |
|---|---|---|
| Web app, app server | D-series | Balanced CPU + memory |
| Dev/test environment | B-series | Burstable, low cost |
| SQL Server production | Ebdsv5 (E-series) | 8:1 memory-to-vCore ratio |
| SAP HANA | M-series | Multi-TiB RAM support |
| Batch processing | F-series | High CPU, low cost per core |
| Big Data / NoSQL | L-series | NVMe local storage |
| ML training | NC / ND-series | GPU acceleration |
| HPC / simulations | HB / HX-series | RDMA + high CPU bandwidth |
azure+2
⚠️ VM Series Being Retired in 2026–2027
Several older VM sizes are being phased out:[learn.microsoft]
- NVv4-series — retiring September 30, 2026
- NP-series (FPGA) — retiring May 31, 2027
- HC-series and HBv2-series — retiring May 31, 2027
- Av1, Dv1, Dv2, DSv1 — capacity-limited, migration advised
Microsoft provides migration guides to current-gen equivalents. Check Azure VM retirement announcements regularly if you’re managing existing deployments.[learn.microsoft]
How to Pick the Right VM: 3 Questions
- What does the workload do? CPU-bound → F-series. Memory-bound → E or M-series. Balanced → D-series.
- Does it need Premium SSD? Check for “s” in the VM SKU name.
- Is it GPU or HPC? N-series for GPU. H-series for tightly coupled parallel workloads with RDMA.[sedai]
When in doubt, start with D-series, monitor with Azure Monitor or Azure Advisor, and right-size after a full workload cycle.[learn.microsoft]
❓ Exam-Style Q&A (Blog FAQ)
Q1. What is the CPU-to-memory ratio for general purpose VMs?
General purpose VMs (D-series) have a CPU-to-memory ratio of approximately 1:4, making them well-suited for balanced workloads like web servers and small databases.[learn.microsoft]
Q2. Which VM series should I use for an in-memory SQL Server production workload?
Use the E-series (specifically Ebdsv5 for production) — it offers an 8:1 memory-to-vCore ratio, which SQL Server benefits from most.[docs.azure]
Q3. What does the “s” suffix mean in an Azure VM SKU name?
The “s” suffix indicates the VM supports Premium SSD storage. Without it, you’re limited to Standard SSD or HDD.[learn.microsoft]
Q4. Which VM series is best for ML model training?
The NC and ND-series (N-family GPU VMs) are designed for ML training, deep learning, and GPU-accelerated workloads.[pump]
Q5. What is RDMA and which VM series supports it?
RDMA stands for Remote Direct Memory Access — it enables low-latency, high-bandwidth networking between VMs. The H-series (HB, HX, HC) VMs support optional RDMA networking for tightly coupled HPC workloads.[sedai]
Q6. Which VM series is optimized for batch processing with high CPU and low memory?
The F-series (Compute Optimized) has a 1:2 CPU-to-memory ratio and is designed for CPU-intensive tasks like batch processing, network appliances, and simulations.[sedai]
Q7. What VM type would you use for Big Data or NoSQL workloads needing high local disk throughput?
The L-series (Storage Optimized) is backed by NVMe local storage, making it ideal for Cassandra, MongoDB, and data warehouse scenarios requiring high IOPS.[pump]
Q8. Can you deploy a Linux VM in Azure?
Yes. Azure supports both Windows and Linux VMs, including distributions like Ubuntu, Red Hat, CentOS, and SUSE, all available as marketplace images.[learn.microsoft]
Q9. What is the B-series best suited for?
The B-series is burstable — it accumulates CPU credits during idle periods and uses them during traffic spikes. It’s best for dev/test, low-utilization, or intermittent workloads where paying for constant CPU performance isn’t cost-effective.[sedai]
Q10. How often do Azure VM series change?
Frequently. Microsoft regularly adds new series and retires older ones. Always check the official Azure VM sizes documentation before designing new deployments, especially with several series retiring in 2026–2027.[learn.microsoft]
