cloudsql/BP/2026_001

Cloud SQL instance is not using a shared-core machine type

Product: CloudSQL
Rule class: BP - Best practice, opinionated recommendation

Description

Shared-core instances (db-f1-micro and db-g1-small) are designed for low-cost test and development only. They do not have an SLA and are under-provisioned for production workloads. Don’t use them for production instances.

Remediation

To upgrade a Cloud SQL instance from a shared-core to a dedicated-core machine type:

  1. Go to the Cloud SQL Instances page in the Google Cloud Console.
  2. Click the name of the instance to upgrade.
  3. Click Edit at the top of the page.
  4. Expand the Machine configuration section.
  5. Select Dedicated core and choose an appropriate machine type (e.g., db-custom-1-3840 or a standard instance).
  6. Click Save at the bottom of the page. Note that this change may cause a brief downtime.

Alternatively, use the gcloud CLI to update the instance tier:

gcloud sql instances patch INSTANCE_NAME --tier=db-custom-1-3840

Further information