Anyone knows of a good way to automatically purge old EBS snapshots?

We have a cron script backing up the whole instance from inside, via EC2 API snapshots, but the snapshots tend to accumulate.

I thought of using the EC2 API for listing and erasing "older then X" snapshots, but perhaps there is already some solution/script for this which will help me not re-invent the wheel?

link|improve this question

1  
See this question - it is a bit old, but the basic ideas still apply. (I still use the script I mentioned in one of the answers there - and it has been working without issue). – cyberx86 Feb 7 at 18:57
Thanks, this looks exactly what needed. – SyRenity Feb 7 at 19:05
feedback

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
or
required, but never shown

Browse other questions tagged or ask your own question.