Google Cloud M4 machine types

M4 is a memory optimized Compute Engine family with 10 machine types, from 16 – 224 vCPUs and 248 GiB – 5,952 GiB of memory, running on Intel Emerald Rapids. Linux on demand starts at $1.426 per hour.

memory optimizedx86-64
sizes
10
vCPUs
16 – 224
memory
248 GiB – 5,952 GiB
processor
Intel Emerald Rapids
on-demand from
$1.426

per hour · 24 regions

M4 sizes and prices

Linux, hourly, Iowa (other regions on each size's page)

SizevCPUMemoryLocal storageOn-demandMonthly1-yr
m4-hypermem-1616248 GiB–$1.426$1,041$0.8412
m4-megamem-2828372 GiB–$2.212$1,615$1.305
m4-hypermem-3232496 GiB–$2.852$2,082$1.682
m4-megamem-5656744 GiB–$4.424$3,229$2.61
m4-ultramem-56561,488 GiB–$7.824$5,711$4.616
m4-hypermem-6464992 GiB–$5.703$4,163$3.365
m4-megamem-1121121,488 GiB–$8.847$6,459$5.22
m4-ultramem-1121122,976 GiB–$15.65$11,423$9.232
m4-megamem-2242242,976 GiB–$17.69$12,917$10.44
m4-ultramem-2242245,952 GiB–$41.46$30,269$24.46

M4 equivalents on other clouds

closest match to m4-ultramem-56 (56 vCPU, 1,488 GiB)

AWSx2iezn.12xlargeX2iezn family · 48 vCPU · 1,536 GiB$10.01/hr · US East (N. Virginia)X2iezn family →
AzureM64-32bds1 v3Mbdsv3 family · 64 vCPU · 1,397 GiB$22.98/hr · East USMbdsv3 family →
Vultrvbm-32c-755gb-amdBare Metal family · 64 vCPU · 768 GiB$1.986/hr · New JerseyBare Metal family →

Other memory optimized families on Google Cloud

M4 FAQ

What sizes does the Google Cloud M4 family have?

M4 has 10 machine types, from m4-hypermem-16 (16 vCPU, 248 GiB) to m4-ultramem-224 (224 vCPU, 5,952 GiB). They run on Intel Emerald Rapids.

What is the cheapest M4 machine type?

m4-hypermem-16 at $1.426 per hour (Linux, on demand) in Iowa, about $1,041 per month.

What is M4 best for?

M4 is a memory optimized family. Lots of RAM per vCPU (8 GiB and up) for databases, caches and in-memory analytics.