You know that feeling when you check the AWS bill and mutter,
"Wait... why is it $600 this month?"
Welcome to the wonderful world of cloud waste โ the graveyard of dev/test instances, unattached EBS volumes, and Elastic IPs floating around like lost luggage.
I originally built this while working at AlphaPoint, where we had multiple AWS accounts and environments spinning up and down for blockchain trading experiments. Cloud waste was real.
At one point, we were paying monthly for resources we didnโt even know existed. There was no alert. No dashboard. Just a bill and some confusion.
One Monday, I found an EC2 instance labeled alpha-lambda-test-final3
that had been running untouched for 19 days.
The kicker? It wasnโt even mine.
I built a Lambda-based detector and predictor that:
Unlike AWS Cost Explorer, which takes time to reflect changes, this script gives you a snapshot of your cloud waste and future savings in real time.
Elastic IPs are only free if theyโre attached.
Otherwiseโฆ theyโre quietly draining your budget.
Ask me how I know.
This is a cleaned-up, open-source version you can fork, clone, or flex at your next standup:
๐
github.com/chinmaya-chhatre/aws-unused-resource-detector
Because cost control shouldnโt feel like wizardry.
Because not every solution needs 6 dashboards and a 12-week roadmap.
Because sometimes, a 100-line Lambda script saves you thousands.
And because no one wants to explain a surprise AWS bill to leadership.