Business Challenge
The networking phase ended with a tool for asking whether traffic reaches a backend. This phase is about what the backend is. And the first obstacle in Compute Engine is not a concept but a vocabulary, in which a machine type name looks like a part number and is closer to a sentence.
Consider n2-standard-4, c3d-highmem-360-lssd, m4n-ultramem-28, c4a-highmem-96-metal and f1-micro. The structure behind them is three levels deep — each machine family is further organized into machine series and predefined machine types within each series. For example, within the N2 machine series in the general-purpose machine family, you can select the n2-standard-4 machine type — and every segment of the name answers a question you would otherwise have to look up.
The digit is reliable; the unit behind it is not. On most series, each virtual CPU (vCPU) is implemented as a single hardware multithread, and two vCPUs share each physical CPU core by default — so a 16 is sixteen threads on eight cores.
On some series it is not. The Tau T2D machine series doesn't use cluster-threading, so a vCPU is equivalent to an entire core. And on Google's own Arm silicon: N4A instances don't use simultaneous multithreading (SMT). A vCPU in an N4A instance is equivalent to an entire physical core.
Correct approachTreat a vCPU count as comparable only within a series. Moving a workload from a 16-vCPU SMT series to a 16-vCPU non-SMT series is roughly a doubling of physical cores, not a like-for-like migration — and benchmarking is the only honest way to size across that boundary, because the name gives you no signal that the boundary exists.
It is not. The documented ranges put them in an order English does not suggest: hypermem — from 15 to 24 GB memory per vCPU; typically, 16 GB memory per vCPU, while ultramem — from 24 to 31 GB memory per vCPU. Ultra outranks hyper.
The published machine types bear it out. The M4N table lists its rows as machine type, vCPUs, then memory in GB: m4n-hypermem-2 2 31 against m4n-ultramem-28 28 744 — a visibly higher ratio per vCPU on the ultramem row.
Correct approach
Learn the sequence once, in order, because it is not derivable: highcpu, standard, highmem, megamem, hypermem, ultramem. Note that Google's own list prints ultramem before hypermem, which is one more reason to check the number rather than the word.
It usually does and it is not a guarantee. The global definition is a range with a typical value: standard — from 3 to 7 GB memory per vCPU; typically, 4 GB memory per vCPU. The word "typically" is load-bearing.
E2 falls outside the band at both ends: 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. Half a gigabyte per vCPU to eight, against a documented 3-to-7 for the word standard.
Use the ratio word to form an expectation and the series page to confirm it. For capacity planning, read the machine type table; the name narrows the answer to within a factor of two or so, which is useful for choosing and not sufficient for committing.
Architecture
One name, four positions, and a hierarchy three levels deep.
Position one: series and generation
Machine series: Machine families are further classified by series, generation, and processor type. Each series focuses on a different aspect of computing power or performance. The letter carries intent — for example, the E series offers efficient VMs at a low cost, while the C series offers better performance — and the digit carries age: the generation is denoted by an ascending number. For example, the N1 series within the general-purpose machine family is the older version of the N2 series.
What the digit means is narrower than it looks. A higher generation or series number usually indicates newer underlying CPU platforms or technologies, illustrated with hardware rather than capacity: the M3 series, which runs on Intel Xeon Scalable Processor 3rd Generation (Ice Lake), is a newer generation than the M2 series, which runs on Intel Xeon Scalable Processor 2nd Generation (Cascade Lake). Newer silicon. Not necessarily more of anything.
Position two: the processor letter, which is the most informative character
Read the generation table by column and a rule appears that no prose states outright. 5th generation machine series X5 N/A A5X. 4th generation machine series N4, C4, C4N, Z4M, X4, M4, M4N, A4 — C4D, G4, N4D, H4D, Z4D — N4A, C4A, A4X Max, A4X. 3rd generation machine series C3, H3, Z3, M3, A3 — C3D — N/A. 2nd generation machine series N2, E2, C2, M2, A2, G2 — N2D, C2D, T2D, E2 — T2A.
The columns are Intel, AMD and Arm. Every series in the AMD column ends in D; every series in the Arm column ends in A. So C3 is Intel and C3D is AMD; N4 is Intel, N4D is AMD, N4A is Arm. That trailing letter decides your instruction set, and it is the easiest character in the name to skim past.
Arm here means Google's own silicon. The N4A machine series is powered by Google's custom-designed Axion processor, and the C4A machine series is powered by Google Axion, and built on the Arm Neoverse V2 compute core, which supports Arm V9 architecture. On sizing: C4A VMs are available as predefined configurations in sizes ranging from 1 vCPU to 72 vCPUs and up to 576 GB of memory.
One series refuses to tell you at all. The E2 machine series offers both Intel and AMD EPYC processors. The processor is selected for you at the time of VM creation. If your workload cares which vendor it lands on, E2 is the wrong series regardless of price.
Position three: the ratio word, and position four: the count
Predefined machine types come with a non-modifiable amount of memory and vCPUs, and the word in the middle is a ratio rather than a size. The full set, as documented: highcpu — from 1 to 3 GB memory per vCPU; typically, 2 GB memory per vCPU. standard — from 3 to 7 GB memory per vCPU; typically, 4 GB memory per vCPU. highmem — from 7 to 12 GB memory per vCPU; typically, 8 GB memory per vCPU. megamem — from 12 to 15 GB memory per vCPU; typically, 14 GB memory per vCPU. hypermem — from 15 to 24 GB memory per vCPU; typically, 16 GB memory per vCPU. ultramem — from 24 to 31 GB memory per vCPU.
The trailing number is always vCPUs, and memory is the product of the two. Google gives the arithmetic explicitly: for example, a c3-standard-22 machine type has 22 vCPUs, and as a standard machine type, it also has 88 GB of memory, and the n2-standard-4 machine type creates a VM with 4 vCPUs and 16 GB of memory. Once you have the ratio word, you can predict the memory of a machine type you have never seen.
The suffixes, which are storage and tenancy rather than size
Local SSD machine types are special predefined machine types. The machine type names include lssd, and there are three distinct forms. The plain one: -lssd: Available with the C4, C4A, C4D, C4N, C3, C3D, and H4D machine series, these machine types attach a predetermined number of 375 GiB Titanium SSD or Local SSD disks to the instance — with examples of this machine type include c4a-standard-4-lssd, c3-standard-88-lssd, and c3d-highmem-360-lssd.
The other two are storage-optimized only and are expressed per vCPU: -standardlssd: Available with the storage-optimized Z3 and Z4D machine series, these machine types provide between 200 and 275 GiB of Titanium SSD disk capacity per vCPU, and -highlssd: Available with the Z3 and Z4D machine series, these machine types provide between 375 and 438 GiB of Titanium SSD disk capacity per vCPU.
And one suffix changes the nature of the machine rather than its storage. Bare metal machine types are special predefined machine types. The machine type name includes -metal. When you create a compute instance using one of these machine types, there is no hypervisor installed on the instance. Usefully for everything the last thirty posts covered: bare metal instances can be used in VPC networks and subnetworks in the same way as VM instances.
The six families
The family is not in the name — you infer it from the series letter — but it is what the series is built for. General-purpose — best price-performance ratio for a variety of workloads. Compute-optimized — designed for high performance computing (HPC) solutions and compute-intensive workloads; offers high performance per core on Compute Engine. Memory-optimized — ideal for memory-intensive workloads, offering more memory per core than other machine families, with up to 12 TB of memory. Storage-optimized — best for workloads that are low in core usage and high in storage density. Accelerator-optimized — ideal for massively parallelized Compute Unified Device Architecture (CUDA) compute workloads.
The sixth is the newest and has the clearest rationale. The network-optimized machine family delivers the highest network and block storage performance within Compute Engine, aimed at IO-intensive workloads that require high network bandwidth, superior packet processing performance, and superior block storage throughput and IOPS per vCPU. The argument for its existence is an economic one: by eliminating the need to over-provision compute resources just to scale I/O capabilities, the network-optimized family delivers significant Total Cost of Ownership (TCO) benefits. Anyone who has sized up a VM purely to get more network bandwidth has paid the cost this family removes.
Why This Architecture Holds Up
The memory-optimized family makes this unmistakable. The M1 machine series offers VM instances with up to 4 TB of memory. The M2 machine series offers VM instances with up to 12 TB of memory. The M3 machine series offers VM instances with 1 to 4 TB of memory. The M4 machine series offers VM instances with up to 6 TB of memory.
Read in order: 4, 12, 4, 6. The peak sits at M2, two generations back. Which is exactly consistent with the documented meaning — a higher number indicates newer underlying CPU platforms or technologies, and says nothing about maxima — but it defeats the obvious heuristic. If you need the largest single-machine memory footprint Compute Engine offers in this family, the newest generation is not where to look.
The same caution applies to the "2" in E2, which does not mean what the "2" in N2 means in terms of lineage within a family: 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. E2 is second-generation and is also the cost-optimized series; generation and tier are orthogonal.
Where the grammar stops applying entirely
Five machine types ignore every rule above. The E2 and N1 series contain shared-core machine types. These machine types timeshare a physical core which can be a cost-effective method for running small, non-resource-intensive apps. They are e2-micro, e2-small, and e2-medium shared-core machine types with 2 vCPUs for short periods of bursting, plus f1-micro and g1-small shared-core machine types which have up to 1 vCPU available for short periods of bursting.
Note what is missing: no vCPU count in the name, a size word (micro, small, medium) where a ratio word belongs, and in f1 and g1 a series prefix that appears nowhere in the generation table. They are the oldest naming in the product and they survive because the instances do.
The numbers behind them are worth knowing precisely, because "2 vCPUs" here does not mean two cores' worth of anything. e2-micro sustains 2 vCPUs, each for 12.5% of CPU time totaling 25% CPU time. e2-small sustains 2 vCPUs, each at 25% of CPU time, totaling 50% CPU time. e2-medium sustains 2 vCPUs, each at 50% of CPU time, totaling 100% CPU time. So the top of the shared-core range sustains the equivalent of one core, presented as two vCPUs.
Two further properties follow from being shared rather than dedicated. Bursting happens automatically when your VM requires more physical CPU than originally allocated, which is the upside; and unlike predefined machine types and custom machine types, shared-core machine types have a predefined price that includes both vCPUs and memory, which means the usual mental model of paying separately for cores and RAM does not apply here either.
When the grammar has no name for what you need
If none of the predefined machine types match your workload needs, you can create a VM instance with a custom machine type for the N and E machine series in the general-purpose machine family. Two constraints make this a narrower escape hatch than it first appears.
The first is scope: N and E series only, in one family. Nothing compute-optimized, memory-optimized, storage-optimized or accelerated can be customised this way. The second is price: the on-demand prices for custom machine types include a 5% premium over the on-demand and commitment prices for predefined machine types.
Within those limits the flexibility is real — instead of using the default memory size based on the number of vCPUs you select, you can specify an amount of memory, up to the limit for the machine series — which is the feature #114 will take properly. The useful discipline for now is to reach for a predefined type first and treat the premium as the cost of not fitting the grammar.
Key Architecture Decisions
| Situation | Decision | Because |
|---|---|---|
| Comparing vCPU counts across series | Do not — benchmark instead | A vCPU is a thread on most series, a whole core on T2D and N4A. |
| Choosing between hypermem and ultramem | ultramem for more memory per vCPU |
24–31 GB per vCPU against hypermem's 15–24. |
| Predicting a machine type's memory | Ratio word × the trailing digit | c3-standard-22 is 22 vCPUs and 88 GB, as documented. |
| Needing a specific CPU vendor | Read the trailing letter; avoid E2 | D is AMD, A is Arm, and E2 picks for you at creation. |
| Largest memory footprint in one VM | Check M2, not the newest generation | M2 reaches 12 TB; M4 reaches 6 TB. |
| Needing bandwidth, not cores | Network-optimized family (C4N, M4N) | It exists precisely to stop you over-provisioning compute. |
| Wanting Local SSD attached | Pick an -lssd machine type |
The disks come with the type, in a predetermined number. |
| High storage density per vCPU | Z-series -highlssd over -standardlssd |
375–438 GiB per vCPU against 200–275. |
| Licensing or workload needs no hypervisor | A -metal machine type |
No hypervisor is installed, and VPC behaviour is unchanged. |
| Small, idle-most-of-the-time service | Shared-core, sized by CPU-time share | e2-medium sustains 100% of one core, not two. |
| No predefined type fits | Custom type, accepting 5% on-demand premium | And only on the N and E series in general-purpose. |
| Reading an unfamiliar machine type | Split it on hyphens and read left to right | Series+generation, ratio, vCPUs, hardware suffix. |
The one to look at today
List the machine types actually running in your projects and split each one on its hyphens. Two columns are worth filling in by hand: the trailing letter of the series, which tells you whether you are on Intel, AMD or Arm, and whether that series uses SMT — because together those decide whether your vCPU counts mean the same thing across the estate. If any e2-micro or f1-micro turns up carrying something that matters, check it against the CPU-time fractions above rather than against its vCPU count.
Closing Thought
The networking phase kept turning up terms that meant something narrower than they sounded. The compute phase opens with the inverse problem: a name that means more than it appears to. Four positions, each one a decision someone made deliberately, compressed into a string short enough to type.
That compression is worth the small effort of learning, because the alternative is treating machine types as opaque labels and choosing them by price or by habit. Once the grammar is legible, c3d-highmem-360-lssd stops being a code to look up and becomes a sentence: C series, third generation, AMD, eight gigabytes of memory per vCPU, three hundred and sixty of them, with Local SSD attached. The one thing it still will not tell you is how many physical cores that is — and knowing that the name cannot answer that question is the most useful thing in this post.
#112 takes the general-purpose family in detail — E2, N2, N4 and C4 — where the choice stops being about reading a name and starts being about which series actually fits a given workload, and what you give up at each price point.
Official Google Cloud Reference
- Machine families resource and comparison guide
- General-purpose machine family
- Compute-optimized machine family
- Memory-optimized machine family
- Storage-optimized machine family
- Network-optimized machine family
- Accelerator-optimized machine family
- Create a VM with a custom machine type
- TPU machines
- Naming resources
- Change the machine type of a stopped instance
- Apply machine type recommendations
Comments