2 Answers
- Newest
- Most votes
- Most comments
1
Ensure you have Cross-Zone Load balacning enabled as its off by default on an NLB
ALB https://docs.aws.amazon.com/elasticloadbalancing/latest/application/disable-cross-zone.html
Also make sure the security groups are correct on all instances that allow access from the ELB and that the ELB can connect to the instances
0
Hello,
Your ELB might not be routing traffic due to security group or Network ACL issues.
Double-check inbound rules for ELB and instance security groups on ports 5000 (and 443 for HTTPS) to allow traffic from the internet/Global Accelerator.
- I had two listeners set up on the ELB, one for 80 and one for 443, which was correct. The listener for 80 was set up correctly to forward to backend (Nginx) port 80 over HTTP as expected. The 443 listener was INCORRECTLY configured to send to port 80 on the backend over HTTPS. I updated the 443 listener to use the same rule as the 80 listener (i.e. listen on 443 but send to backend 80 over HTTP) and it worked.
For detailed troubleshooting steps, refer to AWS documentation on Network Load Balancers: https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-troubleshooting.html
Relevant content
- asked 5 years ago
- asked 6 months ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated 2 months ago
- AWS OFFICIALUpdated a month ago
- AWS OFFICIALUpdated 4 months ago
Yes understood.
So now my question is : should i create another loadBalancer for another app ? because its owrking for my app listening on 5000 and 443 but another app not, so I should create new ELB for it ?