with one click
cost-optimization-audit
// Analyze an AWS architecture for cost waste, right-sizing opportunities, and pricing model improvements aligned with the Well-Architected Cost Optimization pillar.
// Analyze an AWS architecture for cost waste, right-sizing opportunities, and pricing model improvements aligned with the Well-Architected Cost Optimization pillar.
Generate a Well-Architected-aligned Architecture Decision Record (ADR) that documents a design decision with context, options evaluated, trade-offs, and WA pillar impact.
Assess a workload's readiness to migrate to AWS using Well-Architected principles, covering the 7 Rs, dependencies, risks, and a migration plan.
Assess a workload's operational excellence posture against the Well-Architected Operational Excellence pillar, covering organization, preparation, operation, and evolution. Use this skill when evaluating CI/CD practices, observability, incident management, runbook coverage, or operational maturity.
Evaluate a workload's performance efficiency against the Well-Architected Performance Efficiency pillar, covering resource selection, scaling, monitoring, and optimization opportunities.
Identify single points of failure, assess recovery capabilities, and produce a prioritized remediation plan aligned with the Well-Architected Reliability pillar.
Deep-dive security posture assessment against the Well-Architected Security pillar, covering identity, detection, infrastructure protection, data protection, and incident response.
| name | cost-optimization-audit |
| description | Analyze an AWS architecture for cost waste, right-sizing opportunities, and pricing model improvements aligned with the Well-Architected Cost Optimization pillar. |
| version | 1.1.0 |
Ask the user:
What workload or AWS environment would you like me to audit for cost optimization? Please share:
- Architecture overview (services used, rough monthly spend if known)
- Traffic patterns (steady, spiky, predictable growth, seasonal)
- Commitment status (Savings Plans, Reserved Instances, existing contracts)
- Budget constraints or targets (optional)
If context is already provided, proceed directly.
Classify each finding by severity:
Look for:
Assess:
Evaluate:
For each recommendation, estimate:
Output:
# Cost Optimization Audit: {Workload Name}
## Summary
- **Date**: {date}
- **Estimated current monthly spend**: ${X}
- **Potential monthly savings**: ${Y} ({Z}%)
- **Findings**: {A} High, {B} Medium, {C} Low
## Cost Optimization Scorecard
| Domain | Score (1-5) | Key Gap |
|--------|-------------|---------|
| Waste Elimination | {score} | {gap} |
| Pricing Model | {score} | {gap} |
| Architecture Efficiency | {score} | {gap} |
| Data Lifecycle | {score} | {gap} |
| Environment Management | {score} | {gap} |
## High-Impact Findings
{Each: what's wasteful, severity, current cost, projected savings, AWS service, effort}
## Quick Wins (< 1 week)
{Each: what to do, savings estimate, how to implement, AWS service}
## Foundation Improvements (1-4 weeks)
{Each: what to change, savings estimate, trade-offs, AWS service}
## Strategic Changes (1-3 months)
{Each: what to redesign, savings estimate, effort, risk, AWS service}
## Savings Summary
| Category | Current $/mo | Optimized $/mo | Savings $/mo | AWS Service |
|----------|-------------|----------------|--------------|-------------|
| Compute | {current} | {optimized} | {savings} | Compute Optimizer, Savings Plans |
| Storage | {current} | {optimized} | {savings} | S3 Intelligent-Tiering, Glacier |
| Data Transfer | {current} | {optimized} | {savings} | VPC Endpoints, CloudFront |
| Database | {current} | {optimized} | {savings} | RDS Reserved, Aurora Serverless |
| Other | {current} | {optimized} | {savings} | {relevant services} |
| **Total** | **{total}** | **{total}** | **{total}** | |
## Implementation Roadmap
| Priority | Action | Savings/mo | Effort | Risk |
|----------|--------|-----------|--------|------|
| 1 | {action} | ${savings} | Low | Low |
| 2 | {action} | ${savings} | Medium | Low |
| ... | ... | ... | ... | ... |
## Next Steps
{Concrete actions to start saving immediately}
After delivering the report, offer:
Would you like me to:
- Create a detailed right-sizing plan for a specific service?
- Model Savings Plans vs Reserved Instances for your usage pattern?
- Design a FinOps tagging and cost allocation strategy?
- Build a scheduled scaling policy for non-production environments?
- Estimate costs for an architectural alternative (serverless, containers, etc.)?