如何修改 StarCluster 配置或代码以包含IAM角色?
How can I modify StarCluster config or code to include IAM Role?
所以当我这样做时:
starcluster start mycluster可以在EC2实例(主节点和节点)中自动激活IAM角色. 我确实尝试环顾四周,但无济于事.
The IAM Role can be automatically activated in EC2 instances (master and nodes). I did try to look around but of no avail info.
推荐答案Starcluster不支持此功能.自动化的解决方案是在python中编写一个插件(我找不到),该插件使用boto AWS库向实例添加IAM角色.
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.
如果不需要自动化,那么好消息是AWS 本周宣布能够更改现有实例的IAM角色.您将必须使用类似的工作流程来自动化该过程.
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.
更多推荐
如何使用AWS IAM角色运行StarCluster
发布评论