Posted On: Jun 11, 2021
You can now specify a new property called ‘DeprecationTime’ on your Amazon Machine Images (AMIs) to indicate when the AMI will become outdated.
Previously, owners of an AMI changed the AMI name or description to indicate that the AMI was outdated. You can now clearly specify when an AMI will become deprecated by using the ‘DeprecationTime’ attribute. An AMI becomes deprecated when the DeprecationTime is reached. Once an AMI is deprecated, it will no longer appear in DescribeImages API calls by default. Previously, you could deregister the AMI to remove it from circulation, but that would break future instance launches for users of the AMI. Users of a deprecated AMI can continue to launch instances using its ID.
To use this feature, owners of the AMI can set the ‘DeprecationTime’ through EnableImageDeprecation API. Users can view the ‘DeprecationTime’ property for AMIs through the DescribeImages API call.
This feature is available in all AWS Regions. To learn more, please refer to the documentation.