how to add IAM role to an existing instance in aws?

前端 未结 5 1862
时光说笑
时光说笑 2021-02-12 22:44

I would like to add an IAM Role to an existing EC2 instance in AWS. I tried using AWS CLI. However, I could not find a way to do that.

5条回答
  •  伪装坚强ぢ
    2021-02-12 23:20

    Well that's the harsh truth as of now. You can't associate an IAM role to an existing instance. I came to know that when I was trying System Server Manager service which required your EC2 instance to coomunicate with ssm api.

    I think we have to wait some more time.

提交回复
热议问题