如何使用AWS IAM角色运行StarCluster

编程入门 行业动态 更新时间:2024-10-27 18:24:08
本文介绍了如何使用AWS IAM角色运行StarCluster的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

如何修改 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

本文发布于:2023-10-23 00:27:42,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1519197.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:如何使用   角色   IAM   AWS   StarCluster

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!