How do I create Amazon Data Lifecycle Manager policies from selected EBS volumes in the EC2 console?

Last updated: 2022-08-12

I want to create Amazon Data Lifecycle Manager policies from my Amazon Elastic Block Store (Amazon EBS) volumes in the Amazon Elastic Compute Cloud (Amazon EC2) console. How do I do this?

Resolution

You can select one or more Amazon EBS volumes in the Amazon EC2 console to create an Amazon Data Lifecycle Manager policy that's used to manage snapshots of the EBS volumes. An Amazon Data Lifecycle Manager policy creates and deletes snapshots according to the policy schedule. This saves you on costs and effort because you don't have to match the snapshots manually.

To create an Amazon Data Lifecycle Manager policy:

  1. Open the Amazon EC2 console.
  2. Make sure that all the EBS volumes that you want Amazon Data Lifecycle Manager to manage have at least one tag with a key-value pair.
  3. Select the desired EBS volumes, choose Actions, and then choose Create snapshot lifecycle policy.
  4. All the tags for the EBS volumes selected in the previous step are automatically pre-filled under Target resource tags.
  5. Define the rest of the Amazon Data Lifecycle Manager policy, including the creation frequency and retention period.
    For step-by-step instructions, see Automating Amazon EBS snapshot and AMI management using Amazon Data Lifecycle Manager.
  6. After creating the policy, Amazon Data Lifecycle Manager automatically creates and deletes snapshots based on the policy schedule.

Troubleshooting tips

  • If a volume doesn't have tags, then you can't select Create snapshot lifecycle policy. You must add at least one tag to all selected volumes first.
  • If a volume has one tag that has a key but no value, then you can't select Create snapshot lifecycle policy. All volumes must have at least one tag with a key-value pair.
  • If a volume has multiple tags and at least one tag has a key-value pair, then Create snapshot lifecycle policy is prefilled with tags with the key-value pair. Tags with a key but no value aren't prefilled.
  • All tags of a selected volume are pre-filled. If other volumes aren't selected, but have one or more of the pre-filled tags, then the Amazon Data Lifecycle Manager policy creates and manages snapshots of those volumes.
  • The total number of unique tags in the selected volumes can't be greater than 45.
  • If you remove tags from a volume after creating an Amazon Data Lifecycle Manager policy, then Amazon Data Lifecycle Manager no longer creates snapshots from that volume.

Did this article help?


Do you need billing or technical support?