EC2 crashes a few time a week last month
In the last month my EC2 which hosts my blog went down 2 or 3 times every week. I have no idea why because it has running totally normally before that. I checked my blog frequently so I usually restarted it pretty fast but I am trying to solve the issue completely. Just wondering how I can see the reason for the crash of my EC2? Thanks
First of all, you can view the system log to see if there are any errors on the instance: https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/TroubleshootingInstances.html#troubleshooting-retrieve-system-logs
Secondly, you can view the detailed system log files to troubleshoot the issue
-
For Linux systems, you can search files under
/var/log
(e.g./var/log/syslog
) -
For Windows systems, you can search the Windows Logs from Event Viewer (https://docs.microsoft.com/en-us/shows/inside/event-viewer)
Relevant questions
Why was my EC2 Instance deleted from my account?
asked 2 years agoMy instance randomly shut down (i-0c9d6ec62a98addd4)
asked 3 years agoEC2 Dashboard says I have NO INSTANCES
asked 2 years agoWhy was my EC2 Instance deleted from my account?
asked 2 years agoMy Aurora RDS just peak for no reason
asked 6 months agoAthena + CUR report - resources created in the last week?
Accepted Answerasked 2 years agoHow to keep a process running on my EC2 instance via cloud9
asked 3 years agoEC2 crashes a few time a week last month
asked 21 days agoec2 disconnects from the internet every month
asked 3 months agoMy AWS account has been hacked over a week and it generated a bill of $2845 in last two days of Feb and $3431 in March. In just 15 days, this amount got generated.
asked 4 months ago