简体   繁体   English

如何将IAM角色应用于EC2实例?

[英]How to apply IAM Role to EC2 instance?

I launched a EC2 instance with no IAM Roles at the beginning. 我在一开始就推出了一个没有IAM角色的EC2实例。 Now I want to add a IAM Role to the EC2 instance. 现在我想向EC2实例添加IAM角色。 So how can I do this? 那我该怎么做呢?

You can do this using the aws cli. 你可以使用aws cli来做到这一点。 There's a howto blog post available here. 这里有一个howto博客帖子

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM