Inspiration
Developers and small teams often get hit with unexpectedly high AWS bills because native cloud billing consoles are overwhelming and hard to interpret. It is difficult to quickly pinpoint which specific resources are wasting money—such as idle compute instances or forgotten storage volumes—and translate raw metrics into clear action steps. We wanted to build an intuitive "AWS Cost Detective" that cuts through the noise and makes cloud cost optimization accessible to everyone.
What it does
CloudSaver AI - AWS Cost Detective is an interactive cloud cost optimization dashboard that analyzes AWS infrastructure and uncovers actionable savings:
- Spend & Savings Overview: Displays current monthly AWS spend alongside total potential monthly and annual savings at a glance.
- Automated Resource Audits: Scans resource usage to detect idle EC2 instances, oversized RDS databases, unused EBS volumes, and S3 storage tiering opportunities.
- Interactive Savings Simulator: Visualizes cost breakdowns with interactive charts and lets users toggle individual recommendations to simulate real-time monthly and annual savings.
- Plain-English AI Explanations: Uses Amazon Bedrock (
boto3) to translate technical optimization findings into plain-English explanations, with an automatic fallback to clearly labeled rule-based insights when AWS credentials are unavailable. - Credential-Free Demo Mode & CSV Export: Works immediately out of the box using realistic sample AWS data and allows users to export prioritized recommendations as a CSV report.
How we built it
We built the application using Python, Streamlit, Pandas, Plotly, and AWS boto3, using Kiro IDE as our AI solutions architect and full-stack pair programmer:
- Spec-Driven & Steering Workflow: We structured our product requirements, technical guidelines, and architecture inside Kiro's
.kirosteering and spec files to keep the codebase modular. - Rapid Prototyping & Logic: Kiro accelerated scaffolding the Streamlit UI, writing Pandas detection rules for EC2, RDS, EBS, and S3 inefficiencies, and building the interactive Plotly charts and savings calculator.
- Resilient AI Integration: We connected Amazon Bedrock via
boto3for plain-English summaries and engineered an automatic fallback path to rule-based explanations and demo mode so anyone can test the app without needing live AWS keys.
Challenges we ran into
- Balancing Live Cloud Integration with Frictionless Testing: Requiring active AWS credentials would prevent judges and users from testing the dashboard immediately. Designing a seamless fallback between Amazon Bedrock (
boto3) and clearly labeled rule-based explanations—alongside realistic sample datasets—took careful structuring so both modes feel responsive and transparent. - Keeping Reactive Calculations Fast: Ensuring that selecting or deselecting multiple recommendations dynamically updated all Plotly visualizations and annual savings metrics without resetting user filters required clean Streamlit session state management.
Accomplishments that we're proud of
- Delivering a polished, hackathon-ready AWS cost optimization dashboard under tight time constraints with Kiro IDE.
- Building a genuinely useful interactive savings simulator paired with plain-English AI explanations that bridge the gap between raw AWS metrics and executive or developer decision-making.
- Ensuring zero-friction usability through a full credential-free demo mode and one-click CSV reporting.
What we learned
- Spec-first development multiplies AI speed: Giving Kiro clear architectural steering and structured requirements dramatically reduced debugging and kept data processing cleanly separated from UI components.
- Graceful degradation is essential for cloud tools: Building strong offline demo modes and rule-based fallbacks makes cloud-connected apps far more reliable and accessible during demos and evaluations.
What's next for CloudSaver AI - AWS Cost Detective
- Live AWS Cost Explorer & Trusted Advisor Sync: Expand beyond sample data to pull real-time multi-account metrics directly via AWS Cost Explorer, CloudWatch, and Compute Optimizer APIs.
- Automated Remediation Scripts: Generate one-click AWS CLI commands or Terraform snippets so engineers can safely right-size or clean up flagged resources.
- Slack & Email Anomaly Alerts: Add scheduled weekly cost digests and automated alerts when idle resources or sudden spend spikes are detected.