← Back to Tech Blog

AWS · Lambda · Cost Optimization

AWS Cleanup: Stop Paying for What You Forgot You Had

By Chinmaya Chhatre · Solutions Engineer

You know that feeling when you check the AWS bill and mutter, "Wait, why is it $600 this month?"

Welcome to cloud waste: the graveyard of dev/test instances, unattached EBS volumes, and Elastic IPs floating around like lost luggage. I built this 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 did not even know existed.

One Monday, I found an EC2 instance labeled alpha-lambda-test-final3 that had been running untouched for 19 days. It was not even mine.

The Fix: A Serverless Snitch

I built a Lambda-based detector that:

GitHub: github.com/chinmaya-chhatre/aws-unused-resource-detector

Elastic IPs are only free if they are attached. Otherwise they are quietly draining your budget.

What Changed

Cost control should not feel like wizardry. A 100-line Lambda script can save you thousands. No one wants to explain a surprise AWS bill to leadership.

Tradeoffs I Made

What I Would Add Next

More from the Tech Blog

Rate my site!