Posted On: Feb 3, 2022

You can now use Recycle Bin for Amazon Machine Images (AMIs) to recover from accidental deletions to meet your business continuity needs. Previously, you could not recover AMIs if you accidentally deregistered them. With Recycle Bin, you can specify a retention time period and recover a deregistered AMI if needed, before the expiration of the retention period. A recovered AMI would retain its attributes such as tags, permissions, and encryption status, which it had prior to deletion, and can be used immediately for launches. AMIs that are not recovered from the Recycle Bin are permanently deleted upon expiration of the retention time.

You can enable Recycle Bin for all AMIs in your account by creating one or more retention rules. You can also use tags in retention rules to specify which subset of AMIs should move to the Recycle Bin upon deletion.

This capability is available through the AWS Command Line Interface (CLI), AWS SDKs, or the AWS Console in all AWS Regions except AWS GovCloud (US) Region, Amazon Web Services China (Beijing) Region and Amazon Web Services China (Ningxia) Region. To learn more about AMI support on Recycle Bin, please refer to the documentation here.