AWS ELB lots of 5xx when facing high peak

0

I am experiencing a high number of ELB 5xx errors where it did not forward the traffic to my ECS targets, during a high peak where access went up from 10k to 60k per minute.

After research we are quite confident that it is not anything in here: https://docs.aws.amazon.com/elasticloadbalancing/latest/application/load-balancer-troubleshooting.html. And also the ECS service itself is running well. Anyone has any idea what could be the bottleneck for ELB?

  • Could you please clarify which 5xx you saw? 502, 503, 500 or other? When 5xx error occurred, can you check if all ECS targets are healthy and reachable?

1 Answer
0

You may be experiencing a ramp up so fast the ALB is not scaling fast enough. Look at the following metrics:

ActiveConnectionCount
NewConnectionCount
RejectedConnectionCount

If you are using a Classic Load Balancer, Look at the following metrics:

RequestCount
SpilloverCount
SurgeQueueLength

If you see that you are not scaling fast enough, you can work with support to "pre-warm" the load balancers by filing a support ticket.

profile pictureAWS
answered 2 years ago
profile pictureAWS
EXPERT
Toni_S
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.

Guidelines for Answering Questions