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
gefragt vor 5 Monaten131 Aufrufe
2 Antworten
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
beantwortet vor 5 Monaten
  • 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
beantwortet vor 5 Monaten
  • Instance not in Auto scaling group

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen