GCP FinOps
Iron Law
NO GCP COST WORK WITHOUT:
1. Verifying cost allocation labels are applied to all resources (project, service, environment)
2. A billing budget alert configured before committing spend
3. Using terraform-specialist agent for Committed Use Discount reservations (never manual console)
This Skill vs Related Agents
| Task | Use This Skill | Use Which Agent |
|------|---------------|-----------------|
| Cost analysis, Recommender review | YES | — |
| Right-sizing Cloud Run services | YES + | deployment-engineer |
| CUD / Spend-based reservations (Terraform) | NO | terraform-specialist |
| Billing budget Terraform resource | YES (pattern here) | terraform-specialist (apply) |
| DR runbook, RTO/RPO planning | YES | — |
| Multi-region Cloud Run deploy pipeline | NO | deployment-engineer |
| Cloud SQL HA Terraform config | YES (pattern here) | terraform-specialist (apply) |
Pattern Selector
What do you need?
|
+-- Reduce GCP spend / right-size resources?
| -> Load: reference/gcp-cost-optimization.md
| -> Section: Cloud Run Cost Optimization + Monthly Cost Audit Checklist
|
+-- Set up billing budget alerts?
| -> Load: reference/gcp-cost-optimization.md
| -> Section: GCP Billing Budget Alert (Terraform resource)
|
+-- Plan disaster recovery / set RTO+RPO targets?
| -> Load: reference/gcp-resilience-dr.md
| -> Section: RTO/RPO Targets by Tier
|
+-- Run GCP Recommender to find cost savings?
| -> Load: reference/gcp-cost-optimization.md
| -> Section: GCP Recommender — Cost Insights (gcloud commands)
|
+-- Cloud SQL HA or PITR recovery?
-> Load: reference/gcp-resilience-dr.md
-> Section: Cloud SQL High Availability + PITR Recovery
GCP Cost Tools — Quick Reference
- GCP Billing Console —
console.cloud.google.com/billing— cost breakdown by project, service, label - Cloud Cost Management — cost table, cost breakdown report, budget history
- GCP Recommender — automated right-sizing, idle resource, and CUD recommendations (
gcloud recommender) - Active Assist — umbrella for all Recommender signals; surfaces in Cloud Console dashboard
- Committed Use Discounts — 1-yr (~37% off) or 3-yr (~55% off); resource-based or spend-based
- Sustained Use Discounts — automatic for Compute Engine VMs running >25% of month; no action needed
Deep patterns, gcloud snippets, and Terraform resources → reference files below.
Reference Files
| File | Load When |
|------|-----------|
| reference/gcp-cost-optimization.md | Cost analysis, CUD/SUD, Cloud Run sizing, billing budgets, Recommender, label enforcement, monthly audit |
| reference/gcp-resilience-dr.md | RTO/RPO planning, Cloud SQL HA + PITR, multi-region Cloud Run, Global LB failover, Firestore multi-region, DR runbook |
Cross-References
- Terraform resources (CUD, budgets, SQL HA): Dispatch
terraform-specialistagent to apply patterns from reference files - Cloud Run deployment / right-sizing: Use
deployment-engineeragent with sizing flags fromreference/gcp-cost-optimization.md - Architecture decisions (multi-region): Use
architecture-designskill +architectagent for ADR - Security review (WIF, IAM): Dispatch
security-reviewerafter any infrastructure change - Cloud Run functions: See
gcp-cloud-runskill