GCP Cost Optimization: Google Cloud Best Practices (2026)

Published by

Opsolute Team

on

Google Cloud cost optimization means matching each workload to the right GCP pricing mechanism, then removing waste. Sustained Use Discounts apply automatically to some machine families, Committed Use Discounts cut steady usage further, and Spot VMs suit interruptible jobs. Rightsize with Recommender, tier Cloud Storage, control BigQuery scans, autoscale GKE and set budget alerts.

Google Cloud's discount system works differently from AWS and Azure in one important way: part of it applies automatically, with nothing to buy. Many GCP guides gloss over that, or apply it to machine families where it doesn't work, so teams assume a discount is saving them money when it isn't.

Key highlights

  • Sustained Use Discounts apply automatically but don't cover every machine family, GPUs or Cloud SQL.

  • Committed Use Discounts trade a one- or three-year term for deeper savings; most accounts moved to a spend-based CUD model in January 2026.

  • Spot VMs offer the steepest discounts, for workloads that can be stopped with about 30 seconds' notice.

  • Rightsizing can move a workload onto a family without Sustained Use Discounts, so check the discount before you resize.

  • BigQuery, GKE and Cloud Storage each have their own cost controls; compute isn't the whole bill.

How Google Cloud pricing works

Mechanism

How it works

Typical discount (check current pricing)

Best for

Pay as you go

Per-second billing after a one-minute minimum

None

Variable workloads

Sustained Use Discounts (SUDs)

Automatic as eligible VMs run more of the month

Up to about 30%

Steady VMs on eligible families

Resource-based CUDs

Commit to vCPUs and memory for one or three years

Up to about 55% for most families; up to 70% for memory-optimized

Stable, predictable VMs

Spend-based (flexible) CUDs

Commit to a minimum hourly spend across services

About 28% (1 year) or 46% (3 years)

Steady spend that moves between services

Spot VMs

Unused capacity at a lower price; can be reclaimed

Up to 91%

Batch, CI/CD, fault-tolerant jobs

These mechanisms work differently from AWS Savings Plans and Reserved Instances, which is why cloud cost optimization metrics across AWS, Azure and GCP need normalizing before you compare them.

1. Know where Sustained Use Discounts apply

SUDs ramp up automatically as an eligible VM runs through the month, with no purchase or term. The common mistake is assuming they cover everything. They don't apply to newer machine families such as E2, N4, C3 and C4, to GPU or accelerator-optimized instances, or to Cloud SQL, which has its own committed use discounts. Check the machine family before counting on an automatic discount.

2. Commit to steady usage with Committed Use Discounts

CUDs suit genuinely stable workloads. Look at at least 12 months of baseline usage, commit only to the level you consistently keep, and start with one-year commitments covering 60–70% of baseline, reviewing quarterly. Google moved most remaining accounts from the legacy credit-based CUD model to a spend-based model on January 21, 2026, applying discounts directly to eligible SKU prices, so confirm which model your account uses before reusing old CUD calculations.

3. Use Spot VMs for interruptible work

Spot VMs use spare capacity at a lower price, with no bidding: you pay the current Spot price, which changes at most once every 30 days. Google can reclaim them with about 30 seconds' notice, so use them for batch processing, CI/CD, data analysis and rendering, and run them in managed instance groups that recreate instances automatically. Avoid them for databases and customer-facing services.

4. Rightsize with Recommender

Google Cloud Recommender flags idle VMs, oversized machine types and commitment opportunities based on CPU, memory, network and disk usage. Treat it as a starting signal: test changes in non-production, load-test, then move production. For unusual ratios, such as 6 vCPUs with only 12 GB of memory, custom machine types avoid paying for capacity you don't need. Review quarterly as workloads change, and check SUD eligibility before switching families. The same principles behind broader cloud infrastructure optimization apply here.

5. Remove idle resources

  • Idle VMs: Recommender flags VMs with very low utilization over a sustained period; automate cleanup with Cloud Scheduler and Cloud Functions.

  • Unattached persistent disks: a forgotten 500 GB SSD disk keeps billing every month; clean up disks unattached for more than 30 days.

  • Unused static IP addresses: reserved addresses not attached to a running resource are billed; audit them quarterly.

6. Put Cloud Storage on the right class

Class

Approximate price per GB per month (check your region)

Use for

Standard

$0.020

Frequently accessed data

Nearline

$0.010

Accessed about once a month

Coldline

$0.004

Accessed about once a quarter

Archive

$0.0012

Accessed less than once a year

Use lifecycle rules (for example Standard → Nearline after 30 days, Coldline after 90, Archive after a year), or turn on Autoclass to let Google move objects between classes based on access. Remember that colder classes add retrieval charges and minimum storage durations.

7. Control BigQuery spend

  • Choose the right pricing model: on-demand pricing charges per data scanned; capacity pricing (BigQuery editions) charges for reserved slots and suits steady, heavy use.

  • Scan less data: partition and cluster large tables, select only the columns you need instead of SELECT *, and use a dry run to see bytes scanned before running a query.

  • Set limits: use the maximum bytes billed setting and custom quotas so one runaway query can't blow the budget.

8. Optimize GKE

Enable GKE cost allocation (usage metering) to attribute cost to namespaces and labels, use cluster autoscaling to add and remove nodes with demand, add Spot node pools for interruption-tolerant workloads, and use Horizontal and Vertical Pod Autoscaling to keep requests close to real usage. Container cost discipline is similar across clouds; Kubernetes cost optimization covers requests, limits and bin-packing in more depth.

9. Set budgets and track spend

Create budgets at project, folder or billing-account level with alerts at 50%, 75%, 90% and 100%, sent by email or to Pub/Sub for Slack and automation. Export billing data to BigQuery for detailed analysis, and hold a weekly cost review where engineering and finance look at trends together.

10. Build ownership with labels

Apply consistent labels for owner, team, environment and cost center, then use showback before chargeback. Labels are to Google Cloud what tags are to AWS, and the same cloud cost allocation methods apply to shared costs.

Summary

Area

Action

Discounts

Check SUD eligibility; buy CUDs for stable usage; confirm your CUD model

Spot

Use for interruptible jobs in managed instance groups

Compute

Rightsize with Recommender; consider custom machine types

Waste

Clean up idle VMs, unattached disks and unused IPs

Storage

Lifecycle rules or Autoclass

BigQuery

Right pricing model; partition, cluster and cap bytes billed

GKE

Cost allocation, autoscaling, Spot node pools

Control

Budgets with alerts; billing export to BigQuery; labels

Running AWS as well?

Opsolute's cost intelligence is built for AWS today. If you run Google Cloud alongside AWS, normalize both providers' billing before comparing them: GCP's SUD and CUD model doesn't map directly onto AWS Reserved Instances and Savings Plans, and treating them as equivalent leads to wrong decisions. For the AWS side, our AWS cost optimization strategies cover EC2, S3, RDS, data transfer and commitments.

Frequently asked questions

What are the main GCP cost optimization best practices? Use the right discount for each workload (SUDs, CUDs, Spot VMs), rightsize with Recommender, remove idle resources, tier Cloud Storage, control BigQuery scans, autoscale GKE and set budget alerts.

Do Sustained Use Discounts apply to every machine type? No. They don't cover newer families such as E2, N4, C3 and C4, GPU or accelerator-optimized instances, or Cloud SQL.

What's the difference between SUDs and CUDs? SUDs apply automatically with no commitment and reach about 30%; CUDs need a one- or three-year commitment and save more.

What changed with CUDs in 2026? Google moved most accounts from credit-based to spend-based CUDs on January 21, 2026, applying discounts directly to eligible prices.

Are Spot VMs safe to use? For interruptible workloads only, since Google can reclaim them with about 30 seconds' notice.

How do I reduce BigQuery costs? Partition and cluster tables, avoid SELECT *, dry-run queries, cap bytes billed, and consider capacity pricing for heavy, steady use.

Stop guessing what your AWS bill will be next quarter.

Connect your AWS Organization in under 30 minutes. Most customers see their first chargeback report in 14 days and realize a 5–10× return on Opsolute within 90 days.

Illustration of a crystal ball containing AWS bills, cost charts, dollar signs, and question marks, representing future cloud cost forecasting.
Illustration of a crystal ball containing AWS bills, cost charts, dollar signs, and question marks, representing future cloud cost forecasting.