How I Built an AI Agent That Cut My AWS Bill by 40% (CrewAI + Bedrock)
Description and use
A CrewAI + Bedrock agent automatically scans an AWS account, identifies waste, and produces a markdown report with precise savings, cutting the bill by 40 %.
Problem
AWS accounts often accumulate hidden costs from orphaned resources, idle IPs, and outdated storage, making manual audits time‑consuming and error‑prone.
Outcome
The system identified $125/month in waste, including orphaned EBS volumes, unused Elastic IPs, and a non‑reserved EC2 instance, enabling quick actions that saved $40/month before lunch.
Workflow
- Clone the repo and install dependencies
- Set AWS_DEFAULT_REGION environment variable
- Run main.py to execute the three agents sequentially
- Review the generated markdown report
- Act on quick‑win recommendations (delete orphaned volumes, release unused IPs, reserve instances)
Evidence
It found $125/month I was burning for nothing.
Three orphaned EBS volumes: $33/month. Two unattached Elastic IPs: $7.20/month.
- Record date: 2026-09-15T11:00:49.954Z