An ec2 Ubuntu 22.04 VM reachability check failed after 4 days

0

I've started a stack using cloud formation.
I've noticed, after 4 days, all instances aren't reachable.
Nothing changed in those 4 days, I didn't actively install anything.
What may cause this? I'm not sure how can I check it after it happens because the VM isn't reachable.
The instance type is t2.micro. Enter image description here

Instance status checks
 Instance reachability check failed
Check failure at
2024/02/18 10:15 GMT+2 (34 minutes)
hudac
已提問 3 個月前檢視次數 126 次
2 個答案
0

Hi, Check network settings Ensure that the instance's security group or firewall rules allow incoming connections on the necessary ports.

profile picture
已回答 3 個月前
  • It does allow. I was able to connect to this instance for 4 days before it died.

0

Hello.

If the "Instance status check" fails, it is generally possible that the problem described in the following document is occurring.
https://repost.aws/knowledge-center/ec2-linux-status-check-failure

You can check the EC2 system log by following the steps in the document below.
This system log may contain logs that are useful for troubleshooting.
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/troubleshoot-unreachable-instance.html#instance-console-console-output

profile picture
專家
已回答 3 個月前
  • I cannot connect to console because this is an instance type of t2.micro. I did look at the console logs, the last log is from when the device started and I was able to connect. I will take a look at the first link, thanks!

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

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

回答問題指南