Description
The Create Storage Gateway Snapshots action will create a snapshot for each of many selected storage gateway volumes.
For example, a snapshot can be created every day at 1am for all volumes attached to a gateway with a resource tag "Backup" with value "Yes".
Settings
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 Gateway Name - Creates snapshots for all volumes attached to gateways with matching names.
By Resource Tag On Gateway - Creates snapshots for all volumes attached to gateways with matching resource tag values.
By Resource Tag On Volume - Creates snapshots for all volumes with matching resource tag values.
All - Creates snapshots for all volumes attached to all gateways.
Gateway Name
Required when Volume Identification Method is set to "By Gateway Name". Indicates the criteria with which to match gateway names.
Resource Tag Name
Required if Volume Identification Method is "By Resource Tag On Gateway" or "By Resource Tag on Volume". Indicates the name of the resource tag used to compare.
Resource Tag Value
Required if Volume Identification Method is "By Resource Tag On Gateway" or "By Resource Tag on Volume". Indicates the value of the resource tag used to compare.
Snapshot Name
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.
Description
The snapshots must have a description saved with them. Macros can be used to include run-time data.
Resource Tags
Optional. Resource tags can be added 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 AWS has a limit of 10 (including the Name tag). Macros can be used in the tag values to include run-time data.
Target Region to Copy Snapshot
Optional. Once the snapshot is complete, it can be copied to a different region. If the snapshot should be copied, select the target region.
Amazon Commands Used
The following Amazon AWS commands are used. The access key should have permission to execute all of them.
ec2:CopySnapshot
ec2:CreateSnapshot
ec2:CreateTags
ec2:DescribeSnapshots
storagegateway:DescribeCachediSCSIVolumes
storagegateway:DescribeStorediSCSIVolumes
storagegateway:ListGateways
storagegateway:ListVolumes
storagegateway:ListTagsForResource