Browsers are
difficult
Please wait, loading your map...
load balancers
types
layer 7
Application load
balancer
recommended for path
based routing
layer 4
classic load balancer
earlier generation load
balancers
not recommended
only needed if instance is in old Ec2
classic network
IP as Target not supported
Network load balancer
Important Notes
for performance
cross zone load
balancing
it will distribute traffic evenly across
multiple backend instances in all AZ. If we
don’t check this option while configuring
LB then LB will consider AZ as one single
large instance. It is better practice to
select this option while configuring EL
maintainability
earlier ALB and NLB dont support IP as a
target but this feature introduce recently
IP as Target help us to register IP address as a
target in load balancer. it help us to enable
load balance applications not hosted in AWS.
one use case is to load balance applications
hosted on premise and enable direct connect
or VPN connectivity
classic load balancer
limitations
path based routing not
suppported
IP as a target not
supported
does not support Http/2
application load
balancer
advantages
enable path,host based
routing
load balancer can support any OS as
target instance (windows.unix)
load balancer in AWS can manage load across different
instances in same region. it is not possible for route
request to instances in different regions if target type is
instance
load balancer have feature similar to EC2 known as
termination protection
possibility of cookie based sticky sessions
security
certificates
not possible to support multiple SSL
certificates
possibility of wild card certificates
logs
can be integrated with cloud trail logs security
analysis
other
port range 1 to 65535
state of load balancer
provisioning
active
terminated
request routing
classic load balancer work on round
robin fashion
NLB works on flow-hash algorithm
listeners and
target groups
listener
what it is?
process in load balancer
which check connection
request with load
balancer
important notes
one listener can
associated with
multiple target groups
listeners associated
with target groups
target group
types of conditions
path based
forward traffic to
appropriate target
based on path
mentioned in request
URI
host based
forward traffic to
appropriate target
based on host header
received for request
recommeded when Protocol is TCP
SSL Offloading
SSL offloading enable plain HTTP communication between
Load balancer and target.
since in NLB it does not enable SSL offloading target server
needs to perform some extra work and increase CPU
utilization
×
Created using
MindMup.com