How to run StarCluster with AWS IAM Role

2019-06-23 00:46发布

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.

1条回答
女痞
2楼-- · 2019-06-23 01:23

Starcluster does not support this out the box. The automated solution would be to write a plugin (I couldn't find any) in python that uses the boto AWS library to add IAM roles to instances.

If automation isn't required, then the good news is that AWS announced this week the ability to change IAM roles of existing instances. You would have to use a similar workflow to automate the process.

查看更多
登录 后发表回答