I can't connect to my EC2 instance.

0

I checked the connection after creating the instance, But it seems that at some point something went wrong with the instance.

After restarting the instance, It works fine, but I don't know the cause of the problem.

[Problems]

  • Cannot connect using PuTTY
  • 'ping' to Elastic IP is not responding
  • The state of the instance is RUNNING, but failed to check the status of the instance

[Installed on EC2]

  • Docker
  • Apache + PHP (Container)
  • MySQL (Container)

The CPU usage increased on 04/30/2022 03:00, and the instance status check fails after that. And there was no traffic at this time.

I checked the logs, no errors are found.

What more should I check?

已提問 2 年前檢視次數 244 次
1 個回答
0

I think you should check the utilization of the instance. Whenever the memory/cpu is full, it is possible to make instances inaccessible (because there is no resource left to serve the request).

已回答 2 年前

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

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

回答問題指南