Sure. Just install the euca2ools on the guest and write a script. Sent from my iPhone On Jul 1, 2011, at 1:07 AM, <Terry.Rankine at csiro.au> wrote: > Hi Guys > > > > I am building an ‘worker image’ for an on-demand specific ‘compute this’ workflow. > > > > The image is totally aware of its success or failure of the ‘compute this’ task, and uploads its output back to S3 storage. > > > > Since the VM is the best thing to know about success/failure, I figure it should also be the right thing to determine its end of life (shutdown-dont destroy on failure for debugging, and shutdown-terminate-release on success). > > I would like it to automatically shutdown (and terminate releasing all resources it held – public IP etc) on success, and I would like the VM itself be able to do this. A ‘shutdown –h now’ put the image into shutdown mode, but not terminated and never released the held resources. > > > > Is it possible for the VM to ‘shutdown and terminate’ itself? > > > > Terry > > > > _______________________________________________ > Openstack-operators mailing list > Openstack-operators at lists.openstack.org > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20110701/bf3e9e59/attachment-0002.html>