Memory-optimized machine family

Memory-optimized virtual machine (VM) instances provide the most compute and memory resources of any Compute Engine VM offering. They are ideal for workloads that require higher memory-to-vCPU ratios than the general-purpose N1 high-memory machines.

M1 VMs offer up to 4TB of memory, while M2 VMs offer up to 12TB of memory. These VMs are well-suited for large in-memory databases such as SAP HANA, as well as in-memory data analytics workloads.

M1 and M2 VMs offer the lowest cost per GB of memory on Compute Engine, making them a great choice for workloads that utilize higher memory configurations with low compute resources requirements. Additionally, they offer up to 30% sustained use discounts and are also eligible for committed use discounts, bringing additional savings of greater than 60% for three-year commitments.

Machine Workloads
M1 VMs
  • Medium in-memory databases such as SAP HANA
  • Tasks that require intensive use of memory with higher memory-to-vCPU ratios than the general-purpose high-memory VMs.
  • In-memory databases and in-memory analytics, business warehousing (BW) workloads, genomics analysis, SQL analysis services.
  • Microsoft SQL Server and similar databases.
M2 VMs
  • Large in-memory databases such as SAP HANA
  • In-memory databases and in-memory analytics, business warehousing (BW) workloads, genomics analysis, SQL analysis services, etc.

M1 VMs

M1 VMs are the previous generation memory-optimized VMs that offer 14.9 to 24 GB of memory per vCPU. These VMs are available in: m1-ultramem and m1-megamem and are only available in specific regions and zones.

Machine types vCPUs* Memory (GB) Max number of persistent disks (PDs) Max total PD size (TB) Local SSD Maximum egress bandwidth (Gbps)
m1-ultramem-40 40 961 128 257 No 32
m1-ultramem-80 80 1922 128 257 No 32
m1-ultramem-160 160 3844 128 257 No 32
Machine type vCPUs* Memory (GB) Max number of persistent disks (PDs) Max total PD size (TB) Local SSD Maximum egress bandwidth (Gbps)
m1-megamem-96 96 1433.6 128 257 Yes 32

*A vCPU is implemented as a single hardware Hyper-thread on one of the available CPU platforms.
Persistent disk usage is charged separately from machine type pricing.
Maximum egress bandwidth cannot exceed the number given. Actual egress bandwidth depends on the destination IP address and other factors. See Network bandwidth.

M1 Limitations

Memory-optimized VMs are only available as predefined machine types. These machine types offer at least from 14 GB to 28 GB memory per vCPU. The following restrictions apply:

M2 VMs

With the addition of 6 TB and 12 TB VMs to Compute Engine M2 VMs, SAP customers can run their largest SAP HANA databases on Google Cloud. M2 ultramem VMs offer on demand pricing for an evaluation period only. Long running usage requires purchasing a committed use discount. See the VM pricing page for details.

Machine types vCPUs* Memory (GB) Max number of persistent disks (PDs) Max total PD size (TB) Local SSD Maximum egress bandwidth (Gbps)
m2-ultramem-208 208 5,888 128 257 No 32**
m2-ultramem-416 416 11,776 128 257 No 32**
m2-megamem-416 416 5,888 128 257 No 32**

*A vCPU is implemented as a single hardware Hyper-thread on one of the available CPU platforms.
Persistent disk usage is charged separately from machine type pricing.
Maximum egress bandwidth cannot exceed the number given. Actual egress bandwidth depends on the destination IP address and other factors. See Network bandwidth.
#32 Gbps for Cascade Lake or later CPU platforms. 16 Gbps for all other platforms.

M2 Limitations

Memory-optimized VMs are only available as predefined VMs. These machine types offer at least from 14 GB to 28 GB memory per vCPU. The following restrictions apply:

What's next