~darkmuggle-deactivatedaccount/ubuntu-on-ec2/ec2-publishing-scripts.instance-cleaner

  • 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
Filename Latest Rev Last Changed Committer Comment Size
..
doc 379 12 years ago Scott Moser publish-build-ebs: publish to all regions in paral Diff
File clean-region-obsolete 399 12 years ago Scott Moser clean-region-obsolete: remove the value of --cache 6 KB Diff Download File
File clean-s3-tarballs 389 12 years ago Scott Moser clean-s3-tarballs: fix image listing to add --regi 3.1 KB Diff Download File
File clean-unused-snapshots 382 12 years ago Scott Moser clean-unused-snapshots: move to using 'xc2 info-sn 5.6 KB Diff Download File
File daily-build-cleaner 367 12 years ago Scott Moser utilize 'xc2 ximages' to avoid expensive 'xc2 desc 4.8 KB Diff Download File
File ec2-image2ebs 386 12 years ago Scott Moser ec2-image2ebs: use euca describe-volumes rather th 15.4 KB Diff Download File
File ec2-list-all-regions 402 12 years ago Scott Moser populate knowledge of new region: sa-east-1 140 bytes Diff Download File
File find-kernel-ramdisk 367 12 years ago Scott Moser utilize 'xc2 ximages' to avoid expensive 'xc2 desc 5.5 KB Diff Download File
File generate-fake-publish-base 326.1.1 12 years ago Scott Moser generate-fake-publish-base: account for .img files 1.7 KB Diff Download File
File generate-query-tree 393 12 years ago Scott Moser generate-query-tree: update for current publish fo 4.8 KB Diff Download File
ids-private.txt 396 12 years ago Ben Howard Added cloud-image-mirrors account to private listi 458 bytes Diff Download File
File instance-cleaner 407 12 years ago Ben Howard This automates the task of cleaning up dangling in 1.2 KB Diff Download File
kernels-pv-grub-hd0-V1.01.txt 402 12 years ago Scott Moser populate knowledge of new region: sa-east-1 1.4 KB Diff Download File
kernels-pv-grub-hd0-V1.02.txt 402 12 years ago Scott Moser populate knowledge of new region: sa-east-1 1.4 KB Diff Download File
File modify-access 385 12 years ago Scott Moser modify-access: change to use 'xc2 euca modify-acce 4.1 KB Diff Download File
File pathprefix4label 326.1.2 12 years ago Scott Moser move publishing tools to use new bucket/prefix con 1.5 KB Diff Download File
File privatize-image 367 12 years ago Scott Moser utilize 'xc2 ximages' to avoid expensive 'xc2 desc 6.3 KB Diff Download File
File promote-daily 404 12 years ago Scott Moser promote-daily: set XC2_XIMAGES_CACHE_D This will 6.9 KB Diff Download File
File publicize-build 392 12 years ago Scott Moser publicize-build: fix bug where released.txt and da 10.8 KB Diff Download File
File publicize-clean 238 13 years ago Scott Moser publicize-clean: only delete lines, don't write th 2.8 KB Diff Download File
File publish-build 405 12 years ago Scott Moser alpha builds do not get version number This rever 11.5 KB Diff Download File
File publish-build-ebs 402 12 years ago Scott Moser populate knowledge of new region: sa-east-1 17.9 KB Diff Download File
File publish-build-krd 326.1.2 12 years ago Scott Moser move publishing tools to use new bucket/prefix con 4.8 KB Diff Download File
File publish-image 406 12 years ago Scott Moser publish-image: do not match ebs images when lookin 17.3 KB Diff Download File
README 297 12 years ago Scott Moser rename uec -> cloud or cloudimg This is a simple 1.2 KB Diff Download File
File remove-build 142 14 years ago Scott Moser update format of published-results to include arch 1.4 KB Diff Download File
File remove-image 400 12 years ago Scott Moser remove-image: fail on failure of ximages describe- 7.6 KB Diff Download File
File remove-manifest 367 12 years ago Scott Moser utilize 'xc2 ximages' to avoid expensive 'xc2 desc 2.8 KB Diff Download File
File resize-cloud-image 297 12 years ago Scott Moser rename uec -> cloud or cloudimg This is a simple 3.1 KB Diff Download File
File run-instance-and-wait 407 12 years ago Ben Howard This automates the task of cleaning up dangling in 9.7 KB Diff Download File
TODO 194 13 years ago Scott Moser add note about promote-daily and re-use to TODO 1022 bytes Diff Download File
File ubuntu-adj2version 230 13 years ago Scott Moser move 'ubuntu_ad2jversion' to its own utility 1.3 KB Diff Download File
File update-build-indexes 394 12 years ago Scott Moser update-build-indexes: improve hopefully for all bu 2.3 KB Diff Download File
File update-currency 133 14 years ago Scott Moser TMPDIR is the variable to define temp dir, not TEM 5.7 KB Diff Download File
File wip-publish-ebs.sh 297 12 years ago Scott Moser rename uec -> cloud or cloudimg This is a simple 1.5 KB Diff Download File
File write-site-manifest 297 12 years ago Scott Moser rename uec -> cloud or cloudimg This is a simple 1.9 KB Diff Download File