EC2 instance restarted without any logs

0

EC2 instance was restarted automatically but there is no traces of the logs in the syslog or in any logs for the period instance is down. How can I find the reasons for the restart?

EthanG
asked 4 months ago122 views
2 Answers
0

Hi EthanG,

It's linux? https://geekflare.com/check-linux-reboot-reason/ may help, there should be something in logs prior and after reboot?

What uptime is saying, does it's notice reboot and counting from 0 or uptime is still steady growing?

Thanks,

profile picture
answered 4 months ago
  • I ran the last -x and I can see current (After reboot) and previous (before reboot) instance are in "running" status

  • In link what I've provided you will see the reason why Linux was rebooted.

0

Checking if you are putting your instance under Auto Scaling Group. If the instance is failed during health check, it might be run new instance.

profile picture
answered 4 months ago
  • Instance not in Auto scaling group

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