Skip to content

EC2 Suddenly stopped responding

0

Why did my EC2 randomly stop responding, I was in the middle of using it and I closed it to restart now everytime I try to connect through putty it says connection timed out.

I tried restarting, checked my security group. It makes no sense, I didn't change anything at all.

asked 2 years ago322 views
1 Answer
2

Hello.

Is the EC2 IP address used during SSH connection correct?
If you have not set an Elastic IP address, the public IPv4 address will change when you restart EC2.
https://repost.aws/knowledge-center/ec2-recover-ip-address

Also, try connecting to EC2 using Session Manager instead of SSH and check if sshd is running.
If SSM Agent is installed on EC2 and the appropriate IAM role is set on EC2, you can connect with Session Manager.
https://docs.aws.amazon.com/systems-manager/latest/userguide/session-manager.html

EXPERT
answered 2 years ago
EXPERT
reviewed 2 years ago
EXPERT
reviewed 2 years 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.