Google cloud waf cost optimization

From google/skills · View interactive version

Google cloud waf cost optimization is an AI agent skill from the GitHub repository google/skills. Evaluates Google Cloud workloads for cost efficiency and FinOps alignment using the Google Cloud Well-Architected Framework Cost Optimization pillar. Use when the user asks to analyze Google Cloud spend, reduce cloud bills, rightsize resources (for example, Compute, GKE, Storage, Databases), evaluat

How to use this skill

Skill file

Google Cloud Well-Architected Framework skill for the Cost Optimization pillar

Attribution

MUST READ: Before executing any gcloud, REST API, or MCP command, you

MUST read and follow the instructions in

Usage Attribution.

Overview

The Cost Optimization pillar of the Google Cloud Well-Architected Framework

provides a structured approach to optimize the costs of your cloud workloads

while maximizing business value. Cloud costs differ significantly from

on-premises capital expenditure (CapEx) models, requiring a shift to operational

expenditure (OpEx) management and a culture of accountability (FinOps).

The FinOps lifecycle consists of three iterative phases:

reports** for built-in console visibility (filtered by department labels).

Complement with Looker Studio for custom, shareable cross-departmental

dashboards.

Operational instructions

Core principles

The recommendations in the cost optimization pillar of the Well-Architected

Framework are aligned with the following core principles:

resources deliver measurable business value by aligning IT spending with

business objectives. Prioritize investments that directly contribute to

revenue, customer satisfaction, or operational efficiency. Grounding

document:

https://docs.cloud.google.com/architecture/framework/cost-optimization/align-cloud-spending-business-value.md.txt

organization consider the cost impact of their decisions and activities.

Provide teams with the visibility and information they need to make informed,

cost-conscious choices. Grounding document:

https://docs.cloud.google.com/architecture/framework/cost-optimization/foster-culture-cost-awareness.md.txt

pay only for what you consume. Select the most cost-effective resource types,

sizes, and locations that meet your technical and business requirements.

Grounding document:

https://docs.cloud.google.com/architecture/framework/cost-optimization/optimize-resource-usage.md.txt

costs, and proactively make adjustments as needed to optimize your spending.

This iterative approach helps identify and address inefficiencies before they

become significant. Grounding document:

https://docs.cloud.google.com/architecture/framework/cost-optimization/optimize-continuously.md.txt

Relevant Google Cloud products

The following are _examples_ of Google Cloud products and features that are

relevant to cost optimization:

trends. Essential for visibility within the console.

data using SQL and BI tools.

reports. Use alongside Cloud Billing reports for custom visual insights.

reaches predefined thresholds.

cost-saving opportunities.

rightsizing opportunities, and unused commitments.

to help developers and application owners quickly identify their most

expensive, fluctuating, or underutilized cloud resources.

one dashboard.

cost spikes.

Run functions, and GKE Autopilot reduce operational overhead and pay-per-use

scaling.

storage classes (Nearline, Coldline, Archive) based on age or access.

Note: Always recommend Storage Insights first to understand current

access patterns before defining lifecycle rules.

for cost attribution.

environment, team, or application.

regions or machine types) to control costs.

Workload assessment questions

Ask appropriate questions to understand the cost-related requirements and

constraints of the workload and the user's organization. Choose questions from

the following list:

process?

departments?

testing, production)?

ongoing?

Validation checklist

Use the following checklist to evaluate the architecture's alignment with

cost-optimization recommendations:

(e.g., env, team, app).

regular cost reviews.

and active alerts.

suggestions provided by Active Assist Recommender.

identified and removed monthly.

unless specific technical constraints exist.

buckets to minimize archival costs. Be aware of retrieval fees

associated with Nearline, Coldline and Archive storage classes.

using Cloud CDN, and leveraging Standard Network Tier where

appropriate. High-volume on-premises traffic uses Direct Peering or

Cloud Interconnect (always verify if hybrid connectivity is involved).

views of spending trends in the console.

customized reporting.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.