
Cloud Cost Management
A practical collection of commands and configurations for tracking down cloud waste across AWS, Azure, and GCP. You get CLI snippets to find unattached EBS volumes, orphaned Elastic IPs, and oversized instances, plus Terraform configs for budget alerts and cost allocation tags. The reference guides cover reserved instance planning, spot pricing strategies, and setting up cost dashboards. Honestly, most of the value is in having these queries bookmarked in one place rather than Googling "find unused AWS resources" every quarter. Best for teams that already have a cloud spend problem and need to start auditing systematically.
- skills.sh installs
- 447
- GitHub stars
- 379
- last updated
- Aug 21, 2026
Install
$ npx -y skills add aj-geddes/useful-ai-prompts --skill cloud-cost-management --agent claude-codeInstalls into .claude/skills of the current project.
Files
Cloud Cost Management
Table of Contents
Overview
Cloud cost management involves monitoring, analyzing, and optimizing cloud spending. Implement strategies using reserved instances, spot pricing, proper sizing, and cost allocation to maximize ROI and prevent budget overruns.
When to Use
- Reducing cloud infrastructure costs
- Optimizing compute spending
- Managing database costs
- Storage optimization
- Data transfer cost reduction
- Reserved capacity planning
- Chargeback and cost allocation
- Budget forecasting and alerts
Quick Start
Minimal working example:
# Enable Cost Explorer
aws ce get-cost-and-usage \
--time-period Start=2024-01-01,End=2024-01-31 \
--granularity MONTHLY \
--metrics "UnblendedCost" \
--group-by Type=DIMENSION,Key=SERVICE
# List EC2 instances for right-sizing
aws ec2 describe-instances \
--query 'Reservations[*].Instances[*].[InstanceId,InstanceType,State.Name,LaunchTime,Tag]' \
--output table
Sponsors
Details
- Repository
- github.com/aj-geddes/useful-ai-prompts
- Categories
- DevOps & CI/CD, AI & Agent Building, Cloud & Infrastructure
- First seen
- Jun 3, 2026
More from aj-geddes/useful-ai-prompts
All 258- Troubleshooting Guide447
- Vue Application Structure447
- Database Sharding446
- Network Security Groups446
- Azure App Service445
- Feature Flag System445
- Infrastructure Cost Optimization445
- Capacity Planning444
- Container Registry Management444
- Third Party Integration443
- Continuous Testing441
- Dependency Tracking440
- Artifact Management439
- Graceful Shutdown439
- Blue Green Deployment437
- Disaster Recovery Testing437
- Release Planning436
- Intermittent Issue Debugging433
- Server Side Rendering433
- Mocking Stubbing432
- Data Migration Scripts430
- Correlation Tracing429
- Synthetic Monitoring427
- Canary Deployment426