aws-cost-optimizer
分析和优化AWS云成本
如果没有适当的监控,云成本往往会失控。此技能可识别资源浪费、分析支出模式,并提供使用AWS原生工具的可执行成本优化策略。
下载技能 ZIP
在 Claude 中上传
前往 设置 → 功能 → 技能 → 上传技能
开启并开始使用
测试它
正在使用“aws-cost-optimizer”。 Find all unattached EBS volumes and unused Elastic IPs
预期结果:
Found 3 unattached EBS volumes totaling 500 GB ($50/month) and 2 unused Elastic IPs ($7.20/month). Total potential savings: $57.20/month. Volume vol-abc123 created 45 days ago, 200 GB gp2. Volume vol-def456 created 30 days ago, 100 GB gp2...
正在使用“aws-cost-optimizer”。 Compare this month spending to last month
预期结果:
Current month (partial): $3,247. Last month: $2,891. Increase: $356 (12.3%). Top increases: EC2 +$210 (15%), RDS +$89 (8%), Data Transfer +$57 (22%). Primary driver: New m5.xlarge instances launched in us-east-1.
安全审计
安全All 40 static analysis findings are false positives. The skill is documentation containing AWS CLI command examples. Shell command substitutions are bash date formatting in CLI examples, not executable code. URLs are documentation references. Keyword matches for 'C2' and 'weak crypto' are false positives from 'CPU utilization' terminology. No actual code execution or network calls present.
质量评分
你能构建什么
月度成本审查
财务团队分析AWS月度支出,识别主要成本驱动因素,并为领导层准备云支出趋势报告。
迁移前评估
DevOps工程师在迁移项目前评估当前AWS资源利用率,以在工作负载迁移前识别并消除浪费。
成本优化审计
解决方案架构师进行全面审计,以发现优化机会,如未使用的资源、调整大小候选对象和预留实例缺口。
试试这些提示
Show me AWS costs for the last 30 days broken down by service, and highlight any services with spending increases over 20% compared to the previous period.
Find all unattached EBS volumes, unused Elastic IPs, and EC2 instances with average CPU utilization below 5% over the past 7 days. Calculate the monthly cost savings if these resources are removed or stopped.
Analyze my EC2 and RDS instances using CloudWatch metrics from the past 30 days. Recommend specific instance type changes for any resources consistently using less than 40% of their capacity, and estimate the cost difference.
Generate a cost optimization report suitable for leadership that includes: total monthly spend, top 5 cost categories, identified waste with dollar amounts, recommended actions with estimated savings, and a 3-month cost trend visualization.
最佳实践
- 在删除前务必通过检查标签和咨询团队成员来验证资源确实未使用
- 启用AWS成本异常检测并设置预算警报以进行主动监控
- 在将调整大小建议应用于生产工作负载之前,先在非生产环境中测试
避免
- 在未验证资源是否被灾难恢复或备份进程使用的情况下删除资源
- 仅关注成本降低而不考虑性能和可靠性影响
- 在没有回滚计划的情况下在工作时间进行优化更改