REGION UNSUPPORTED, I can not connect to a EC2 instance because the Region (eu-spain) is not supported for IAM instance profile

0

I can not connect to a EC2 instance because the Region (eu-spain) is not supported for IAM instance profile, how can I do? thanks Octavio

This is the message that shows

this is the question, do not allow me to connect

3개 답변
0

Hello.

Basically, IAM-related stuff is available in all regions, but what exactly did you try to do that failed?
https://docs.aws.amazon.com/general/latest/gr/iam-service.html

profile picture
전문가
답변함 8달 전
  • I have created an EC2 using the Spain region on my AWS account. In doing so, we were able to confirm that we could connect to EC2 with Session Manager using an instance profile.

0

Hi, from your error message, you seem to be logging into your account via AWS IAM Identity Center (IIC)

See list on page: https://docs.aws.amazon.com/general/latest/gr/sso.html

Spain is not in it.

So, you will have to obtain another direct login to this account or work temporarily in another account with direct access if you want to keep working in the region eu-spain.

Re AWS IIC: see https://aws.amazon.com/iam/identity-center/

Didier

profile pictureAWS
전문가
답변함 8달 전
0

Updated image confirmed.
The first image is an IAM Identity Center issue, so I don't think it has anything to do with EC2 instance profiles.
https://docs.aws.amazon.com/singlesignon/latest/userguide/what-is.html

Are instance profiles configured when launching EC2?
Also, do you have AmazonSSMMManagedInstanceCore set for the IAM role you are using for the instance profile?
Otherwise, if EC2 is running on a private subnet, it is necessary to configure a NAT Gateway or Systems Manager VPC endpoint.
https://docs.aws.amazon.com/aws-managed-policy/latest/reference/AmazonSSMManagedInstanceCore.html

profile picture
전문가
답변함 8달 전

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

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

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

관련 콘텐츠