aj-geddes avatar

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-code

Installs 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
1aj-geddes avatarcontainer-registry-managementaj-geddes/useful-ai-promptsManage container registries (Docker Hub, ECR, GCR) with image scanning, retention policies, and access control.444skills.sh installs
2secondsky avatarapp-store-deploymentsecondsky/claude-skillsPublishes mobile applications to iOS App Store and Google Play with code signing, versioning, and CI/CD automation. Use when preparing app releases, configuring437skills.sh installs
3aj-geddes avatarintermittent-issue-debuggingaj-geddes/useful-ai-promptsDebug issues that occur sporadically and are hard to reproduce. Use monitoring and systematic investigation to identify root causes of flaky behavior.433skills.sh installs
4pedronauck avatarelectron-builderpedronauck/skillsComprehensive guide for electron-builder (v26.x) packaging, code signing, auto-updates, and release workflows. Use when: (1) configuring electron-builder builds433skills.sh installs
5tristanmanchester avatarreddit-readonlytristanmanchester/agent-skillsBrowse and search Reddit in read-only mode using public JSON endpoints. Use when the user asks to browse subreddits, search for posts by topic, inspect comment 432skills.sh installs
6davila7 avatarmlflowdavila7/claude-code-templatesTrack ML experiments, manage model registry with versioning, deploy models to production, and reproduce experiments with MLflow - framework-agnostic ML lifecycl427skills.sh installs