EC2 instance suddenly stopped working.

0

Last week, one of my EC2 instances suddenly became unresponsive without any prior changes on my end. Despite trying various troubleshooting steps, such as allowing ports and checking network settings, I couldn't pinpoint the issue. When attempting to SSH into the instance, I encountered the error message: "Failed to connect to your instance. EC2 Instance Connect is unable to connect to your instance. Ensure your instance network settings are configured correctly for EC2 Instance Connect." It's important to note that I haven't made any alterations that could have caused this failure. If anyone has insights or potential solutions, I'd greatly appreciate the assistance.

Ansh
已提问 2 个月前166 查看次数
1 回答
0

Hello.

What is the CPU and memory load on the EC2 instance?
Also, what instance type are you using?
Did you check the EC2 system log and did any other errors occur?
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/troubleshoot-unreachable-instance.html#instance-console-console-output

profile picture
专家
已回答 2 个月前
profile pictureAWS
专家
已审核 2 个月前
  • Hi, I am using t2.medium type instance and CPU utilization and Disk usage both are almost 1.5% only , also checked the system logs it shows me login: in the end but i can see some errors before that like "OSError: [Errno 21] Is a directory: '/var/lib/cloud/instance' Failed to start Initial cloud-init job (metadata service crawler)."

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

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

回答问题的准则