πŸ”ƒ

Elastic Load Balancer

Owner
Verification
Tags
Last edited time
⚠️
can set as private or public

Clasic Load Balancer

HTTP, HTTPS, TCP, SSL - only one SSL per balancer (can set up multiple), layer 3/7.

Application Load Balancer

HTTP, HTTPS, WebSocket (layer 7) , multiple target groups/containers, HTTP2. redirect (HTTPS)

EC2, ECS task, lambda function, IP address, check at the target group level

Network Load Balancer

TCP, TLS, UDP (layer 4) - HP, low latency, forward traffic (TCP/UDP) - on IP per AZ / elastic IP

EC2. IP (on premises), ALB (layer 7 routing with static IP) can waitlist an IP address

πŸͺ
can reserve a regional DNS name - will give 3 IP per AZ , or Zonal DNS name for one AZ
πŸ₯Ά
no security group on the NLB - only on the EC2 can use NACL’s to secure and restrict traffic

Gateway Load Balancer

IP (Layer3) to manage 3rd party appliances (Firewalls, IDPS, Packet inspection)

good for scanning traffic coming into your application with a private IP

🐳
the application sees the IP address of the IP of the ALB - with an NLB the IP of the EC2

Cross Zone Balancing

πŸ“Ž
ALB - Always on , NLB disabled, GLB - disabled, CLB - disabled

Sticky Session (session affinity)

Least Outstanding - next is the EC2 with the lowest number of pending requests

Round Robin - one after the other

Flow Hash - based on source IP - like sticky session (NLB Only - TCP connection )

πŸ“Ž
support only for CLB and ALB