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 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南