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 个月前192 查看次数
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 个月前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则