How to Launch StarCluster Using the AWS IAM Role

How do I change the configuration or StarCluster code to enable the IAM role ?

So when I do this:

starcluster start mycluster 

The IAM role can be automatically activated in EC2 instances (master and nodes). I tried to look around , but to no avail.

+5
source share
1 answer

Starcluster does not support this. An automatic solution would be to write a plugin (I could not find it) in python, which uses the AWS boto library to add the IAM role to instances.

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

0
source

Source: https://habr.com/ru/post/1263877/


All Articles