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
已回答 1 个月前
相关内容
- AWS 官方已更新 3 年前