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 Antwort
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
beantwortet vor 2 Jahren
profile pictureAWS
EXPERTE
Toni_S
überprüft vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen