Business Challenge
Phase 3 of this series spent fifty posts on the network. This one opens Phase 4 on compute, and it starts with the thing everybody does before anything else and almost nobody does deliberately: picking a VM size from a dropdown.
The dropdown is the problem. It presents a few hundred strings β D4as_v6, E16-4ds_v5, Dpldsv6, FX32mds_v2, ND_H100_v5 β sorted by price, with vCPU and memory columns beside them. Sorted that way they look like a single scale from small to large, which invites exactly one question: how many cores and how much RAM do I need? Two numbers, picked from a list.
But those strings are not opaque. Microsoft documents a grammar: “Azure VM sizes follow specific naming conventions to denote varying features and specifications. Each character in the name represents different aspects of the VM.” The positions are fixed, the letters have defined meanings, and the two columns in the portal β vCPUs and memory β are the two things a size name tells you least about, because they are also the two things every other size can match.
What this post is for
Not to list the families. The documentation does that better, and it changes monthly. The point is that the size name is a decision record: eight positions, each one a choice somebody at Microsoft made explicit so you would not have to read a spec sheet. Learn to read it and size selection stops being a lookup and becomes a design step — including the one position that has nothing to do with performance at all.
Architecture
The grammar, in the order it is written
The documented pattern is this, with the starred positions optional:
[Family] + [Sub-family]* + [# of vCPUs] + [Constrained vCPUs]* + [Additive Features] + [Accelerator Type]* + [Memory Capacity]* + [Version]
| Position | What it carries | Example |
|---|---|---|
| Family | The VM Family Series β the workload type and the broad ratio | E in E96bds_v5 |
| Sub-family | A specialised differentiation within the family, upper case | C in NC4as_T4_v3 |
| # of vCPUs | The number of vCPUs of the VM | 96 in E96bds_v5 |
| Constrained vCPUs | The number of vCPUs available on a constrained-capable size | 2 in M8-2ms_v2 |
| Additive features | Lower-case letters, any number of them | bds in E96bds_v5 |
| Accelerator type | The hardware accelerator in a GPU or specialised SKU | T4 in NC4as_T4_v3 |
| Memory capacity | M-series memory, rounded to the nearest TiB | 1 in M48ds_1_v3 |
| Version | The version number of the family series | v5 in E96bds_v5 |
Three asymmetries in that pattern matter more than the pattern itself.
Absence carries meaning. “Version numbers only appear in the size name if there are multiple versions of the same series. If you're using the first version of a series (HB-series, B-series, etc.) it's often not included in the size name.” So a missing v is not a missing field β it is v1. And more usefully: “If no feature letter for a CPU is listed, the series uses Intel x86-64 CPUs.” Intel is the unmarked default; AMD is a; ARM is p, which the documentation specifies as Microsoft Cobalt or Ampere Altra.
The number of characters per position is not fixed. “Most families are represented using one letter, but others such as GPU sizes (ND-series, NV-series, etc.) use two”, and “There can be any number of extra features in a size name. There could be none (Dv5-series) or there could be three (Dplds_v6-series).” Which means you parse a size name by position, not by character count.
The underscore is not a terminator. It usually precedes the version, but “Spacers can show up multiple times in a size name such as in the ND_H100_v5-series. In this case they separate the GPU ID from the rest of the size name.” Anyone writing a regex over size names learns this the hard way.
The letters, grouped by what they actually change
Microsoft documents the additive features as one alphabetical list. Read that way they are impossible to hold. Grouped by the thing they change, there are only four kinds.
| Kind | Letters | Documented meaning |
|---|---|---|
| Silicon | a Β· p Β· (none) |
a = AMD-based processor, p = ARM-based processor, nothing = Intel x86-64 |
| Storage | d Β· s Β· b Β· o |
d = includes local temporary disks, s = compatible with any Premium SSD type, b = remote storage bandwidth optimized, o = increased vCPU to local SSD storage capacity ratio |
| Memory ratio | t Β· l Β· f Β· m |
t = tiny memory, smallest vCPU to memory ratio in a particular size; l = low memory, decreased ratio; f = flat ratio (1:1) of vCPU to memory size; m = memory intensive, highest ratio in a particular series |
| Network and isolation | n Β· r Β· i Β· e |
n = network optimized, increased vCPU to network bandwidth ratio; r = includes RDMA (InfiniBand) secondary network; i = isolated size; e = encrypted, contains confidential TDX capabilities |
That grouping makes one thing visible that the alphabetical list hides. The silicon letters are mutually exclusive, the storage letters stack, and the memory-ratio letters are relative, not absolute. More on that below, because it is the single most common misreading of a size name.
The upper-case sub-family letters are a separate alphabet with its own meanings β B memory bandwidth optimized, C confidential or compute intensive, D AI training and inference optimized, G cloud gaming and remote desktop optimized, H high core density, V visualization and graphics optimized, X extra memory. Case is load-bearing: D as a family means general purpose, D as a sub-family means AI.
Why This Architecture Holds Up
Because the ratio letters are relative, and that is where the misreading happens
The m in a size name does not mean “a lot of memory”. It means “memory intensive; highest vCPU to memory ratio in a particular series”. Those are very different claims. m is a comparison against the other sizes in that series, so an E-family m and an M-family m both say the same thing about intent and nothing comparable about hardware.
The same applies downward. l is “low memory; decreased vCPU to memory ratio” and t is “tiny memory; smallest vCPU to memory ratio in a particular size” β both relative, both to a different baseline depending on where they appear. f is the only one of the four that states an absolute: “flat ratio (1:1) of vCPU to memory size”.
The practical consequence
You cannot compare two sizes from different families by reading their letters. Dls_v6 and Els_v6 would both be “low memory” and would land in different places entirely, because D and E start from different ratios. The letters narrow a family; the family decides the ratio. Reading the letters first and the family second is how a workload ends up on the right shape of the wrong machine.
Because the family letter is a workload statement, and a few of them are not what the letter suggests
The family map is mostly intuitive β D general purpose, E memory optimized, F compute optimized, L storage optimized, N accelerated, H high performance compute β with general purpose defined as “balanced CPU-to-memory ratio”, memory optimized as “a high memory-to-CPU ratio” and F as “a high CPU-to-memory ratio”. Three are worth calling out because the letter does not tell you.
| Family | What the letter suggests | What it actually is |
|---|---|---|
B |
Another general purpose tier, cheaper | A different billing model: “the only VM type that use credits for CPU performance provisioning” β accrue credits below the base threshold, spend them above it, and get throttled back to base when they run out |
FX |
A bigger F, so more compute | Compute optimized by type, but aimed at “Electronic Design Automation (EDA)”, large memory relational databases and in-memory analytics |
Eb |
An E with a stray letter | A documented sub-family β “E-family with High remote storage performance” β and the series Microsoft names as a SQL Server preferred option |
The B row is the one that causes real incidents. A burstable VM does not behave badly under sustained load β it behaves exactly as documented, and the documentation says it will be throttled to its base performance once credits are exhausted. A workload that was fine in test for a week and degraded in production on day three has usually not hit a platform fault; it has spent its credit balance.
One more thing visible only in the family list and nowhere in the name: the HC-series is marked “retiring May 31, 2027”. A size name carries no lifecycle information at all, which is worth knowing before standardising a template on one.
Because one position in the name exists for a licence, not for a workload
This is the part of VM sizing that is genuinely an architecture decision, and it is the position most people have never used. The reasoning in the documentation is unusually direct:
Why constrained vCPU sizes exist
“Some database workloads require high memory, storage, and I/O bandwidth, but don't benefit from a high number of cores. Products designed for these workloads are often licensed on a per-CPU-core basis. This licensing system means that a VM size with otherwise ideal specifications but an excessive vCPU count can cause a substantial increase in licensing costs.”
So Azure publishes sizes with vCPUs switched off. “The original size's available vCPU count can be reduced to either one half or one quarter of the original size specification”, and the number of active vCPUs goes into the name after a hyphen. The worked example in the documentation is the clearest thing on the page:
| Size | Disabled vCPUs | Active vCPUs | Memory, storage, I/O |
|---|---|---|---|
Standard_E32s_v5 (base) | 0 | 32 | 256 GiB, 32 disks, 80,000 IOPs |
Standard_E32-16s_v5 | 16 | 16 | 256 GiB, 32 disks, 80,000 IOPs |
Standard_E32-8s_v5 | 24 | 8 | 256 GiB, 32 disks, 80,000 IOPs |
Nothing is reduced except the cores. Work the ratios and the point becomes arithmetic rather than rhetoric. The base size gives 8 GiB of memory per licensed core (256 ÷ 32). The quarter-constrained size gives 32 GiB per licensed core (256 ÷ 8) and 10,000 IOPs per licensed core (80,000 ÷ 8). The documentation puts it as “a 50% to 75% increase in the ratio of the VM specs to available (billable) vCPUs while maintaining the benefits of the original VM size's specifications.”
And the trade is explicit: “At this time, the VM pricing, remains the same as the original size.” You pay Azure for 32 cores and SQL Server for 8. Since “The licensing fees charged for SQL Server are based on the available vCPU count”, and per-core database licensing is routinely the larger line of the two, paying for 24 cores you cannot use is the cheaper option. That is a strange sentence and it is the correct one.
The constraint that bites afterwards
“Disabled vCPUs are not available for use by the VM. If your VM has multiple workloads assigned to it then it may require more vCPUs.” The documented advice is to “relocate secondary tasks to another virtual machine to avoid increased licensing costs.”
So a constrained size is a commitment to single-tenanting that box. The monitoring agent, the backup agent and the batch job somebody adds next quarter are all competing for eight cores, and the fix β unconstraining the size β is the thing you bought it to avoid.
Constrained sizes are published for the M, E, F, FX, G, D and H families. The H-family entries are the surprise: Standard_HB368-48rs_v5 gives 48 active vCPUs on a 368-vCPU base, which is per-core licensing logic applied to HPC rather than to databases.
Because the version number is the only part that tracks the hardware
The family and the letters describe a shape. The version describes the generation of silicon under it, and it is the position where the same name means different hardware over time. The D-family alone currently spans v5, v6 and v7 series in the published family list, with Intel, AMD and ARM variants in each.
Which produces a practical rule for anything written down β a Terraform variable, a runbook, an architecture document. D8s_v5 and D8s_v6 are the same shape on different hardware, and D8ps_v6 is the same shape on a different instruction set. The first substitution is a performance and price change. The second one needs your binaries recompiled. Both look like a one-character diff in review.
Key Architecture Decisions
| Decision | Read this in the name | Because |
|---|---|---|
| Which CPU am I getting? | a AMD Β· p ARM Β· no letter Intel |
Intel is the unmarked default; p means Cobalt or Ampere Altra and changes the instruction set |
| Is there a local temp disk? | d |
d = includes local temporary disks; without it there is no temp disk to put a page file or scratch on |
| Can I attach Premium SSD? | s |
s = compatible with any Premium SSD type |
| Remote storage is my bottleneck | b, or the Eb sub-family |
b = remote storage bandwidth optimized; Eb is documented as E-family with high remote storage performance |
| Per-core licensed database | The hyphenated constrained position | Half or quarter the vCPUs at the same memory, storage, I/O and Azure price β and a lower licence bill |
| Will this box ever run a second workload? | If yes, do not constrain | Disabled vCPUs are not available to the VM, and secondary tasks belong on another machine |
| Sustained CPU load | Avoid the B family |
Burstable sizes throttle back to base performance once CPU credits are exhausted |
| MPI or tightly coupled HPC | r |
r = includes RDMA (InfiniBand) secondary network β the interconnect, not the bandwidth |
| Confidential computing | DC / EC family, or e |
The C sub-family is confidential for DC/EC; e means encrypted with confidential TDX capabilities |
| GPU selection | The accelerator position | Only specialised and GPU SKUs launched from Q3 2020 carry the accelerator in the name β older ones do not |
| Standardising a template on a size | Check the lifecycle separately | The name carries no retirement date; HC-series is retiring 31 May 2027 and reads like any other size |
Closing Thought
The reason to learn this grammar is not trivia. It is that a size name is the most compressed design document Azure gives you, and the portal's two columns throw almost all of it away. E32-8ds_v5 and D32ls_v5 have the same vCPU count in the dropdown and share nothing else: different ratio, different storage, different licence exposure, different hardware generation.
And the constrained position is worth sitting with, because it is the clearest case in Azure of a platform feature whose entire purpose is to work around somebody else's pricing model. Microsoft built a way to pay them for cores you are contractually prevented from using, because the alternative β paying a database vendor per core for cores you did not want β costs more. Nothing about that is in the performance documentation, and it is the decision with the largest number attached to it.
The one line to take away
Read the name by position, not by character: family and version tell you the hardware, the lower-case letters tell you the shape, and the hyphenated number tells you what you are licensing. The ratio letters β t, l, f, m β are relative to the series, so they are only comparable inside one family.
Next in the series: vCPU quotas, families and regional capacity β because the size you chose is only available where Azure has it, and the quota is counted per family.
Official Azure Reference
- Azure VM sizes naming conventions — the full positional pattern with its optional positions, the meaning of the family, vCPU count and version fields, the complete sub-family letter list covering memory bandwidth, confidential and compute intensive, AI, cloud gaming, high core density, visualization and extra memory, the complete additive feature letter list covering AMD and ARM processors, remote storage bandwidth, local temporary disks, TDX encryption, flat and tiny and low and memory-intensive ratios, isolation, network optimisation, local SSD capacity, RDMA InfiniBand and Premium SSD compatibility, the accelerator type and Q3 2020 cutoff, the M-series memory capacity rounding, the constrained vCPU position, and the five worked breakdowns of M48ds_1_v3, NV16as_v4, NC4as_T4_v3, M8-2ms_v2 and E96bds_v5
- Virtual machine sizes overview — the series-versus-size distinction, the one-letter and two-letter family rule, the sub-family exceptions such as Ebsv5, the Intel default with AMD as a and ARM as p for Cobalt and Ampere Altra, the variable number of additive features, the first-version naming rule, the repeated spacer in ND_H100_v5, the six workload types, the full family list by type with workloads for the A, B, D, DC, F, FX, E, Eb, EC, M, L, NC, ND, NG, NV, NP, HB, HC and HX families, the general purpose, memory optimized, storage optimized and compute optimized ratio definitions, the B-family CPU credit model, the D-family comparison with the A-series, and the HC-series retirement date
- Constrained vCPU capable VM sizes — the per-core licensing rationale, the one-half and one-quarter reduction rule and the naming suffix, the SQL Server licensing basis and third-party counting behaviour, the 50% to 75% ratio increase, the Standard_E32s_v5 worked comparison with its 256 GiB, 32 disks and 80,000 IOPs retained across the E32-16s_v5 and E32-8s_v5, the disabled-vCPU and multiple-workload warning, the statement that pricing remains the same as the original size, and the per-family lists for M, E, F, FX, G, D and H
- D family VM size series — the per-series specifications behind the generation comparison (no claims drawn from it)
- End of life VM sizes — the retirement list a size name cannot tell you about (no claims drawn from it)
Comments