1)In your AWS Ec2 console, In the navigation pane, choose Instances.
Select the instance and choose Instance state, Reboot instance.
Alternatively, select the instance and choose Actions, Manage instance state. In the screen that opens, choose Reboot, and then Change state.
Choose Reboot when prompted for confirmation.
The instance remains in the "running" state. 2) The other problem might be from kernel (sudo yum update kernel or if i miss out any additional commands you can look in google .I dont remmeber now ) end, you might need to reboot . Also check the system logs are located at /var/log/messages or /var/log/syslog depending on your OS distribution.
3)Also check your reboot history to determine if a user or an application inside the server initiated the reboot:
grep reboot /home/*/.bash_history
grep reboot /root/.bash_history
history | grep -i reboot
history | grep -i init
4)The other area in cloudtrial- Event histroy -Select Event name from the filter dropdown list, and then enter RebootInstances.
create an Amazon CloudWatch alarm that automatically recovers instances experiencing underlying hardware issues resulting in reboot.
Hope this helps.
ec2 server restarted itselfasked 12 days ago
EC2 instance - Server refused our keyasked 8 months ago
How to configure Lambda function to get EC2 CPU utilization?asked 12 days ago
AWS EC2: restarted instance, got assigned a new IP, now IP is redirecting to old IP via response headers Location.asked 3 months ago
Hasura server shows 502 Bad Gateway errors which is running on EC2asked 13 days ago
Web server not responding on AWS EC2 when sending larger http responseasked a year ago
Reusing existing Windows server licenses with EC2Accepted Answerasked 7 years ago
EC2 instance rebooted by itselfAccepted Answerasked 3 years ago
Connecting remote FTPS server from EC2 instanceasked 7 months ago
High CPU Utilization with Cloud-Watch-Agentasked 2 months ago