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개 답변
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
답변함 2년 전
profile pictureAWS
전문가
Toni_S
검토됨 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠