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?

asked 2 years ago243 views
1 Answer
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).

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