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 Respuestas
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
EXPERTO
respondido hace 8 meses
  • 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
EXPERTO
respondido hace 8 meses
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
EXPERTO
respondido hace 8 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas