Skip to main content
Cloud SQL committed use discounts give a lower price on vCPU and memory in exchange for committing to a fixed hourly spend for one or three years. nOps measures the Cloud SQL vCPU and memory spend in each region that existing commitments do not cover, finds the level it never drops below, and estimates the saving from committing to that level for one year.

Why it matters

Databases usually run all the time, so most Cloud SQL spend is steady. Committing to the part that is always there is a low-risk discount.

How nOps finds it

nOps reads Cloud SQL vCPU and memory charges in each region over the last 30 complete days, net of existing committed use discounts. A region is flagged when it was billed on at least 28 of those days. The commitment is sized to the uncovered spend on a low day (the 5th percentile of daily spend). The saving is that daily amount times 30, times 25%, the 1-year discount. A 3-year commitment gives 52%. The saving must be at least $5 a month. Projects whose spend on the service is at least 90% paid by credits or promotions are left out.

Before you start

Billing account permissions to buy commitments, and confidence that the Cloud SQL usage will continue for the commitment term.

How to implement

  1. Check the Cloud SQL spend in the region over a longer period and any planned migrations or shutdowns.
  2. In the Google Cloud console, open Billing → Committed use discounts and choose Purchase.
  3. Select Cloud SQL, the region and the term (1 or 3 years), and enter an hourly commitment no higher than the amount nOps shows.
  4. After the commitment starts, check the next invoice: the discount appears as a credit against Cloud SQL usage.

Risks and considerations

  • A commitment cannot be cancelled. You pay for it even if usage drops.
  • The commitment covers Cloud SQL vCPU and memory in one region across the projects on the billing account. Storage, networking and licenses are not covered.
  • Commit to less than the estimate if usage may shrink.

FAQs

So the commitment is used in full nearly every day. Spend above it stays at the normal price.
3 years gives a bigger discount (52% against 25%) but locks you in for longer. nOps estimates the 1-year saving.