跳至内容

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.

已提问 2 年前328 查看次数
1 回答
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

专家
已回答 2 年前
专家
已审核 2 年前
专家
已审核 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。