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?

已提问 2 年前306 查看次数
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 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则