The Create Multiple EBS Snapshots action will create a snapshot for each of many EBS volumes.
For example, a snapshot can be created every day at 1am for all volumes with EC2 tag "Backup" with value "Yes".
Please see Common Action Settings for a description of settings common to all action types.
Volume Identification Method
Indicates the selection method of the EBS volumes to have snapshots created.
- By Volume ID - Creates snapshots for the specified volume IDs
- By EC2 Tag - Creates snapshots for volumes that match an EC2 tag value
- All - Creates snapshots for all volumes
Required when Volume Identification Method is set to "By Volume ID". Indicates the list of volume IDs which will have snapshots created.
EC2 Tag Name
Required if Volume Identification Method is "By EC2 Tag". Indicates the name of the EC2 tag used to compare.
EC2 Tag Value
Required if Volume Identification Method is "By EC2 Tag". Indicates the value of the EC2 tag used to compare.
Optional. After the snapshots are created, this value is placed in the "Name" tag for the newly created snapshots. Macros can be used to include run-time data. See below.
Optional. The snapshots can have a description saved with them. Macros can be used to include run-time data. See below.
Stop Instance for Snapshot
By default, the snapshots will be created without stopping and restarting the instances. Enable this option to stop the instances before starting the snapshots, and restart the instance after the snapshots have started.
Deregister from Load Balancers
If the instance will be stopped, indicate whether the instance should also be deregistered from any load balancers. The instance will automatically be re-registered with the load balancers.
Optional. EC2 tags can be set once the snapshots are complete. Click "Add Tag" to add a tag and fill the tag data. Any number of tags can be set, although Amazon EC2 has a limit of 10 (including the Name tag). Macros can be used in the tag values to include run-time data. See below.
Copy to Region
Optional. Once the snapshot is complete, it can be copied to a different region. If the snapshot should be copied, select the target region.
The following macros can be used to include some run-time information.
Date of snapshot in year-month-day format
Time of snapshot in 24-hour format
Day of the week, as a short name.
Day of the week, as a long name.
Day of the month.
Week of the month, starting at day 1 of the month.
- Day 1 - 7 is week 1
- Day 8 - 14 is week 2
- Day 15 - 21 is week 3
- Day 22 - 28 is week 4
- Day 29 - 31 is week 5
Week to the end of the month, ending at the last day of the month. For example, for a 31-day month:
- Day 25 - 31 is week 1
- Day 18 - 24 is week 2
- Day 11 - 17 is week 3
- Day 4 - 10 is week 4
- Day 1 - 3 is week 5
Month of the year, as a short name.
Month of the year, as a long name.
ID of the AMI image used to create the instance
ID of the attached instance
Name of the attached instance
ID of the volume
Name of the volume
Macros are case-sensitive. For example, $(Time) is not valid. $(TIME) must be used.
Amazon Commands Used
The following Amazon AWS commands are used. The access key should have permission to execute all of them.