<div dir="ltr">I modified my starcluster repo to do this.<div><br></div><div>i.e. now my cluster config has an </div><div>IAM_PROFILE=blah</div><div><br></div><div>option.</div><div><br></div><div>You can see the necessary code in <a href="https://github.com/JohnCEarls/StarCluster/commit/e70ad7a7d9394ab2b897d710a87d69307da9ddc2#diff-511f45764524effffd5cc4e4ef100afa">https://github.com/JohnCEarls/StarCluster/commit/e70ad7a7d9394ab2b897d710a87d69307da9ddc2#diff-511f45764524effffd5cc4e4ef100afa</a></div>

<div><br></div><div>Most of the added code is just for passing through the profile name and bookkeeping.</div><div><br></div><div>The only real diff is in <span style="color:rgb(51,51,51);font-family:Helvetica,arial,freesans,clean,sans-serif,&#39;Segoe UI Emoji&#39;,&#39;Segoe UI Symbol&#39;;font-size:13px;line-height:33px;background-color:rgb(247,247,247)">starcluster/awsutils.py line </span><span style="color:rgb(51,51,51);font-family:Helvetica,arial,freesans,clean,sans-serif,&#39;Segoe UI Emoji&#39;,&#39;Segoe UI Symbol&#39;;font-size:13px;line-height:33px;background-color:rgb(247,247,247)">586.</span></div>

<div><span style="color:rgb(51,51,51);font-family:Helvetica,arial,freesans,clean,sans-serif,&#39;Segoe UI Emoji&#39;,&#39;Segoe UI Symbol&#39;;font-size:13px;line-height:33px;background-color:rgb(247,247,247)">I never got around to cleaning it up as a pull request.</span></div>

</div><div class="gmail_extra"><br clear="all"><div><div dir="ltr">Regards,<br><br>John C. Earls<br><br><a href="https://plus.google.com/107716712696040682614/about" target="_blank">https://plus.google.com/107716712696040682614/about</a><div>

<br></div><div><div style="font-family:arial;font-size:small"><span style="color:rgb(41,47,51);font-family:&#39;Gotham Narrow SSm&#39;,sans-serif,Arial;font-size:16px;line-height:22px;white-space:pre-wrap">&quot;Far better an approximate answer to the right question than an exact answer to the wrong question, which can always be made precise.&quot;</span></div>

<div style="font-family:arial;font-size:small"><br></div><div style="font-family:arial;font-size:small">--John Tukey</div></div></div></div>
<br><br><div class="gmail_quote">On Wed, Aug 6, 2014 at 7:03 AM, Kristy Choi <span dir="ltr">&lt;<a href="mailto:kristy.choi24@gmail.com" target="_blank">kristy.choi24@gmail.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!<div><br></div><div>First of all thank you for your work on StarCluster -- we&#39;re planning to switch to AWS very soon, and your program is making the transition a lot easier. </div><div><br></div>
<div>

I just had a quick question about configuring user permissions via StarCluster. We&#39;re looking for a way to adjust settings so that every user who launches/logs on to one of our EC2 instances will automatically have access to files uploaded in our S3 buckets. This propagation of the root&#39;s permissions will make it so that we won&#39;t have to install and configure the AWS command line interface with our access keys/passwords every single time. </div>


<div><br></div><div>Amazon details a potential solution with IAM Roles in the link below, but the process is quite cumbersome:</div><div><br></div><div><a href="http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html" target="_blank">http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html</a><br>


</div><div><br></div><div>I was wondering if there was a better way to do this in StarCluster -- any advice would be greatly appreciated.</div><div><br></div><div>Thank you so much for your time!</div><span class="HOEnZb"><font color="#888888"><div>

<br></div><div>
Kristy </div></font></span></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>