Preserve Referenced Images When Deleting AMI Images
As your AWS usage grows, so will your stockpile of EBS snapshots and AMI images. Many of these are used for backups, while others are used to launch EC2 instances from Auto Scaling groups and EC2 launch templates. As your collection of AMI images grows, you will need to start rotating out the old AMI images.