Instance stop working

0

Hello,

I am running a simple service on t2.micro instance but sometimes the instance simply stop responding after few days of working and I can no longer connect to it even if it is till running. What should I do to avoid this interruption?

Melsad
demandé il y a 6 mois192 vues
2 réponses
1
Réponse acceptée

Hello.

Is your EC2 instance's CPU usage or memory usage high?
If these values ​​are high, there is a possibility that the instance specifications are insufficient.
Also check the CloudWatch metrics to see how much CPU credits are being consumed.
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-credits-baseline-concepts.html

Please follow the steps in the document below to check the system log and see if there are any errors.
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-console.html#instance-console-console-output

profile picture
EXPERT
répondu il y a 6 mois
profile picture
EXPERT
vérifié il y a un mois
0

Many thanks. This was the problem and the cpu utilization was up to 99%. Will need to upgrade the instance.

Melsad
répondu il y a 6 mois

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions