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
답변함 일 년 전
profile picture
전문가
검토됨 한 달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠