Automated EBS Cleanup Lambda

Заказчик: AI | Опубликовано: 13.04.2026
Бюджет: 750 $

I need a concise AWS Lambda function that deletes unused EBS volumes on a schedule. The trigger will be a CloudWatch Event Rule running once every day, so the code must pick up and remove any unattached volumes at each run without manual intervention. Here’s what I’m looking for: • Python or Node.js code packaged for Lambda, relying only on AWS-SDK calls. • A clear, configurable filter so I can specify additional criteria later (for example, volume age or specific tags). • Deployment instructions using either the console, SAM, or CloudFormation—whichever you prefer—as long as I can reproduce the setup quickly. • Logging to CloudWatch that records each volume it deletes and surfaces any errors. For now I’ll confirm the exact AWS region during hand-over, but please write the code so region can be supplied as a parameter or environment variable.