Skip to content

Troubleshooting Node.js App Downtime on EC2 t2.micro After Updates

0

I have hosted my Node.js application on an EC2 instance (t2.micro). Whenever I release a production update, my server goes down. I have checked the logs and performed troubleshooting on the EC2 instance, but the server still goes down. When I restart or stop and then start the instance, the server comes back up, but it goes down again after a few minutes. How can I resolve this issue?

asked 2 years ago384 views
1 Answer
1

Hello.

What kind of errors are output in the system log or application log?
Also, since t2.micro is a small instance type, it is possible that it may stop due to some kind of load during application deployment.
Please check whether the CPU usage rate or memory usage rate was high during deployment.
By the way, the t2 series instance type consumes something called burst credits when the CPU usage rate is high.
Once this is consumed, performance will drop to the baseline throughput.
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/burstable-credits-baseline-concepts.html

EXPERT
answered 2 years ago
EXPERT
reviewed 2 years 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.