jtriley / StarCluster

StarCluster is an open source cluster-computing toolkit for Amazon's Elastic Compute Cloud (EC2).
http://star.mit.edu/cluster
GNU Lesser General Public License v3.0
583 stars 313 forks source link

How to run StarCluster with AWS IAM Role #607

Open ewijaya opened 7 years ago

ewijaya commented 7 years ago

How can I modify StarCluster config or code to include IAM Role?

So that when I do this:

starcluster start mycluster

The IAM Role can be automatically activated in EC2 instances (master and nodes). I did try to look around but of no avail info. At the end of the day, I need to mount my S3-bucket, which is assigned to IAM Role.

cancan101 commented 7 years ago

see: https://github.com/jtriley/StarCluster/issues/575 and https://github.com/JohnCEarls/StarCluster/commit/e70ad7a7d9394ab2b897d710a87d69307da9ddc2#diff-511f45764524effffd5cc4e4ef100afa