5XX errors makes EC2 instances keep going into degrade and then warning state.

Aakash Sinha
Aakash Sinha used Ask the Experts™
on
We have  hosted  a UI application using Node js on AWS Elastic beanstalk in production environment . Because of minimal 1 to 5 % 5XX errors the EC2 instances keep going into degrade and then warning state. This is happening for very few minutes time interval. After sometime EC2 instance goes into normal state.  How to configure the threshold for 5 xx error so that we cannot see the server into degrade or warning state.
Server_State.PNG
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Ramasamy PanchavarnamSenior Technical Architect

Commented:
In General, 5xx  status code indicates an internal error. It may due to an error in your application code and should be identified and fixed asap.
The degrade or severe may happen when CPU load increased beyond the threshold level. If you are getting these errors high during peak loads only, then increase the cluster size is the only option.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial