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
asked 3 months ago114 views
2 Answers
0

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

profile picture
answered 3 months ago
  • 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
EXPERT
answered 3 months ago
  • 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!

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.

Guidelines for Answering Questions