You must be logged in to view saved presets
Configure a Data Lifecycle Manager (DLM) policy to automate the creation, retention, and deletion of snapshots taken to back up your Amazon EBS volumes.
Configure the following settings:
aws dlm create-default-role
CLI command). Alternatively, select the option to create a new IAM role.AWSTemplateFormatVersion: '2010-09-09'
Description: ''
Resources:
DataLifecycleManager:
Type: 'AWS::DLM::LifecyclePolicy'
Properties:
Description: DLM Policy
State: ENABLED
ExecutionRoleArn:
'Fn::Join':
- ''
- - 'arn:aws:iam::'
- Ref: 'AWS::AccountId'
- ':role/AWSDataLifecycleManagerDefaultRole'
PolicyDetails:
ResourceTypes:
- INSTANCE
TargetTags:
- Key: ''
Value: ''
Schedules:
- Name: Snapshot Schedule
TagsToAdd: []
CreateRule:
Interval: 24
IntervalUnit: HOURS
Times:
- '00:00'
RetainRule:
Count: 3
CopyTags: true
Parameters: {}
Metadata: {}
Conditions: {}