This project scans your AWS account daily for:
- Running EC2 Instances
- Available RDS Databases
- Idle EBS Volumes (not attached)
- Unused Security Groups (not attached to ENIs)
- Clone the repo
- Run
terraform init && terraform apply
in theterraform/
folder - Lambda runs once a day and sends email via SNS
Youβll get a daily email like:
Idle EBS Volume: vol-0123abcd | 50GB
Unused Security Group: sg-1a2b3c Name: legacy-db
- IAM role creation
- Lambda, SNS, CloudWatch Events, EC2, RDS access
π If you liked this guideβ¦
π Follow me for more AWS automation projects
π Check out my portfolio: https://jbrewinthecloud.com
π Letβs connect on LinkedIn! Jermaine Brewer