1 Answer
- Newest
- Most votes
- Most comments
1
As you know, ALB supports stickiness with cookie and the cookie could be either ALB generated or Web App generated. If it's not possible to use non of these cookie in your environment, you can think of using NLB instead of ALB. NLB is not for application load balancer and is working at layer 4. But NLB can distribute HTTP traffic and you can use stickiness with source ip address. The other thing you should consider is that Health Check of NLB is not application layer but tcp layer so NLB can't check the health of target group at application layer. If you're OK with source IP stickiness and health check method of NLB is OK to use, you can try to use NLB.
answered 3 years ago
Relevant content
- asked 9 months ago
- asked 9 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 3 years ago
Thanks a lot Eunsu_Shin! We still need to perform further testing, but it seems to work perfectly.
Please check this post: https://repost.aws/questions/QU5PVBfQgVTOKV4vLr7nwVNg/network-load-balancer-stickiness-seems-to-fail-sometimes