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
asked 6 months ago185 views
2 Answers
1
Accepted Answer

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
answered 6 months ago
profile picture
EXPERT
reviewed a month ago
0

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

Melsad
answered 6 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions