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.

已提問 2 年前檢視次數 284 次
1 個回答
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
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南