The AWS Ec2 instance is running but it's like being offline for a while

0

The AWS Ec2 instance is running and cannot be connected at about three o'clock Beijing time. It seems to be offline. The website service hangs up and automatically recovers after a period of time. How can I solve the problem?

asked 2 months ago93 views
1 Answer
0

Hello.

What is the load status of EC2?
For example, were the CPU usage rate and memory usage rate high during the time when connection was not possible?
Also, what instance type are you using on EC2?
If you are using a T-based instance type such as T2, please make sure that you have not consumed all the CPU burst credits.
When these burst credits are used up, performance will drop to the baseline throughput, which will affect website display.
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-performance-instances.html

profile picture
EXPERT
answered 2 months ago
profile picture
EXPERT
reviewed a month ago
  • There is currently no traffic on the website. It has not been long since the website was established. The load should not be high

  • Are there any errors output in the system log or web server log during the time when connection was not possible?

  • During the offline period of the EC2 instance: There is no error exception log on the web. The CPU is not too high during the offline period. The system log shows: device ens5 left promiscuous mode device ens5 entered promiscuous mod

  • EC2 instance is t3.medium

  • Use EC2 Instance Connect show Failed

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