Skip to content

How to fix this error ?

0

I get this error when try to connect EC2 instance - "EC2 Instance Connect is unable to connect to your instance. Ensure your instance network settings are configured correctly for EC2 Instance Connect." Enter image description here

asked 3 years ago451 views
1 Answer
1

Did you check if one of security group attached your EC2 instance allows TCP port 22.

Is your instance is deployed in public subnet, make sure that subnet has internet gateway attached to it's route table, otherwise resources inside that subnet can't reach to internet and hence that subnet is not public.

If EC2 instance in private subnet, then I'd suggest you to follow this blog post, which explains, how can you connect to your private ec2 instance using EC2 Instance Connect Endpoint.

Also, I'd suggest you to check Resolution section at this re:Post Knowledge Center Article, which has lot of details and cover the issues, which may be encountered while EC2 Instance connect.

Here is the AWS documentation for EC2 Instance Connect.

Hope you find this useful.

Comment here if you have additional questions, happy to help.

Abhishek

AWS
EXPERT
answered 3 years ago
EXPERT
reviewed 3 years ago
  • Were you able to find the cause of issue, comment here if you have additional. I'd be glad to help.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.