Elastic Load Balancer (ELB) offers advanced traffic handling features to improve
user session continuity, availability, security, and graceful instance shutdown.
This guide covers:
Each explained with a kaptaindevops scenario.
Ensures a user is always routed to the same backend instance during a session.
Useful when servers store session data locally, like login or shopping cart state.
| Load Balancer | Sticky Session Support |
|---|---|
| ALB | Yes (application-based cookies) |
| NLB | Only for TCP connections (connection stickiness) |