- Newest
- Most votes
- Most comments
Hi,
You have to check the ec2 instance API events in CloudTrail, if EC2 instance is getting shutdown/restarted.
https://docs.aws.amazon.com/awscloudtrail/latest/userguide/view-cloudtrail-events.html
Check the cpu , disk, network and memory utilization (by logging into EC2 instance) of the ec2 instance. Sometimes there is a extra load on the server because of many reasons like memory leak, DDos attack etc. It will show the spike before the applications stop responding.
You have to check the webserver and application server error and access logs . It will give you more insight when the application stop responding and the reason.
here is a very good article to troubleshoot a unresponsive website EC2 instance https://repost.aws/knowledge-center/ec2-instance-hosting-unresponsive-website
Relevant content
- asked a year ago
- asked 2 years ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated a month ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 8 months ago