Re: StarCluster with AWS IAM Role
I modified my starcluster repo to do this.
i.e. now my cluster config has an
IAM_PROFILE=blah
option.
You can see the necessary code in
https://github.com/JohnCEarls/StarCluster/commit/e70ad7a7d9394ab2b897d710a87d69307da9ddc2#diff-511f45764524effffd5cc4e4ef100afa
Most of the added code is just for passing through the profile name and
bookkeeping.
The only real diff is in starcluster/awsutils.py line 586.
I never got around to cleaning it up as a pull request.
Regards,
John C. Earls
https://plus.google.com/107716712696040682614/about
"Far better an approximate answer to the right question than an exact
answer to the wrong question, which can always be made precise."
--John Tukey
On Wed, Aug 6, 2014 at 7:03 AM, Kristy Choi <kristy.choi24_at_gmail.com> wrote:
> Hello!
>
> First of all thank you for your work on StarCluster -- we're planning to
> switch to AWS very soon, and your program is making the transition a lot
> easier.
>
> I just had a quick question about configuring user permissions via
> StarCluster. We'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's
> permissions will make it so that we won't have to install and configure the
> AWS command line interface with our access keys/passwords every single
> time.
>
> Amazon details a potential solution with IAM Roles in the link below, but
> the process is quite cumbersome:
>
>
> http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/iam-roles-for-amazon-ec2.html
>
> I was wondering if there was a better way to do this in StarCluster -- any
> advice would be greatly appreciated.
>
> Thank you so much for your time!
>
> Kristy
>
> _______________________________________________
> StarCluster mailing list
> StarCluster_at_mit.edu
> http://mailman.mit.edu/mailman/listinfo/starcluster
>
>
Received on Wed Aug 06 2014 - 13:30:10 EDT
This archive was generated by
hypermail 2.3.0.