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

profile picture
Octavio
已提问 8 个月前285 查看次数
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 个月前

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

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

回答问题的准则