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
已提問 5 個月前檢視次數 131 次
2 個答案
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
已回答 5 個月前
  • 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
已回答 5 個月前
  • Instance not in Auto scaling group

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

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

回答問題指南