You can easily take care of unused AWS EBS volumes by writing a simple Lambda function that runs periodically and removes all the unused volumes in your deployment. For this demonstration, we created a Lambda function in Java. Learn more about How to Remove Unused EBS Volumes using an AWS Lambda Function in Java