Memory-optimized machine family

Stay organized with collections Save and categorize content based on your preferences.

The memory-optimized machine family provides the most compute and memory resources of any Compute Engine machine family offering. They are ideal for workloads that require higher memory-to-vCPU ratios than the high-memory machine types in the general-purpose N1 machine series.

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

Both M1 and M2 machine series 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 series Workloads
M1 machine series
  • 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 machine types.
  • In-memory databases and in-memory analytics, business warehousing (BW) workloads, genomics analysis, SQL analysis services.
  • Microsoft SQL Server and similar databases.
M2 machine series
  • 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 machine series

The M1 machine series is the older generation memory-optimized machine series that offer 14.9 to 24 GB of memory per vCPU. This series offers the m1- ultramem and m1-megamem machine types 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

The M1 machine series is only available as predefined machine types. This series offer at least from 14 GB to 28 GB memory per vCPU. The following restrictions apply:

M2 machine series

With the addition of 6 TB, 9 TB, and 12 TB machine types to the M2 machine series, SAP customers can run their largest SAP HANA databases on Google Cloud. The M2 series is available with 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#
m2-hypermem-416 416 8,832 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

The M2 machine series is available only as predefined machine types. This series offers from 14 GB to 28 GB memory per vCPU. The following restrictions apply:

What's next