Cloud Cost Optimizer
A serverless tool that hunts down AWS waste — automatically.
A production-ready, serverless cost-analysis tool that runs as a scheduled Lambda, audits five AWS services for waste, reports the savings, and can auto-remediate the safe wins — turning a manual spreadsheet chore into a weekly automated report.
The problem
Cloud bills creep. Idle instances, oversized databases, unattached volumes and forgotten load balancers quietly burn money, and nobody has time to hunt them down by hand every month.
Our approach
Make the audit run itself. A weekly EventBridge cron fires a containerised Lambda that fans out across EC2, RDS, EBS, S3 and ELB analyzers, ranks findings by savings and severity, then delivers an HTML report and a Slack digest — with optional, DRY-RUN-by-default remediation for the zero-risk fixes.
What we built
- Scheduled, containerised Lambda (EventBridge cron)
- Five analyzers — EC2, RDS, EBS, S3, ELB
- Savings ranked by impact + severity
- HTML report → S3 presigned URL + Slack digest
- 30-day Cost Explorer trend context
- Safe auto-remediation (DRY_RUN default)
Shipped
The outcome
A cost audit that used to take a day of spreadsheets now lands in Slack every week.
Read the code.
Sourcegithub.com/dhanikaa/cloud-cost-optimizer