The 'Amazon - Delete Snapshots By Snapshot Tag' task will delete all snapshots of EC2 Instances that have a specified tag that is associated with it. This task will only work with snapshots created by CloudRanger as the tag value is created with the name of the schedule which was used to create the original snapshot.
How To Set Up Your Task
Here is a breakdown of the steps of how to set up your 'Amazon - Delete Snapshots By Snapshot Tag' task.
Step 1 - Choose a name for your task.
Step 2 - Choose the credential for the AWS account you would like to manage
Step 3 - Choose the region in which your chosen AWS resources are located
Step 4 - Choose the 'Amazon - Delete Snapshots By Snapshot Tag' task from the Task drop-down list
Step 5 - This task will only work with snapshots created by CloudRanger. Snapshots that have been created with our 'Amazon - Create Server Snapshots' task will have a tag associated with it, these tags can be reviewed in the AWS Management Console > EC2 > Snapshots
When selecting the Tag Name, you need to select 'Schedule'
Step 6 - Choose the Tag Value to be linked to the Snapshot you want to Delete, for example, any snapshots that contain the Tag Value of 'Daily' will be deleted in the case below.
Step 7 - Choose the number of 'Days To Keep Snapshots'. Any snapshots of EC2 instances that correspond to the tag specified in the task after this period will automatically be deleted when the task executes.
Step 8 - Choose a predefined schedule (or create your own) from the Schedule drop-down list for when you would like this task to run.
Step 9 - Choose whether you would like to be notified when the task is complete.
Step 10 - Click the Save button to complete the task creation.