Ensure there is an optimal limit configured for the Automatic Storage Increase feature within your Cloud SQL database instance settings in order to avoid unexpected charges on your Google Cloud bill. Prior to running this conformity rule, the automatic storage increase limit must be defined in the rule settings, on the Trend Cloud One™ – Conformity account console.
optimisation
Automatic Storage Increase feature prevents your Cloud SQL instances from running out of storage space, become read-only, and disrupting the usual database operations. When automatic storage increase is enabled, you can provide a specific limit on how large the disk storage for your instance can automatically grow. Having this limit set to zero (default), means that there is no limit configured for the storage growth (other than the maximum available storage for the instance tier), therefore a spike in storage requirements can permanently increase storage costs for your instance. Because you cannot decrease storage size on demand, configuring this limit can prevent your instance disk size from growing too large and increase service costs.
Note: Trend Cloud One™ – Conformity assumes that Automatic Storage Increase feature is enabled for your Cloud SQL database instances. If the feature is not already enabled, see this conformity rule to enable automatic storage increase for your database instances.
Audit
To determine if there is an optimal automatic storage increase limit configured for your Cloud SQL database instances, perform the following actions:
Note: Getting automatic storage increase limit for Cloud SQL instances using Google Cloud Platform (GCP) Console is not currently supported.Remediation / Resolution
To configure automatic storage increase limit for your Google Cloud SQL database instance in accordance with your organization's rules, perform the following actions:
Note: Setting automatic storage increase limit for Cloud SQL instances using Google Cloud Platform (GCP) Console is not currently supported.References
- Google Cloud Platform (GCP) Documentation
- Cloud SQL for SQL Server features
- Automatic storage increase limit
- GCP Command Line Interface (CLI) Documentation
- gcloud projects list
- gcloud sql instances list
- gcloud sql instances describe
- gcloud sql instances patch