Skip to content

Can't connect to instance

0

After restarting the instance (it became unreachable via ssh), I can't connect to it anymore even after restart. It also fails the following check: Instance reachability check failed

I tried signing up for support, but it says I need to get approved.

asked a year ago133 views
1 Answer
1

Hello.

Is the public IP address of the EC2 instance you are using for SSH connections correct?
If you stop and restart your EC2 instance, the public IP address will change if you have not configured ElasticIP.
https://repost.aws/knowledge-center/ec2-recover-ip-address

Also, were you doing anything on the OS before restarting the EC2 instance?
If you have been working, that work may be affecting you.

This can only be confirmed on instances built on AWS Nitro System, but have you checked the EC2 system logs?
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/troubleshoot-unreachable-instance.html#instance-console-console-output

Also try restoring from a snapshot.
https://docs.aws.amazon.com/prescriptive-guidance/latest/backup-recovery/restore.html

EXPERT
answered a year ago
EXPERT
reviewed a year ago
EXPERT
reviewed a year ago

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.