We’ve recently published a Bash script for automatic EBS snapshots (with 7-day snapshot retention/cleanup) on Github:

EC2 EBS Automated Snapshot Script

Using the AWS CLI toolkit, this script will:

– Determine the instance ID of the EC2 server on which the script runs
– Gather a list of all volume IDs attached to that instance
– Take a snapshot of each attached volume
– The script will then delete all associated snapshots taken by the script that are older than 7 days

This script greatly eases the need for keeping an on-going backup of all of your instances.

Need help with your EC2 backups, or any other AWS consulting? If so, contact us today!