-
Committer:
Ben Howard
-
Date:
2012-01-03 19:22:19 UTC
-
Revision ID:
ben.howard@canonical.com-20120103192219-t9wb98aji3y13xlh
This automates the task of cleaning up dangling instances caused by
failed EBS bundling.
This patch does two things:
1. run-instances-and-wait tags instances with a "TERMINATE" tag with a
value two hours (7200 seconds) into the future.
2. instance-cleaner was added to be run as a cronjob. It checks all known
AWS regions for instances with the "TERMINATE" tag and terminates
any where the two hour value has been elapsed