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

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠