
Infrastructure Cost Optimization
This helps you find and eliminate cloud waste by identifying unattached EBS volumes, underutilized instances, and other resources burning money. The included scripts analyze AWS cost trends, scan for orphaned resources, and help you plan reserved instance purchases. It covers the basics of Kubernetes cost optimization too, with resource quotas and namespace-level tracking. The approach is straightforward: run the analysis scripts, review the output tables, and act on the findings. Nothing revolutionary here, but having these cost auditing scripts templated out saves you from writing the same AWS CLI queries every time finance asks why the bill went up.
- skills.sh installs
- 445
- GitHub stars
- 379
- last updated
- Aug 21, 2026
Install
$ npx -y skills add aj-geddes/useful-ai-prompts --skill infrastructure-cost-optimization --agent claude-codeInstalls into .claude/skills of the current project.
Files
Infrastructure Cost Optimization
Table of Contents
Overview
Reduce infrastructure costs through intelligent resource allocation, reserved instances, spot instances, and continuous optimization without sacrificing performance.
When to Use
- Cloud cost reduction
- Budget management and tracking
- Resource utilization optimization
- Multi-environment cost allocation
- Waste identification and elimination
- Reserved instance planning
- Spot instance integration
Quick Start
Minimal working example:
# cost-optimization-setup.yaml
apiVersion: v1
kind: ConfigMap
metadata:
name: cost-optimization-scripts
namespace: operations
data:
analyze-costs.sh: |
#!/bin/bash
set -euo pipefail
echo "=== AWS Cost Analysis ==="
Sponsors
Details
- Repository
- github.com/aj-geddes/useful-ai-prompts
- Categories
- AI & Agent Building, Cloud & Infrastructure
- First seen
- Jun 3, 2026
More from aj-geddes/useful-ai-prompts
All 258- 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
- Service Mesh Implementation426
- Azure Functions424
- Data Replication Setup424
- Graphql Implementation424
- Polyglot Integration424
- Distributed Tracing418
- Multi Cloud Strategy418