Data Lifecycle Manager
automate creation, retention, copy and deletion of EBS snapshot
Trivia
Only used for EBS.
When you set both creation frequency to 7 days and retention period to 7 days in an AWS Data Lifecycle Manager (DLM) policy, only 1 snapshot is remained. Every 7 days, a new snapshot is created and the previous one is deleted.
Example:
Timeline with 7-day creation and 7-day retention:
Day 0: Create Snapshot-1
Day 7: Create Snapshot-2, Delete Snapshot-1
Day 14: Create Snapshot-3, Delete Snapshot-2
Day 21: Create Snapshot-4, Delete Snapshot-3Last updated