-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Joonas,
The development code in github for the next version can use spot
instances provided that you launch them manually.
The next version of starcluster makes this possible because of the fact
that it relies on creating/using security groups for accounting.
By default StarCluster creates a security group for all starcluster
master nodes called _at_sc-masters. When you launch a cluster, say called
'mycluster', StarCluster creates a new security group called
_at_sc-mycluster. It then runs the master and assigns it to both
_at_sc-masters and @sc-mycluster security groups and then runs the rest of
the nodes, assigning them only to _at_sc-mycluster.
So, with the new version, you can manually create a _at_sc-mycluster
security group, launch your instances by adding the master to both the
_at_sc-masters AND @sc-mycluster security groups and then launching the
rest of the nodes in the _at_sc-mycluster security group only. Starcluster
will then be able to launch using these instances, provided they're in a
pending/running state, by running the following:
$ starcluster start -x smallcluster mycluster
This will then skip requesting new instances and wait for all existing
instances in the _at_sc-mycluster group to come up and it will continue on
normally from there.
Does this make sense? I will document this in the next version. If
you're interested in using the development version you will find docs
for the new config in the github code (starcluster/docs/sphinx/*.rst).
Hope that helps,
~Justin
On 03/24/2010 04:33 AM, Joonas Paalasmaa wrote:
> Hello,
>
> Are there any plans to support EC2 spot instances in starcluster?
> Could it, for example, be implemented so that you specify the instance
> IDs of of the launched StarCluster spot instances and starcluster
> takes care of configuring a cluster from them?
>
> Thanks,
> Joonas Paalasmaa
> _______________________________________________
> Starcluster mailing list
> Starcluster_at_mit.edu
> http://mailman.mit.edu/mailman/listinfo/starcluster
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Mozilla -
http://enigmail.mozdev.org/
iEYEARECAAYFAkuqLbkACgkQ4llAkMfDcrn4nQCeI1y57Rj8k9chXgFMe2KNhfXh
WqIAnA7zP9Mb4nuRbrp5CP54mxtxb/mY
=C1+x
-----END PGP SIGNATURE-----
Received on Wed Mar 24 2010 - 11:20:27 EDT