It doesn't.<div><br></div><div>Currently the user data is used by starcluster itself to store node aliases.</div><div><br></div><div>I had a similar requirement as yours - but in my case - the user data was restricted to shell scripts. So what i did for my use case was hack the starcluster code to use the first line of the user data - prepended with a '#' for node aliases - and the rest of the user data could be used as a shell script (filled in when launching the cluster from the configuration).</div>
<div><br></div><div>it seemed pretty hacky to me - so didn't try to contribute back.<br><br>there may be other ways of achieving this outcome. for example - one could take the cluster-name and the instance alias (node001 etc.) and then map that to a location in s3 (s3://urbucket/cluster-name/node001) and then store instance specific user data in that location. the boot scripts can get the cluster name and the instance alias from ec2 apis and then use that to locate the instance data and get rolling.<br>
<br><div class="gmail_quote">On Tue, Jan 24, 2012 at 9:22 PM, Paolo Di Tommaso <span dir="ltr"><<a href="mailto:Paolo.DiTommaso@crg.eu">Paolo.DiTommaso@crg.eu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">Dear all, <div><br></div><div>Does StarCluster provide any support for EC2 user data feature?</div><div><br></div><div><a href="http://www.turnkeylinux.org/blog/ec2-userdata" target="_blank">http://www.turnkeylinux.org/blog/ec2-userdata</a></div>
<div><br></div><div><br></div><div>I would like to use this mechanism to specify some extra instance configuration at node boot time. </div><div><br></div><div>If no, is there any other alternative? </div><div><br></div><div>
<br></div><div>Thank you,</div><div>Paolo Di Tommaso</div><div><br></div><div><span style="border-collapse:separate;color:rgb(0,0,0);font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;text-align:auto;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;font-size:medium"><div>
<div>Software Engineer </div><div>Comparative Bioinformatics Group</div><div>Centre de Regulacio Genomica (CRG)</div><div>Dr. Aiguader, 88</div><div>08003 Barcelona, Spain</div></div></span>
</div>
<br></div><br>_______________________________________________<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" target="_blank">http://mailman.mit.edu/mailman/listinfo/starcluster</a><br>
<br></blockquote></div><br></div>