1 個回答
- 最新
- 最多得票
- 最多評論
2
I haven't created instance profiles via the console in a while, but since you already have your role created, you can create an EC2 instance profile and attach it to your existing role by launching CloudShell and running the following commands. Be sure to replace "EC2RoleForMyServer" with the name of your role:
aws iam create-instance-profile --instance-profile-name EC2RoleForMyServer aws iam add-role-to-instance-profile --instance-profile-name EC2RoleForMyServer --role-name EC2RoleForMyServer
已回答 2 個月前
相關內容
- 已提問 1 年前