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:
- Go to the Cloud SQL Instances page in the Google Cloud Console.
- Click the name of the instance to upgrade.
- Click Edit at the top of the page.
- Expand the Machine configuration section.
- Select Dedicated core and choose an appropriate machine type (e.g.,
db-custom-1-3840or a standard instance). - 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