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
gefragt vor 3 Monaten154 Aufrufe
2 Antworten
1
Akzeptierte Antwort

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
EXPERTE
beantwortet vor 3 Monaten
0

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

Melsad
beantwortet vor 3 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen