AWS ELB lots of 5xx when facing high peak
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?
You may be experiencing a ramp up so fast the ALB is not scaling fast enough. Look at the following metrics:
If you are using a Classic Load Balancer, Look at the following metrics:
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.
Upload error when uploading a new war file to an ELB instance.asked 5 months ago
AWS ELB lots of 5xx when facing high peakasked 22 days ago
Apache threads and db connections not cleaning up causing ELB high latencyasked 3 years ago
High-Traffic, Load-Balanced Wordpress Site - Optimal DevOps setup for deployment?asked 3 months ago
High Quality ShadowsAccepted Answerasked 5 years ago
ELB HTTPCode_Target_5XX_Count is zero even when I'm seeing lots of 502s.asked 2 years ago
Adding a static IP to ELBasked 3 years ago
I'm having an issue with a high load of 502 from an ELBasked 5 months ago
Application ELB route traffic to new added instance before grace periodasked 3 years ago
Problem with ELB logsAccepted Answerasked 2 months ago