What do I do if Amazon Data Lifecycle Manager reports failed actions in Amazon CloudWatch metrics?

2 minute read

My Amazon CloudWatch metrics for Amazon Data Lifecycle Manager shows a non-zero value or error.

Short description

Use CloudWatch metrics with Amazon Data Lifecycle Manager to track and diagnose lifecycle policies for Amazon Elastic Block Store (Amazon EBS) snapshots and EBS-backed AMI policies. For a list of supported metrics by policy type, see Supported metrics.


To troubleshoot Amazon Data Lifecycle Manager non-zero values for CloudWatch metrics, complete the following steps:

Note: Amazon Data Lifecycle Manager policies in an error state don't publish metrics. For more information, see How can I troubleshoot problems using Amazon Data Lifecycle Manager?

Check if a more recent API action completed successfully

If the API call, such as CreateSnapshot, fails, then check to see if it succeeds on the following attempt. For example, if you have a daily schedule to create snapshots and the snapshot fails, then check to see if it's created the following day.

To view the Amazon EBS snapshot timestamp, see View Amazon EBS snapshot information.

Check the failed API in CloudTrail

Check the AWS CloudTrail event of the failed API. If the API returns a specific error message in the CloudTrail event, then identify and correct the error. For more information, see Working with CloudTrail Event history.

Modify the policy schedule

The time interval between consecutive policy schedules might be too long to process. For example, suppose you have a monthly policy schedule and the API call, such as CreateSnapshot fails.

In this case, you must wait until the following month for the API action to make the next call. Modify the Amazon Data Lifecycle Manager policy to weekly, and then set the schedule for the following day.

After you create the snapshots, change the Amazon Data Lifecycle Manager policy to monthly. For instructions on how to modify the policy, see Modify lifecycle policies.

Related information

How Amazon Data Lifecycle Manager works

Automating Amazon EBS snapshot and AMI management using Amazon Data Lifecycle Manager

AWS OFFICIALUpdated 8 months ago