I AM User with EC2 Full access, can see the instance but is unable to connect to it

0

Hi, Our access woes continue!! After syncing the geo-location, my I AM Users could finally see the running instances, but despite full EC2 Access, they cannot connect to the instance. When they try to connect it gives this error: because no identity-based policy allows the iam:ListUsers action not authorized to perform: iam:ListUsers on resource

They have full EC2access, what are we missing. Please help/

1 回答
0

Hi

My understanding is you cannot connect to EC2 despite having Full EC2 permission. And you want to see what configuration is missing?

First, i am not clear how you try to access EC2? Are you using

  1. EC2 Instance connect?
  2. Session Manager?
  3. SSH client?

if you using EC2 instance connect. Ensure the instance allow SSH port and you have proper permission. EC2 full access is not giving this permission, use EC2 Instance Connect. Follow this document

if you using Session Manager, ensure you instal the SSM agent in the EC2 and you have right Session Manager permission. Use SSM permission in addition to EC2 permission. You don't need full EC2 permission. Follow this document.

If you using SSH client, ensure you have the right SSH key. However, given the error you use. I don't think you use this.

I hope it help.

profile pictureAWS
专家
Resa
已回答 1 年前
profile picture
专家
已审核 1 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则