
I Built an AI AWS Cost Detective That Found $900/Year in Waste — Here's How
The Problem AWS Cost Explorer shows you data. It doesn't tell you what to do about it. I was paying $127/month and knew I was wasting money but couldn't quickly identify where. What the AI Found Running the tool against my own account uncovered: EC2 Waste: A t3.small running 24/7 — used maybe 2 hours a day for testing. That's $45/month for 22 hours of idle compute every single day. EBS Volumes: Three EBS volumes still attached to stopped instances. No data being written, no instance using them. $8/month evaporating for nothing. NAT Gateway: A NAT Gateway from an old VPC setup I'd completely forgotten. Nothing routing through it. $12/month for a network door with no traffic. Snapshots: Automated snapshots from an RDS instance I deleted months ago. The database was gone but the snapshots kept accumulating — $10/month. Total: $75/month = $900/year How It Works The tool chains three things together: boto3 fetches your AWS costs and resource counts, Python shapes the data, and Ollama (local
Continue reading on Dev.to
Opens in a new tab




