Load
Balancer
EC2
Instance
Load
Balancer
Traffic
EC2
Instance
Rahul Saini
Load Balancer
Load Balancer are used to
distribute traffic across EC2
instances in one or more AZs.
Target Group
Group of instacne that decide
that on which instance the
traffic has to go.
Rahul Saini
Load Balancer policies
Round Robin :- Simple Technique of
distributing the load across the target
group’s instance in a rotating mananer.
( line by line )
Rahul Saini
Load Balancer policies
Weighted :- It distribute the load
across the target group’s instance on
the basis of their weight.
weight:- High weighted instance will
get higher request to server.
Rahul Saini
Load Balancer policies
Least Connection :- In this technique
we route the traffic to the server who
has fewest active connections.
Rahul Saini
Type of Load Balancers
1 Classic Load Balancer
2 Application Load Balancer
3 Network Load Balancer
4 Gateway Load Balancer
Rahul Saini
Application Load Balancer
Application Load Balancer functions at
the application layer, the seventh layer
of the Open Systems Interconnection
(OSI) model.
For Web Services, Application load
balancer is used ( 80/443 ).
Rahul Saini
Network Load Balancer
Network Load Balancer functions at
the transport layer, the forth layer of
the Open Systems Interconnection
(OSI) model.
Can handle TCP & UDP request.
Network Load Balancer is capable
of handling millions of requests per
second while maintaining ultra-low
latencies.
Rahul Saini
GateWay Load Balancer
Gateway Load Balancer functions at
the network layer, the third layer of the
Open Systems Interconnection (OSI)
model.
Hardware firewall
Before the load balancer the traffic
has to go through the firewall.
Rahul Saini
Classic Load Balancer
Classic Load Balancer functions at the
7th and 4th layer of Open Systems
Interconnection (OSI) model.
Choose a Classic Load Balancer
when you have an existing
application running in the EC2-
Classic network.
Rahul Saini
Find this helpful?
Repost with your network
Follow for more
Rahul Saini
Rahul Saini