Requirements for using pre and post scripts
The following table outlines the requirements for using pre and post scripts with Amazon Data Lifecycle Manager.
Application-consistent snapshots | |||
---|---|---|---|
Requirement | VSS Backup | Custom SSM document | Other use cases |
SSM Agent installed and running on target instances | ✓ | ✓ | ✓ |
VSS system requirements met on target instances | ✓ | ||
VSS enabled instance profile associated with target instances | ✓ | ||
VSS components installed on target instances | ✓ | ||
Prepare SSM document with pre and post script commands | ✓ | ✓ | |
Prepare Amazon Data Lifecycle Manager IAM role run pre and post scripts | ✓ | ✓ | ✓ |
Create snapshot policy that targets instances and is configured for pre and post scripts | ✓ | ✓ | ✓ |