StarCluster - Mailing List Archive

Re: A way to automatically terminate an EC2 instance

From: Rayson Ho <no email>
Date: Fri, 4 May 2012 08:02:57 -0700 (PDT)

Use the Elastic Load Balancer to shutdown idle instances:

The master instance can be shutdown as well, as long as you define an EBS that is not
the root filesystem of the instance.


Open Grid Scheduler / Grid Engine

Scalable Grid Engine Support Program

----- Original Message -----
From: "Napolitano, Diane" <>
To: "" <>
Sent: Friday, May 4, 2012 9:41 AM
Subject: [StarCluster] A way to automatically terminate an EC2 instance

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?


StarCluster mailing list
Received on Fri May 04 2012 - 11:02:59 EDT
This archive was generated by hypermail 2.3.0.


Sort all by: