Schedule AMI cleanup in AWS accounts using CDK

Amazon Machine Images (AMIs) and underlying Amazon Elastic Block Store (Amazon EBS) Snapshots are often created automatically based on schedule or other automated process. Old AMIs that are no longer in use and left unattended for a long time can add unnecessary costs. Identifying and clearing up these unused AMIs and related snapshots manually is time consuming. This Serverless event driven pattern helps in identifying those unused images and snapshots and de-registers them on a scheduled basis. This helps in reducing snapshot costs. Continue reading Schedule AMI cleanup in AWS accounts using CDK