<div dir="ltr">Hi Cody,<div>I don&#39;t see why not. I haven&#39;t touched the load balancer code in a few years. But from my memory, it reads the config file on startup whenever you run <span style="font-size:12.8px">`starcluster loadbalance </span><wbr style="font-size:12.8px"><span style="font-size:12.8px">starcluster-name` </span>and will pick up the new AMI then. So if you kill the last loadbalance process, swap the AMI in the config file, then restart, the load balancer should begin adding the new AMI. The new AMI must be compatible with starcluster obviously, and be ready for starcluster and SGE bootstrapping. This is easy to verify by simply using it to start a new cluster as a test.</div><div><br></div><div>Give it a try and let us know?</div><div>Best,</div><div>Raj</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 25, 2017 at 12:32 PM, Colby Taperts <span dir="ltr">&lt;<a href="mailto:colby.taperts@codewilling.com" target="_blank">colby.taperts@codewilling.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello,<br><br>Would it be possible to change the node AMI after the StarCluster is up?<br><br>for example, use the below setup to initialize the StarCluster<br><div><br><div>master_image_id = ami-0330d16a</div><div>master_instance_type = m1.small</div><div>node_image_id = ami-0330d16a</div><div>node_instance_type = m1.small<br><br><br>then change the config to:<br><br><div>master_image_id = ami-0330d16a</div><div>master_instance_type = m1.small</div><div>node_image_id = ami-0111111 # New AMI name</div><div>node_instance_type = m1.small<br><br>Start `starcluster loadbalance <wbr>starcluster-name`<br><br>and have the new node AMI created when a node is needed<br><br>Or would I need to destroy the cluster if I need to set up the new AMI?<br><br>Thanks so much!<span class="HOEnZb"><font color="#888888"><br>-Colby Taperts</font></span></div></div></div></div>
<br>______________________________<wbr>_________________<br>
StarCluster mailing list<br>
<a href="mailto:StarCluster@mit.edu">StarCluster@mit.edu</a><br>
<a href="http://mailman.mit.edu/mailman/listinfo/starcluster" rel="noreferrer" target="_blank">http://mailman.mit.edu/<wbr>mailman/listinfo/starcluster</a><br>
<br></blockquote></div><br></div>