Business Challenge
The previous post treated a machine type name as a grammar with four positions. This one spends that grammar on the family most workloads actually land in, described by Google as the one which has the best price-performance with the most flexible vCPU to memory ratios, and provides features that target most standard and cloud-native workloads.
That flexibility is the problem as well as the selling point. The general-purpose machine family has predefined and custom machine types to align with your workload, depending on your requirements — and inside it the ratio words shift, the generation numbers do not rank by size, and one series name covers two different processors.
N4 is newer and smaller. N2 supports up to 128 vCPUs and 864 GB of memory. N4 supports up to 80 vCPUs and 640 GB of DDR5 memory. There is no N4 shape that matches the top of the N2 range.
Two capabilities disappear with it. N4 doesn't support Local SSD or per VM Tier_1 networking performance, where N2 supports 50 Gbps, 75 Gbps, and 100 Gbps high-bandwidth network configurations and publishes selectable Local SSD counts per machine type.
Correct approachRead N4 as a cost shape rather than an upgrade. Its own description says so: it is built from the ground up for flexibility and cost optimization through an efficient architecture of streamlined features, shapes, and next generation dynamic resource management, which makes better use of resources on host machines, and it is suited for a variety of general-purpose workloads that don't require peak processing power at all times. If you need the ceiling or the Local SSD, N2 remains the answer despite being three generations older.
It does on two of these four series and not on the other two. N2 publishes standard: 4 GB of system memory per vCPU, highmem: 8 GB of system memory per vCPU, highcpu: 1 GB of system memory per vCPU. N4 publishes standard: 4 GB memory per vCPU, highcpu: 2 GB memory per vCPU, highmem: 8 GB memory per vCPU.
C4 is fractional: standard: 3.75 GB memory per vCPU, highcpu: 2 GB memory per vCPU, highmem: 7.75 GB memory per vCPU. And E2 is not a value at all — the cost-optimized E2 machine series have between 2 to 32 vCPUs with a ratio of 0.5 GB to 8 GB of memory per vCPU for standard VMs.
Correct approach
Note that highcpu moves too, from 1 GB per vCPU on N2 to 2 GB on N4 and C4 — so the same word doubles your memory between two series in the same family. Size from the per-series ratio, not from the family-level one in the machine families guide, which is honest about being approximate: standard — from 3 to 7 GB memory per vCPU; typically, 4 GB memory per vCPU.
Because C4 is not one processor. C4 VMs are powered by 6th generation (code-named Granite Rapids) or 5th generation (code-named Emerald Rapids) Intel Xeon Scalable processors and Titanium, and which one you get is decided by shape: C4 Local SSD (-lssd) and bare metal (-metal) instances, as well as instances with 144 or 288 vCPUs, use the 6th generation Intel Granite Rapids processor. All other instances use the 5th generation Intel Emerald Rapids processor.
That split gates real features. Supports up to 192 vCPUs for Confidential VM with Intel TDX using Granite Rapids processors. Intel TDX support isn't available on Emerald Rapids processors. And separately: C4 sole tenant nodes are available for only Granite Rapids.
Correct approach
If a C4 deployment depends on Intel TDX or sole-tenancy, pin the shapes that land on Granite Rapids — the -lssd and -metal variants, or 144 and 288 vCPUs — and treat smaller C4 shapes as a different platform that happens to share a name. This is the #111 lesson applied: the name narrows the hardware, and does not determine it.
Architecture
Four series, four ceilings, and four readings of the same three words.
E2: the floor, and what the floor costs
E2 is the cheapest way to run a general-purpose VM and the documentation says so plainly: it offers the lowest on demand pricing across the general-purpose machine types. Its ceiling is correspondingly low — supports up to 32 vCPUs and up to 128 GB of memory for predefined machine types, or up to 256 GB of memory for custom machine types.
The omissions are the interesting part. Doesn't support GPUs, Local SSDs, sole-tenant nodes, or nested virtualization — four capabilities, any one of which can be a blocking requirement. And the discount structure differs from the rest of the family: doesn't offer sustained use discounts (SUDs); however, it provides consistently low on-demand and committed-use pricing. If your cost model assumes SUDs accrue automatically on long-running VMs, E2 is the series where that assumption silently does not hold.
It also declines to tell you what you are running on: the E2 machine series offers both Intel and AMD EPYC processors. The processor is selected for you at the time of VM creation. For most workloads that is fine. For anything that tunes to an instruction set extension, it rules E2 out before price enters the conversation.
Below the predefined types sit the shared-core shapes from #111, and this page explains the mechanism rather than just the fractions: the E2 machine series shared-core machine types use context-switching for multi-tasking, and time-share a single physical core for a specific fraction of time. At the top of that range, e2-medium sustains 2 vCPUs, each at 50% of CPU time, totaling 100% CPU time.
N2: the oldest of the four, and still the largest
E2, E2 shared-core, N2, N2D, Tau T2A, and Tau T2D are second generation machine series in this family; N1 and its related shared-core machine types are the first generation machine series. N2 is therefore two generations behind N4 and three behind the C4 family members — and it has the biggest predefined shapes of the four, at up to 128 vCPUs and 864 GB of memory.
Its machine type table makes the ratio concrete at both ends: n2-standard-2 2 8 at the bottom and n2-standard-128 128 512 at the top, with the familiar footnote on what the digit counts — each CPU uses two threads per core. A vCPU is implemented as a single hardware thread on one of the available CPU platforms.
One N2 feature is worth knowing for reasons that have nothing to do with performance. Has higher memory-to-core ratios for VMs created with the extended memory feature. Using the extended memory feature helps control per-CPU software licensing costs while providing access to more than 8 GB of memory per vCPU. That is a licensing lever dressed as a capacity feature: when a database is licensed per core, buying memory without buying cores is the whole game. #114 takes extended memory properly.
N2 also carries the fuller discount set — resource-based and flexible committed use discounts (CUDs), sustained use discounts (SUDs), Spot VMs, reservations — which is the line E2 is missing one item from.
N4: newer, smaller, cheaper
N4 is powered by the fifth generation Intel Xeon Scalable processor (code-named Emerald Rapids). N4 offers a sustained, all-core turbo frequency of 2.9 GHz, 640 GB of DDR5 memory, and up to 50 Gbps of standard network bandwidth. Against N2's 100 Gbps option and larger ceiling, that reads like a downgrade until you read what it is for.
The design intent is cost, achieved by giving the platform more freedom: N4 machine types are built from the ground up for flexibility and cost optimization through an efficient architecture of streamlined features, shapes, and next generation dynamic resource management, which makes better use of resources on host machines. "Better use of resources on host machines" is doing a lot of work in that sentence — it is the mechanism by which a cheaper VM is possible, and it is also why the series targets workloads that don't require peak processing power at all times.
What you get in exchange for the missing features is flexibility at the top of the range: offers multiple predefined machine types and custom machine types and extended custom memory up to 640 GB. Custom machine types are available here and are not available on C4 or C4D. Its predefined shapes run n4-standard-2 2 8 Not supported through n4-standard-80 80 320 Not supported — the "Not supported" column being Local SSD, stated per row.
C4 and its siblings: the performance end
C4 is the largest and fastest of the four, and the one with the most internal variation. Supports up to 288 vCPUs and 2.2 TB of DDR5 memory, supports up to 18 TiB of local Titanium SSD disks, and in predefined shapes it is available as predefined configurations in sizes ranging from 2 vCPUs to 288 vCPUs and up to 2,232 GB of memory. It also exposes a knob the others do not: it lets you switch between core-boosting performance and steady all-core turbo performance for your vCPUs.
Both C4 and N4 carry an on-CPU accelerator worth knowing about before reaching for a GPU: each supports Intel Advanced Matrix Extensions (AMX), a built-in accelerator that significantly improves the performance of deep-learning training and inference on the CPU.
The AMD sibling is bigger again. C4D is powered by the fifth generation AMD EPYC Turin processor and Titanium. These machine types have up to 384 vCPUs and 3,024 GB of DDR5 memory, a max-boost frequency of 4.1 GHz, and up to 200 Gbps per VM Tier_1 networking performance. Google publishes comparative figures against the previous generation: C4D delivers a 30% performance boost over C3D on the estimated SPECrate benchmark, and for databases C4D delivers 55% more queries per second for MySQL and 35% higher operations per second for Memorystore for Redis workloads compared to C3D. For web serving, AMD EPYC Turin's advancements in L3-cache efficiency and branch prediction enable up to 80% higher throughput per vCPU with C4D.
C4D also removes two things. C4D doesn't support All Core Turbo Mode setting. C4D instances always run without frequency restrictions — the knob C4 offers is absent because the behaviour is unconditional. And on storage it supports only Hyperdisk volumes, which means no Persistent Disk: a constraint that can invalidate an otherwise straightforward migration.
The Arm members complete the set. C4A is powered by Google's Axion processor built on the Arm Neoverse V2 compute core. C4A provides standard, highcpu, and highmem machine types with up to 72 vCPUs, 576 GB DDR5 memory, 6 TiB of local Titanium SSD, and up to 100 Gbps with per VM Tier_1 networking performance, and it also offers Local SSD (-lssd) machine types and a highmem bare metal (-metal) machine type with 96 vCPUs and 768 GB DDR5 memory. On the N side, N4A is powered by Google's Axion processor built on the Arm Neoverse N3 compute core. N4A provides machine types of up to 64 vCPUs and 512 GB of DDR5 memory. And the AMD N: N4D is powered by the fifth generation AMD EPYC Turin processor and Titanium. These machine types have up to 96 vCPUs and 768 GB of DDR5 memory, and a max-boost frequency of 4.1 GHz. N4D offers 50 Gbps of standard network bandwidth.
Why This Architecture Holds Up
Take the C4D standard ratio and apply it. At small sizes the published memory is a gigabyte short of the round number: c4d-standard-2 2 7 No, c4d-standard-4 4 15 No, c4d-standard-8 8 31 No. Not 8, 16 and 32. If you have sized a workload at the edge of its memory envelope on a small C4D shape, that gigabyte is real.
The second surprise runs the other way, at the top of the range. The largest C4D VM is c4d-standard-384 384 1,488 No — and the same shape as bare metal carries more: the series supports up to 3,024 GB of DDR5 memory for VM instances and up to 3,072 GB of memory for bare metal instances.
That gap is the hypervisor, quantified. It also changes what the vCPU digit counts, which is the one thing #111 said the name could not tell you. On a VM, a CPU uses two threads per core, and a vCPU represents a single thread. On metal, for bare metal instances, the number of vCPUs is equivalent to the number of hardware threads on the host server. The same 384 means threads allocated to a guest in one case and every thread on the physical machine in the other.
Google's own workload mapping, which is more useful than the specs
The page publishes a table matching series to workloads, and it is worth reading before any benchmark. The N line — N4, N4A, N4D, N2, N2D, N1 — is for medium traffic web and application servers, containerized microservices, business intelligence, virtual desktops, CRM, development and test, and batch.
The C line — C4A, C4, C4D, C3, C3D — is for high traffic web, app and ad servers, databases and caches, game servers, data analytics, media streaming and transcoding, network appliances, and CPU-based ML. The distinction between the two lines is traffic volume rather than workload type: the same web server appears on both, sized differently.
E2's list is explicitly the small end: E2 Low-traffic web servers Back office apps Containerized microservices Small databases Virtual desktops Development and test environments. And the Tau series is scale-out specifically: Tau T2A, Tau T2D Scale-out workloads Web servers Containerized microservices Media transcoding Large-scale Java applications — which is where #111's note that T2D gives a whole core per vCPU pays off, because scale-out is exactly where per-core performance consistency matters.
One cross-cutting fact for anyone choosing on the basis of tenancy: for bare metal machine types, choose the C4, C4D, or C3 machine series. All third and fourth generation general-purpose VMs support Titanium. Bare metal is a C-series capability in this family; no N or E shape offers it.
And one limitation that will outlive its OS: you can't use Windows Server 2016 OS images with machine types that have more than 255 vCPUs. The large C4D shapes are unavailable to that image regardless of licensing.
Key Architecture Decisions
| Situation | Decision | Because |
|---|---|---|
| Sizing from a ratio word | Read the per-series ratio, not the family one | C4 standard is 3.75 GB/vCPU; N2 highcpu is 1 GB against N4's 2. |
| Wanting the newest N series | Check the ceiling before migrating | N4 stops at 80 vCPUs and 640 GB; N2 reaches 128 and 864. |
| Needing Local SSD on an N series | N2, not N4 | N4 supports neither Local SSD nor Tier_1 networking. |
| Cheapest general-purpose VM | E2, if none of its four omissions bite | No GPUs, Local SSD, sole-tenant nodes or nested virtualization. |
| Cost model assuming SUDs | Re-check it on E2 | E2 offers no sustained use discounts, only CUDs and Spot. |
| Workload tuned to one CPU vendor | Any series but E2 | E2's processor is selected for you at creation time. |
| C4 with Intel TDX or sole-tenancy | Pin -lssd, -metal, 144 or 288 vCPUs |
Only those shapes land on Granite Rapids. |
| Migrating to C4D from Persistent Disk | Plan a Hyperdisk conversion first | C4D supports only Hyperdisk volumes. |
| Wanting frequency control on AMD | Accept that C4D has none | It always runs without frequency restrictions. |
| Deep-learning inference on CPU | C4 or N4, for AMX | Both carry Intel Advanced Matrix Extensions. |
| Per-core software licensing | N2 extended memory | Documented as a way to control per-CPU licensing costs. |
| Needing bare metal in this family | C4, C4D or C3 — or C4A for Arm | No N or E series offers a metal machine type. |
| Sizing a small C4D at its memory edge | Read the table, not the ratio | c4d-standard-2 is 7 GB, not 8. |
The one to look at today
For every general-purpose VM you run, write down the series and then the per-series ratio for its type word — not the family-level one. Any workload sized on an assumption of 4 GB per vCPU that is actually running C4 is carrying a quarter less memory per vCPU than the model says, and any N2 highcpu shape has half the memory per vCPU of the N4 equivalent. Then check two things that are binary rather than gradual: whether anything on E2 depends on sustained use discounts accruing, and whether any C4 deployment expects Intel TDX without being pinned to a Granite Rapids shape.
Closing Thought
#111 argued that a machine type name is readable once you know the grammar. This post is the qualification: the grammar tells you which question each position answers, not what the answer is. standard reliably means "the middle ratio for this series" and unreliably means 4 GB per vCPU. A higher generation number reliably means newer silicon and unreliably means more of anything. The series name reliably narrows the processor and, in C4's case, does not determine it.
Which is the same shape of problem the networking phase kept producing, arriving from the other direction. There, the terms promised more than they delivered. Here, the names are precise about structure and silent about magnitude — and the magnitudes are in a table one click away, which is exactly where a capacity model should be getting them from anyway.
#113 takes the compute-optimised and memory-optimised families — the C2 and H3 line, and the M series built for large in-memory databases — where the general-purpose compromise is abandoned deliberately in one direction or the other.
Official Google Cloud Reference
- General-purpose machine family
- Machine families resource and comparison guide
- CPU platforms
- Compute-optimized machine family
- Memory-optimized machine family
- Network-optimized machine family
- Create a VM with a custom machine type
- Local SSD disks
- Change the machine type of a stopped instance
- Apply machine type recommendations
- Machine images
- Naming resources
Comments