How can we disable after using the AMI?
After using an AMI, you can deregister the AMI from AWS by going to EC2 → AMIs → Select the AMI → Actions → Deregister AMI. This prevents it from being used to launch new instances, but existing instances launched from it will continue running.