Week 2 of my AWS challenge and things are going great! Learning how ELBs (Elastic Load Balancer) and ASGs (Auto Scaling Group) work connects many dots on the wider topic of understanding the cloud infrastructure.
The deeper I dive into all these concepts, the more interesting things get and it makes a lot more sense on many aspects of full stack development. Here’s a breakdown of what happened this week.
What is an AWS ELB (Elastic Load Balancer)?
A server that evenly distributes internet traffic to multiple EC2 instances.
Load balancing is a good way to ensure high availability to your system in case one of the instances goes down.
AWS provides 3 kinds of load balancers
✅ CLB (Classic Load Balancer)
✅ ALB (Application Load Balancer)
✅ NLB (Network Load Balancer)
CLB is old generation and supports HTTP, HTTPS and TCP
ALB is the most common amongst modern applications and supports HTTP, HTTPS and Websockets
NLB is mainly used for high performance job and supports TCP, TLS and UDP