# High Availability Enabled on Non-Production Cloud SQL Instances

Canonical: https://www.pointfive.co/efficiency-hub/inefficiencies/high-availability-enabled-on-non-production-cloud-sql-instances

A Cloud SQL instance configured for high availability (regional availability) runs a primary and a standby in two zones and synchronously replicates...

By: PointFive

Updated: 2026-09-28

[Cloud Efficiency Hub](https://www.pointfive.co/efficiency-hub) 

The short version

A Cloud SQL instance configured for high availability (regional availability) runs a primary and a standby in two zones and synchronously replicates writes to disks in both.

PointFive Research

Cloud cost research at PointFive

GCP service

[GCP Cloud SQL](https://www.pointfive.co/efficiency-hub/cloud-services/gcp-cloud-sql)

Category

[Databases](https://www.pointfive.co/efficiency-hub/service-category/databases)

Reference

CER-0477

Type

Inefficient Configuration

## Explanation

Why the waste happens and who it affects.

Google states that an HA-configured instance costs twice as much as a standalone instance, including CPU, RAM and storage. The standby cannot serve read queries, so the extra spend buys only zonal failover.

Dev, test, QA and staging instances are frequently created from the same Terraform modules, scripts or clone operations as production and inherit HA. Google's own instance settings guidance recommends HA for production and describes zonal (single zone) availability as recommended for test and development. In non-production, HA doubles the instance and storage bill for automatic zonal failover that is rarely needed.

## Billing model

The pricing dimensions that drive this cost.

Cloud SQL publishes separate HA rates; prices vary by region and edition.

HA vCPUs and memory

Regional instances are billed at HA vCPU and HA memory rates, which are double the standalone rates

HA storage

SSD, HDD and Hyperdisk Balanced capacity for regional instances is billed at HA storage rates, double the zonal rates

Backups

Backup storage is billed at the same rate for HA and zonal instances

Zonal availability

Instance and backups in a single zone at standalone rates, with no automatic failover

## How to detect

4 checks to find it in your estate.

- List instances with settings.availabilityType set to REGIONAL (gcloud sql instances list --format with settings.availabilityType) and join them with project, label or naming conventions that mark dev, test, QA or staging

- In the Cloud Billing export, look for HA vCPU, HA memory and HA storage SKUs in non-production projects

- Review which environments have a documented availability requirement; instances without one are candidates for zonal availability

- Check provisioning templates and modules for availability\_type = REGIONAL defaults that apply to every environment

## How to fix

4 ways to remove the waste.

- Switch non-production instances to zonal availability with gcloud sql instances patch INSTANCE --availability-type ZONAL, or select Single zone in the console; the instance restarts, which typically takes a few minutes but can take up to an hour for instances with a large disk or load

- Accept the tradeoff explicitly: after a zonal outage a zonal instance has to be recovered manually, which is usually fine for dev and test

- Make ZONAL the default in non-production Terraform modules and require an explicit override for HA

- Keep HA for production and for non-production instances that are used to test failover behavior

## Documentation

Vendor references for pricing and configuration.

- [About high availability  docs.cloud.google.com](https://docs.cloud.google.com/sql/docs/mysql/high-availability)

- [Enable and disable high availability  docs.cloud.google.com](https://docs.cloud.google.com/sql/docs/mysql/configure-ha)

- [About instance settings  docs.cloud.google.com](https://docs.cloud.google.com/sql/docs/mysql/instance-settings)

- [Cloud SQL pricing  cloud.google.com](https://cloud.google.com/sql/pricing)

## Related inefficiencies

[Browse the library](https://www.pointfive.co/efficiency-hub)

- GCP Cloud SQL  CER-0279

### [Excessive Automated Backup Retention in Cloud SQL](https://www.pointfive.co/efficiency-hub/inefficiencies/excessive-automated-backup-retention-in-cloud-sql)

Automated Cloud SQL backups are retained longer than required by recovery objectives or governance needs. Because backups accumulate over the retention window (and can grow quickly for high-change databases), excessive retention drives...

Databases

- GCP Cloud SQL  CER-0183

### [Underutilized Cloud SQL Instance](https://www.pointfive.co/efficiency-hub/inefficiencies/underutilized-cloud-sql-instance)

Cloud SQL instances are often over-provisioned or left running despite low utilization. Since billing is based on allocated vCPUs, memory, and storage - not usage - any misalignment between actual workload needs and provisioned capacity...

Databases

- GCP Cloud SQL  CER-0475

### [Idle Cloud SQL Instance](https://www.pointfive.co/efficiency-hub/inefficiencies/idle-cloud-sql-instance)

An idle Cloud SQL instance is one that is still running but no longer serves any workload: no meaningful connections, queries or data changes. Common sources are databases left behind after a migration, instances created for a test or...

Databases

---
Source: the public page above. Product screenshots and illustrative interfaces are examples, not live customer data.

