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

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ