google-cloud-waf-cost-optimization
它能做什么
这个技能依据 Google 的良好架构框架(Well-Architected Framework),为 Google Cloud 上的云工作负载提供节省成本的建议。适合希望少花钱、同时让云服务物有所值的团队。
适用场景
- ✓你想降低每月的 Google Cloud 账单的时候。
- ✓你需要判断哪些云成本值得保留的时候。
- ✓你想为某个云项目获取一份提高成本效益的行动清单的时候。
技能链接
https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/development/google-cloud-waf-cost-optimization/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请审查我的 Google Cloud 配置,并告诉我哪些地方可以在不损失价值的情况下降低成本。”
每周 5 个新技能,1 分钟读完。
工作原理
这个技能询问你的成本目标和限制,然后将你的工作负载与成本原则进行对照,并给出你可以直接执行的具体建议。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Google Cloud Well-Architected Framework skill for the Cost Optimization pillar
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).
Core principles
The recommendations in the cost optimization pillar of the Well-Architected Framework are aligned with the following core principles:
Align cloud spending with business value: Ensure that your cloud 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
Foster a culture of cost awareness: Ensure that people across your 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
Optimize resource usage: Provision only the resources that you need and 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
Optimize continuously: Continuously monitor your cloud resource usage and 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
Relevant Google Cloud products
The following are examples of Google Cloud products and features that are relevant to cost optimization:
Visibility and monitoring:
- Cloud Billing reports: Native dashboards for visualizing spending and trends.
- BigQuery billing export: Enables granular, custom analysis of billing data using SQL and BI tools.
- Looker Studio: Used for creating detailed, shared cost dashboards and reports.
- Billing alerts and budgets: Automated notifications when spending reaches predefined thresholds.
Automation and optimization tools:
- Recommender / Active Assist: Automatically identifies idle resources, rightsizing opportunities, and unused commitments.
- Cloud Hub Optimization: Integrates billing and resource utilization data to help developers and application owners quickly identify their most expensive, fluctuating, or underutilized cloud resources.
- FinOps hub: Presents active savings and optimization opportunities in one dashboard.
- Billing quotas: Limits on resource consumption to prevent unexpected cost spikes.
Efficient infrastructure:
- Managed services and serverless services: Services like Cloud Run, Cloud Run functions, and GKE Autopilot reduce operational overhead and pay-per-use scaling.
- Compute Engine: Use of Spot VMs for fault-tolerant workloads and Committed Use Discounts (CUDs) for stable workloads.
- Cloud Storage Lifecycle Policies: Automatically moves data to lower-cost storage classes (Nearline, Coldline, Archive) based on age or access.
Organization and governance:
- Resource Manager: Logical structure (Organizations, Folders, Projects) for cost attribution.
- Labels: Metadata tags for categorizing and filtering costs by environment, team, or application.
- Organization Policy Service: Enforces constraints (e.g., restricted 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:
- How do you incorporate cost considerations into your cloud architecture design process
常见问题
什么是良好架构框架?
它是 Google 提出的一套构建良好云系统的指南。这个技能使用其中的成本部分。
它提到 FinOps 吗?
提到了。它在建议中提到了成本问责文化,即 FinOps。
它会给出确切的节省金额吗?
它侧重于原则和建议,而不是确切的美元金额。
详情
作者的原始描述
Generates cost optimization guidance for Google Cloud workloads based on the Google Cloud Well-Architected Framework (WAF). Use to evaluate a workload, identify cost requirements and constraints, and provide actionable recommendations for building cost-efficient workloads on Google Cloud.
热度
- GitHub 星标
- 33k
- 排名
- #8768
- 许可证
- MIT
- 更新时间
- 2026/11/2
评论
- …
同一仓库的更多技能
owasp-security
33k教你的智能体掌握面向网页应用、API、移动端、容器和 AI 智能体的 OWASP 安全指南,以便发现常见弱点并提出修复建议。
agent-management
33k让你的智能体使用 AI Maestro 命令行工具创建、列出、休眠、唤醒、重命名和删除 AI 智能体,管理每个智能体的生命周期。
agent-messaging
33k让你的智能体使用智能体消息协议,在 AI 智能体之间发送、接收和回复带签名的消息,大部分在你自己的电脑上完成。
docs-search
33k让你的智能体搜索自动生成的代码文档,查找函数签名、类定义和注释,从而在修改代码之前核对真实的 API。