StarCluster - Mailing List Archive

A way to automatically terminate an EC2 instance

From: Napolitano, Diane <no email>
Date: Fri, 4 May 2012 06:41:52 -0700

Hello, I hope someone will point me to the answer to my question, if it exists; if not, what I'm looking to do is the following:

Let's say I have an EC2 instance running several jobs that take some unknown number of hours (possibly as long as a day). They generate a whole bunch of output files, which need to be downloaded back to my local servers before I can terminate the instance; I don't have S3 here.

Now, because these jobs could take almost a day to finish, what I'd like to do is NOT sit there watching them run all day. :) I'd like some automatic way to tell EC2, be it with starcluster commands or otherwise, to logout, download all the data to my local servers, and terminate the instance the minute the jobs finish. That way I'm not stuck watching the jobs all day, but I'm not wasting money on an idle instance should the jobs finish at a time when I'm doing something crazy like sleeping. :)

Any recommendations on how to do this?

Thanks,
Diane
Received on Fri May 04 2012 - 09:42:26 EDT
This archive was generated by hypermail 2.3.0.

Search:

Sort all by:

Date

Month

Thread

Author

Subject