Resources

Unlocking the Power of GCP Cost Optimization Tool: A Comprehensive Guide

Unlocking the Power of GCP Cost Optimization Tool: A Comprehensive Guide

Google does not sell one product called the GCP Cost Optimization Tool. Cost control on Google Cloud is a handful of built-in features, plus optional third-party platforms on top.

Built-in features or a third-party platform

Start with what Google already gives you. Budgets and alerts come first, and I’d set them before touching anything else. A budget sends email at thresholds you choose (the defaults are 50%, 90% and 100% of the amount), and it can also fire on forecasted spend.

An alerts-only budget does not stop anything. Google’s documentation says it “doesn’t automatically cap” usage or spending, so a runaway job keeps running and billing after the email arrives. If you want automation, budgets can publish status messages to a Pub/Sub topic several times a day, and you can write a function that reacts, for example by disabling billing on a project. That is real engineering work, and teams often discover they needed it after the first surprise invoice.

Beyond budgets, the billing reports break spend down by service, project and label, and exporting billing data lets you query it yourself.

Labels are the part people skip.

Without them, a shared project’s bill is one number nobody can split between teams, and the argument about who pays starts in the monthly review.

Rightsizing suggestions come from Google’s Recommender, which looks at usage and proposes smaller machine types for VMs that sit idle. They are suggestions only, and someone has to judge whether that VM is quiet because it is oversized or because it is the nightly batch box.

A third-party FinOps platform adds what the console lacks: allocation across many projects, shared-cost splitting and views that finance can read without a cloud login. Finout’s GCP page is one example, and it describes itself as a FinOps platform for cost control and allocation. Whether it pays for itself depends on spend and on how many teams share the bill. For a single team with one billing account, the console is probably enough.

Discounts

Sustained use discounts apply automatically to Compute Engine usage, but not to everything. Per Google’s documentation, N1, M1 and M2 machines earn up to 30% off for a full month, N2, N2D and C2 earn up to 20%, and the discount builds in tiers at 25%, 50%, 75% and 100% of the month.

Table of sustained use discount limits by Google Cloud machine series with the four monthly usage tiers

Usage already covered by a committed use discount gets no sustained use discount, and neither do machine series outside those lists. So a team on a newer series should not count on this one. Committed use discounts are the other lever: you promise a level of usage for a term and pay less for it, which suits steady workloads and punishes guesses.

Spot VMs (the newer form of preemptible VMs) cost far less than standard ones. Google can take them away at any time, and a job without checkpoints loses its progress when that happens, which is a lot more painful at hour nine than at minute one. Use them for batch jobs and anything that can restart. But never for the one database nobody can afford to lose.

Where this stops working

None of it helps if nobody owns the bill.

Alerts go to an inbox that no one reads, recommendations sit unapplied and labels drift out of date. And on a small account, an hour spent configuring a platform can cost more than it ever saves. Which is the more likely waste in your setup, the idle VM or the unowned alert?

Bogdan Sandu

Stay sharp. Ship better code.

Every week: one curated article, one tool worth knowing, one tip you can use tomorrow. No noise, no padding.