Elastic Load Balancer

Balance the network load across multiple web server

3 types

EC2 instance will log the ELB IP instead of user IP, so do look for X-Forwarded-For header

EC2 instance will log the ELB IP instead of user IP, so do look for X-Forwarded-For header

Target group: your LB routes requests to the targets in a target group using the target group settings that you specify, perform health check ..

Basically, group of EC2 instances for American customers, another group for European customers, having different language, currency setting, can create ALB to detect those and send request to the right group

Sticky Sessions

Classic LB routes each request independently to the registered EC2 instance with the smallest load

Allow to bind a user's session to a specific EC2 instance. This ensure that all requests from the user during the session are sent to the same instance

Can enable Sticky Sessions for ALB as well, but traffic will be sent at the Target Group Level

Can be useful if you are storing information locally to that instance