跳至內容

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 年前檢視次數 329 次
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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。