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
preguntada hace 5 meses140 visualizaciones
2 Respuestas
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
respondido hace 5 meses
  • 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
respondido hace 5 meses
  • Instance not in Auto scaling group

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas