Package starcluster :: Package templates :: Module experimental
[hide private]
[frames] | no frames]

Source Code for Module starcluster.templates.experimental

 1  spotmsg = """USING SPOT INSTANCES IS EXPERIMENTAL. 
 2   
 3  Spot instances can take a long time to come up and may not come 
 4  up at all depending on the current AWS load and your max spot bid 
 5  price. 
 6   
 7  For now, StarCluster will wait indefinitely until all instances come up.  
 8  If this takes too long, you can cancel the start command using CTRL-C and  
 9  manually wait for the spot instances to come up by periodically checking  
10  the output of:  
11   
12     $ starcluster listspots 
13   
14  Once all spot requests in the '%(launch_group)s' launch group are in an  
15  'active' state and have an instance_id (e.g. i-99999) associated with them  
16  re-execute this same start command with the --no-create option: 
17   
18     $ starcluster %(cmd)s 
19   
20  This will use the existing spot instances launched previously and  
21  continue starting the cluster. 
22  """ 
23