[Openstack-operators] New to Open Stack - shutdown vs terminate

Terry.Rankine at csiro.au Terry.Rankine at csiro.au
Sun Jul 3 13:44:38 UTC 2011


Wont it need my EC2 credentials on the VM then?

The credentials used to start the VM are not stored on the VM. I guess I can pass them in via the start-up string, but I would prefer if there was another way.

Any other thoughts?

Terry
________________________________
From: Mike Marrotte [marrotte at gmail.com]
Sent: Friday, 1 July 2011 7:47 PM
To: Rankine, Terry (CESRE, Kensington)
Cc: <openstack-operators at lists.openstack.org>
Subject: Re: [Openstack-operators] New to Open Stack - shutdown vs terminate

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<mailto: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<mailto:Openstack-operators at lists.openstack.org>
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators



More information about the Openstack-operators mailing list