PHP script to create and rotate EBS and RDS snapshots in Amazon AWS.
Requires composer, to install the dependencies get Composer and run:
Put your AWS key and secret into credentials.json and then edit the schedule in the constructor (become familiar with the PHP date() function. I'll add a more user-friendly method of specifying a schedule in a later release if people use this (create an issue if you'd like it).
Run it every hour from the cron. Suggested crontab entry:
0 * * * * php /path/to/aws-snapshot-manager.php