This page provides information about the settings available for Cloud SQL instances.
Settings for Cloud SQL for MySQL
Setting | Modifiable after creation? | Possible values |
---|---|---|
Instance ID | N | Composed of lowercase letters, numbers, and hyphens; must start with a letter. The total length must be 98 characters or less. |
Region | N |
For Cloud SQL Enterprise Plus edition:africa-south1 — Johannesburgasia-east1 — Taiwanasia-east2 — Hong Kongasia-northeast1 — Tokyoasia-northeast2 — Osakaasia-northeast3 — Seoulasia-south1 — Mumbaiasia-south2 — Delhiasia-southeast1 — Singaporeasia-southeast2 — Jakartaaustralia-southeast1 — Sydneyaustralia-southeast2 — Melbourneeurope-central2 — Warsaweurope-north1 — Finlandeurope-southwest1 — Madrideurope-west1 — Belgiumeurope-west2 — Londoneurope-west3 — Frankfurteurope-west4 — Netherlandseurope-west6 — Züricheurope-west8 — Milaneurope-west9 — Pariseurope-west10 — Berlineurope-west12 — Turinme-central1 — Dohame-central2 — Dammamme-west1 — Tel Avivnorthamerica-northeast1 — Montréalnorthamerica-northeast2 — Torontosouthamerica-east1 — San Paulosouthamerica-west1 — Santiagous-central1 — Iowaus-east1 — South Carolinaus-east4 — Northern Virginiaus-east5 — Columbusus-south1 — Dallasus-west1 — Oregonus-west2 — Los Angelesus-west3 — Salt Lake Cityus-west4 — Las VegasFor Cloud SQL Enterprise edition: africa-south1 — Johannesburgasia-east1 — Taiwanasia-east2 — Hong Kongasia-northeast1 — Tokyoasia-northeast2 — Osakaasia-northeast3 — Seoulasia-south1 — Mumbaiasia-south2 — Delhiasia-southeast1 — Singaporeasia-southeast2 — Jakartaaustralia-southeast1 — Sydneyaustralia-southeast2 — Melbourneeurope-central2 — Warsaweurope-north1 — Finlandeurope-north2 — Stockholmeurope-southwest1 — Madrideurope-west1 — Belgiumeurope-west2 — Londoneurope-west3 — Frankfurteurope-west4 — Netherlandseurope-west6 — Züricheurope-west8 — Milaneurope-west9 — Pariseurope-west10 — Berlineurope-west12 — Turinme-central1 — Doha me-central2 — Dammamme-west1 — Tel Avivnorthamerica-northeast1 — Montréalnorthamerica-northeast2 — Torontonorthamerica-south1 - Mexicosouthamerica-east1 — São Paulosouthamerica-west1 — Santiagous-central1 — Iowaus-east1 — South Carolinaus-east4 — Northern Virginiaus-east5 — Columbusus-south1 — Dallasus-west1 — Oregonus-west2 — Los Angelesus-west3 — Salt Lake Cityus-west4 — Las Vegas |
Zone | Y | The possible values depend on the region. |
Database version | N |
For Cloud SQL Enterprise Plus edition, MySQL 8.0.31 and later:
Console string API enum string MySQL 8.4 Console string API enum string MySQL 8.4 |
SSL mode | Y | Enforces/enables SSL as follows:
|
Server CA mode | N | Lets you configure the server certificate authority (CA) for an instance. You can select one of the following available server CA options:
For more information, see Certificate authority (CA) hierarchies. |
Set edition | Y |
|
Set password policy | Y | Configured or not. |
Private IP | After it's activated, it can't be deactivated. | Activated or deactivated. |
Public IP | Y | Activated or deactivated. |
Authorized networks | Y | If Public IP is enabled, IP addresses authorized to connect to the instance. You can also specify this value as an IP address range, in CIDR notation. |
Private path for Google Cloud services | Y | Activated or deactivated. |
Data cache | Y | Activated or deactivated. |
Machine type | Y | Machine type is based on the machine series you select for your Cloud SQL instance. Select from C4A, N2, shared core or dedicated core machine series. Learn more |
Cores | Y |
For Cloud SQL Enterprise Plus edition: 2 to 128 (predefined machine types only) For Cloud SQL Enterprise edition: 1 to 96 (must be either 1 or an even number) Partial for shared vCPU |
Memory | Y |
For Cloud SQL Enterprise Plus edition:
6.75 GB to 8 GB per vCPU. The 6.75 GB to 1 vCPU ratio is for the db-perf-optimized-N-128 machine type only. All other machine types have the 8 GB to 1 vCPU ratio.
For Cloud SQL Enterprise edition: 0.9 GB to 6.5 GB per vCPU (must be a multiple of 256 MB and at least 3.75 GB). |
Storage type | N |
SSD (default value) HDD(Cloud SQL Enterprise edition only) Hyperdisk Balanced(Cloud SQL Enterprise Plus edition only) |
Storage capacity | Y (Increase only) |
Standard and high memory machine types: up to 64 TB. Shared-core machine types ( db-f1-micro and db-g1-small ):
up to 3054 GB.
Note that creating or increasing storage capacity to 64 TB might increase latency of common operations, such as backups, dependent on your workload. |
Hyperdisk settings | Y |
This setting is only applicable for Cloud SQL Enterprise Plus edition instances using the
C4A machine series. Provisioned IOPS: 4,000 (default value) Provisioned throughput: 170 (default value) For more information about Hyperdisk settings, see Hyperdisk Balanced. |
Enable automatic storage increases | Y |
On (default value) Off |
Data encryption method | N |
Google-owned and Google-managed encryption key (default value) Cloud KMS key |
Automatic storage increase limit | Y | In GBs. 0 (the default) means there is no limit. |
Automated backups | Y (select a preferred 4-hour window, or Any (default)) |
On (default value) Off |
Locations options | Y | Multi-region (default value) Region There is also a drop-down menu with a list of multi-regions when you select Multi-region or regions when you select Region. |