View a markdown version of this page

Amazon Data Lifecycle Manager default, custom, and MultiAvailabilityZone policies - Amazon EBS

Amazon Data Lifecycle Manager default, custom, and MultiAvailabilityZone policies

This section compares default, custom, and MultiAvailabilityZone policies and highlights their similarities and differences.

EBS snapshot policy comparison

The following table highlights the differences between the default policy for EBS snapshots, custom EBS snapshot policies, and MultiAvailabilityZone policies.

Feature Default policy for EBS snapshots Custom EBS snapshot policy MultiAvailabilityZone policy
Managed backup resource EBS snapshot EBS snapshot EBS snapshot
Target resource types Volumes Volumes or instances Multi-AZ volumes
Resource targeting Targets all volumes in the Region that do not have recent snapshots. You can specify exclusion parameters to exclude specific volumes. Targets only volumes or instances that have specific tags. Targets all multi-AZ volumes in the Region. You can specify exclusion parameters to exclude specific volumes.
Exclusion parameters Yes, can exclude boot volumes, specific volume types, and volumes with specific tags. Yes, can exclude boot volumes and volumes with specific tags when targeting instances. Yes, can exclude boot volumes, specific volume types, and volumes with specific tags.
Support AWS Outposts No Yes No
Support multiple schedules No Yes, up to 4 schedules per policy No
Supported retention types Age-based retention only Age-based and count-based retention Fixed at 1 snapshot per volume
Snapshot creation frequency Every 1 to 7 days. Daily, weekly, monthly, yearly, or custom frequency using a cron expression. Every 15 minutes.
Snapshot retention 2 to 14 days. Up to 1000 snapshots (count-based) or up to 100 years (age-based). The most recent snapshot of each volume.
Support application-consistent snapshots No Yes, using pre and post scripts No
Support snapshot archiving No Yes No
Support fast snapshot restore No Yes No
Support cross-Region copying Yes, with default settings 1 Yes, with custom settings Yes, at a configurable interval and with default settings 3
Support cross-account sharing No Yes No
Support extended deletion 2 Yes No No

1 For default policies:

  • You can't copy tags to cross-Region copies.

  • Copies use the same retention period as the source snapshot.

  • Copies get the same encryption state as the source snapshot. If the destination Region is enabled for encryption by default, copies are always encrypted, even if the source snapshots are unencrypted. Copies are always encrypted with the default KMS key for the destination Region.

2 For default and custom policies:

  • If a target instance or volume is deleted, Amazon Data Lifecycle Manager continues deleting snapshots up to, but not including, the last one based on the retention period. For default policies, you can extend deletion to include the last snapshot.

  • If a policy is deleted or enters the error or disabled state, Amazon Data Lifecycle Manager stops deleting snapshots. For default policies, you can extend deletion to continue deleting snapshots, including the last one.

3 For MultiAvailabilityZone policies:

  • You can't copy tags to cross-Region copies.

  • At each copy interval, Amazon Data Lifecycle Manager copies the most recent completed snapshot of each volume to the destination Regions and keeps only that copy per Region; if a volume has no new completed snapshot since the last copy, that cycle is skipped and the same snapshot is never copied twice.

  • If the source snapshot is encrypted, or if encryption by default is enabled for the destination Region, copies are encrypted using the default KMS key for the destination Region. Otherwise, copies are unencrypted.

EBS-backed AMI policy comparison

Note

MultiAvailabilityZone policies manage EBS snapshots only. They don't apply to EBS-backed AMIs, so they don't appear in the comparison below.

The following table highlights the differences between the default policy for EBS-backed AMIs and custom EBS-backed AMI policies.

Feature Default policy for EBS-backed AMIs Custom EBS-backed AMI policy
Managed backup resource EBS-backed AMIs EBS-backed AMIs
Target resource types Instances Instances
Resource targeting Targets all instances in the Region that do not have recent AMIs. You can specify exclusion parameters to exclude specific instances. Targets only instances that have specific tags.
Reboot instances before AMI creation No Yes
Exclusion parameters Yes, can exclude instances with specific tags. No
Support multiple schedules No Yes, up to 4 schedules per policy.
AMI creation frequency Every 1 to 7 days. Daily, weekly, monthly, yearly, or custom frequency using a cron expression.
Supported retention types Age-based retention only. Age-based and count-based retention.
AMIs retention 2 to 14 days. Up to 1000 AMIs (count-based) or up to 100 years (age-based).
Support AMI deprecation No Yes
Support cross-Region copying Yes, with default settings 1 Yes, with custom settings
Support extended deletion 2 Yes No

1For default policies:

  • You can't copy tags to cross-Region copies.

  • Copies use the same retention period as the source AMI.

  • Copies get the same encryption state as the source AMI. If the destination Region is enabled for encryption by default, copies are always encrypted, even if the source AMIs are unencrypted. Copies are always encrypted with the default KMS key for the destination Region.

2 For default and custom policies:

  • If a targeted instance is terminated, Amazon Data Lifecycle Manager continues deregistering AMIs up to, but not including, the last one based on the retention period. For default policies, you can extend deregistration to include the last AMI.

  • If a policy is deleted or enters the error or disabled state, Amazon Data Lifecycle Manager stops deregistering AMIs. For default policies, you can extend deletion to continue deregistering AMIs, including the last one.