Choose a machine series Stay organized with collections Save and categorize content based on your preferences.
When you create a new instance, you need to choose a machine series.The machine series you choose affects theedition,storage option,andlocationavailable for your to choose from for your instance. For more information on therequirements and decisions you need to make prior to creating a new instance, seePlan and prepare overview.
Cloud SQL provides machine series options for your instance, based onits Cloud SQL edition. A machine series is a curated set of processorand hardware configurations optimized for specific Cloud SQL workloads.These machine series let you tailor vCPU and memory for your instance andoptimize performance for various demands. The machine series you select alsodetermines thestorage optionavailable for your Cloud SQL instance.
Each machine series provides multiple machine types. When you create aninstance, you select a machine type from the machine series you want to use,which defines the resource and storage option available for your instance. Forexample, if you select thedb-perf-optimized-N-2 machine type, which belongsto theN2 machine series, the storage option available for your instance isSSD.
Machine series supported by Cloud SQL
The following table provides an overview of the machine series options thatCloud SQL supports, based on your instance's Cloud SQL editionand the storage options available for each machine series:
| Cloud SQL edition | Machine series | Storage option |
|---|---|---|
| Cloud SQL Enterprise Plus edition | N2 | SSD |
| Memory-optimized-N2 | SSD | |
| Cloud SQL Enterprise edition | Dedicated core | SSD |
To see machine series availability by region, seeRegion availability.
Machine series availability for Cloud SQL Enterprise Plus edition instances
For Cloud SQL Enterprise Plus edition instances, you can select one of the following machineseries:
- N2: This machine series provides a balancedprice-to-performance ratio for a variety of Cloud SQL workloads.
- Memory-optimized-N2: This machine series provideshigh memory-to-compute ratios for memory-intensive Cloud SQL workloads.
For Cloud SQL Enterprise Plus edition instances, each machine seriesprovides predefined machine types with preset memory and vCPUs for yourinstances. Availability depends on your instance's Cloud SQL edition,region, and database version.
N2 machine series
The N2 machine series provides a balanced price-performance for a wide varietyof database workloads, with a memory-to-compute ratio of 1 vCPU:8 GB RAM. Ituses the Performance Persistent Disk (PD-SSD) storage option. For more informationabout storage types, seeStorage options overview.
N2 machine types
The following machine types are available for instances for the N2 machineseries:
| Machine type | vCPUs | Memory (GB) | Optional Data Cache (GB) |
|---|---|---|---|
db-perf-optimized-N-2 | 2 | 16 | 375 |
db-perf-optimized-N-4 | 4 | 32 | 375 |
db-perf-optimized-N-8 | 8 | 64 | 375 |
db-perf-optimized-N-16 | 16 | 128 | 750 |
db-perf-optimized-N-32 | 32 | 256 | 1,500 |
db-perf-optimized-N-48 | 48 | 384 | 3,000 |
db-perf-optimized-N-64 | 64 | 512 | 6,000 |
db-perf-optimized-N-80 | 80 | 640 | 6,000 |
db-perf-optimized-N-96 | 96 | 768 | 6,000 |
db-perf-optimized-N-128 | 128 | 864 | 6,000 |
Memory-optimized-N2
Thememory-optimized-N2 machine series provides high memory-to-compute ratiosfor memory-intensive workloads.
Thememory-optimized-N2 machine series uses the Performance Persistent Disk(PD-SSD) storage option. PD-SSD is a Persistent Diskvolumes offering that provides Cloud SQL instances with lower latency andincreased IOPS. It is backed by solid-state drives (SSD). For more information,seeAbout Persistent Disk.
Memory-optimized-N2 machine types
The following machine types are available for instances for thememory-optimized-N2 machine series:
| Machine type | vCPUs | Memory (GB) | Optional Data Cache (GB) |
|---|---|---|---|
db-memory-optimized-N-4 | 4 | 128 | 750 |
db-memory-optimized-N-8 | 8 | 256 | 1,500 |
db-memory-optimized-N-16 | 16 | 512 | 3,000 |
Machine series availability for Cloud SQL Enterprise edition instances
For Cloud SQL Enterprise edition instances, you can select one of the following machine series:
General purpose dedicated core: this machineseries provides balanced price-to-performance using x86 based machines.
N4: this machine series provides balanced price-to-performanceusing Intel Emerald Rapids.
General purpose dedicated core
The General purpose dedicated core machine series provides custom instanceconfigurations that let you select the memory and CPUs your instance needs. Thisflexibility lets you select the appropriate VM shape for your workload. It storageoption. For more information about storage types, seeCloud SQLstorage options overview.
Custom machine type names use the following format:db-custom-{CPUs}-{Memory}.When you select the number of CPUs and memory, some restrictions apply to theconfigurations you can select.
General purpose dedicated core and custom machine types
Custom configurations available for the general purpose dedicated core machineseries depend on the Cloud SQL for SQL Server edition your instance is using:
| Cloud SQL for SQL Server edition | vCPUs | Memory (GB) |
|---|---|---|
| 2017 Express 2019 Express 2022 Express | 1 to 8 | 3.75 to 32 |
| 2017 Web 2019 Web 2022 Web | 1 to 32 | 3.75 to 32 |
| 2017 Standard 2019 Standard 2022 Standard | 1 to 48 | 3.75 to 32 |
| 2017 Enterprise 2019 Enterprise 2022 Enterprise | 2 to 96 | 8 to 32 |
N4 machine series
The N4 machine series provides balanced price-to-performance for yourCloud SQL Enterprise edition instances, with a memory-to-compute ratio of 1 vCPU:8 GB RAM. Ituses the Hyperdisk Balanced storage option. For more informationabout storage types, seeCloud SQL storage optionsoverview.
N4 machine types
The N4 machine series provides custom machine series options. These machine typenames use the following format:db-custom-N4-{CPUs}-{Memory}.
You can set custom configurations for the N4 machine series based on thefollowing requirements:
- vCPUs can range from 2 to 80, in increments of 2.
- Memory can range from 2 GB to 640 GB and must have:
- Minimum memory of 2 GB per vCPU
- Maximum memory of 8 GB per vCPU
The following table shows examples of N4 custom machine types:
| Machine type | vCPUs | Minimum memory (GB) | Maximum memory (GB) |
|---|---|---|---|
db-custom-N4-2-* | 2 | 4 | 16 |
db-custom-N4-4-* | 4 | 8 | 32 |
db-custom-N4-6-* | 6 | 12 | 48 |
db-custom-N4-8-* | 8 | 16 | 64 |
Pricing
The machine series you select affects the cost of your instance. For moreinformation, seeInstance pricing.You can also use thepricing calculatorto see pricing for various scenarios.
Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-12-15 UTC.