By using AWS re:Post, you agree to the Terms of Use

EC2 instance rebooted by itself

0

Hi,

Our instance i-01e1a29d2d2b1c613 just rebooted itself at 23:50:03 UTC and the machine was not restarted until 00:42:57 UTC.

From /var/log/syslog:

May  9 23:50:03 usanalytics systemd[1]: Started Session 916653 of user ubuntu.
May 10 00:42:57 usanalytics rsyslogd: [origin software="rsyslogd" swVersion="8.16.0" x-pid="1158" x-info="http://www.rsyslog.com"] start

We didn't issue the reboot. We have checked a lot of logs and we didn't find anything. Can somebody explain why this happened?

Thanks
Alfredo

Edited by: alfredolopez on May 10, 2019 2:59 AM

asked 3 years ago16 views
1 Answer
0
Accepted Answer

Hi Alfredo,

I can confirm due to unforeseen circumstances the underlying hardware that your EC2 Instance was running on experienced a transient underlying hardware issue. As a result, it was rebooted as part of the recovery process, apologies for any inconvenience this may have caused. You can review this via the System Status Check Cloudwatch graph [1].

For future references, I would highly recommend implementing Auto Recovery for your Instances. You can automatically recover Instances when a system impairment is detected. This feature recovers the instance on different underlying hardware and reduces the need for manual intervention. More information regarding this can be found in the below documentation:

https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-recover.html

In summary, the reboot was caused as part of a recovery procedure when the underlying hardware experienced a transient issue. However, since you performed a stop/start your instance was migrated to a different underlying hardware. More information about what happens when you perform a stop/start can be found below:

https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html#instance_stop

Regards,
LoiyAWS
[1] https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/monitoring-system-instance-status-check.html#types-of-instance-status-checks

answered 3 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions