Skip to content
- Elastic Load Balancing is an AWS service that ensures that load is distributed across a set of running instances
- AWS offers three types of Load Balancing which run at different levels:
- Application Load Balancer (ALB) – for web applications, runs at HTTP/HTTPS protocols
- Network Load Balancer (NLB) – for network level load balancing, runs at TCP/TLS/UDP protocols
- Classic Load Balancer (CLB) – a previous generation LB for existing EC2 instances running in classic network
- Since Load Balancer environments don’t guarantee that the same instance executes a same request twice, session management can sometimes be an issue
- If we wants to persist user sessions and route a user request to a particular instance under the ALB all the time, we need to enable Sticky Sessions on the ALB.