Instance is in running state, status checks are passed but site is not connecting

0

I have t2.medium instance that remains in running state, status checks are also passed, but my site doesn't accept traffic. Now when I stop-start my instance, site starts working. This happens every now and then, after some weeks. I have seen logs, nothing's in there as well. Once CPU usage was 35% when this happened, and once it was 17%. Other than that I could not find any un-usuality.

asked 2 years ago287 views
1 Answer
0

Hi As per your issue, please check the available free RAM in your instance when your website stop working, also the the inode in your ec2 machine. If both things are ok, then run curl -I [your domain name] from your local system and also run this command from ec2 instances. may be possible your website stop working in your particular network. If both output was same and status code is 200 then try to change your instance class to r6i.large or r5.large.

Hope these troubleshooting steps will help you to resolve this issue.

profile picture
answered 2 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