Ec2 instance goes unresponsive - instance unreachablity error - status check failed

0

Hi, my Ec2 instance goes unresponsive - instance unreachablity error - status check failed as a result my EC2 free tier instance has turned unresponsive twice in last 48 hours. I don't see any obvious error in System logs. My instance is running Hestia CP with mail server from same instance as web. Have noticed CPU usage beyond 90+% immediately after rebooting instance. Could this be a reason for unreachablity of Instance? How to fix it?

3 Risposte
0

The instance status check fails when the instance load is high, such as memory depletion, as described in this document.
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/monitoring-system-instance-status-check.html#types-of-instance-status-checks

So the reason why we can no longer connect to your instance is because of the heavy load.
Possible countermeasures include using a larger instance size than now or selecting an instance type that is appropriate for the application workload.
https://aws.amazon.com/ec2/instance-types/?nc1=h_ls

Also, if you are able to deploy load balancing workloads, consider deploying an ELB in front of the instances to distribute the load among multiple instances.

profile picture
ESPERTO
con risposta un anno fa
0

2/2 checks for system and hardware faults. In either in systems faults stop and reboot the instance. This should replace the faulty EBS image with a new image of an instance. For hardware fault perform a termination of the EC2 and then launch a new EC2 instance.

profile picture
con risposta un anno fa
0

Use CloudWatch the monitor the CPU and Memory Disk and Network Metrics Data points in the Log stream Group. Stop the instance and change the instance type accordingly.

profile picture
con risposta un anno fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande