EC2 instance unexpectedly reboots itself

0

reboot system boot 5.19.0-1024-aws Mon May 1 20:06 still running reboot system boot 5.19.0-1022-aws Mon Apr 17 18:22 - 20:00 (14+01:37) reboot system boot 5.19.0-1022-aws Wed Apr 5 21:22 - 20:00 (25+22:37)

I'm checking root reason of the reboot, checked some system logs... didn't find any specific... Instance id : i-0dbafbb300887693d

已提問 1 年前檢視次數 293 次
1 個回答
0

Hi,

As described on the following Knowledge Center page, an EC2 instance could be restarted due to multiple reasons, I recommend you take a look.

If this is the first time it has happened, I would start checking if it is due to a scheduled event, in which AWS restart the instance when must perform tasks such as installing updates or maintaining the underlying host. In this case, AWS sends an email to the email associated with the AWS account prior to the scheduled event, providing details about the event, including the start and end date, but also sends an AWS Health event.

You could also check the system logs at /var/log/messages or /var/log/syslog depending on your OS, to rule out that it is due to operating system-level issues.

On the other hand, If the restarts are frequent, I would review if the health check are failing due to over-utilization of its resource, for which the following Knowledge Center page could be helpful.

profile picture
專家
已回答 1 年前

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

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

回答問題指南