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

2 minute read
0

My Amazon CloudWatch metrics for Amazon Data Lifecycle Manager (Amazon DLM) shows a non-zero value or error. How can I troubleshoot this issue?

Short description

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

Resolution

Follow these instructions to troubleshoot Amazon DLM non-zero values for CloudWatch metrics.

Note: Amazon DLM 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, failed, then check to see if it succeeded on the following attempt. For example, if you have a daily schedule to create snapshots and the snapshot failed, then check to see if it is created the following day.

To view the Amazon EBS snapshot timestamp, see view detailed information about your snapshots.

Modify the policy schedule

The time interval between consecutive policy schedules might be too long to process. For example, if you have a monthly policy schedule and the API call such as CreateSnapshot fails, then you must wait until the following month for the API action to make the next call. You can modify the Amazon DLM policy to weekly, and then set the schedule for the following day. After the snapshots are created, change the Amazon DLM policy back to monthly. For instructions to modify the policy, see Modify lifecycle policies.


Related information

Amazon Data Lifecycle Manager API reference

Considerations for Amazon Data Lifecycle Manager

Automating Amazon EBS snapshot and AMI management using Amazon DLM

AWS OFFICIAL
AWS OFFICIALUpdated 2 years ago