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
已提問 6 個月前檢視次數 193 次
2 個答案
1
已接受的答案

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
專家
已回答 6 個月前
profile picture
專家
已審閱 1 個月前
0

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

Melsad
已回答 6 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南