65. elastic load balancing Flashcards
what is load balancing
- this service allow us to be more elastic on AWs
- it is known as elastic load balancing
what does load balancer do ?
it is a server that will forward the internet traffic down to multiple servre downstream
then there will be some EC2 instances
also called as backend EC2 instances
does elastic load balancing managed by AWS
yes elastic load balancing managed by AWS
is it good to expose load balancer publically
yes, we expose load balancer to our users
does we have EC2 behind load balancer
yes, behind load balancer there is multiple EC2
three EC2 instances
does load balancer direct traffic to EC2 instance
yes, if user goes, then it is redirected to EC2 instance
how user gets response
- ec2 will reply back with somethin and user will get the respose
what if second user gets in
load balancer will redirect second user to another ec2 instance
what if third user comes in
load balancer will redirect third user to third ec2 instance
does this thing help to scale backend better
yes, load balancing helps to scale backend in more better way
why would you use one?
we can spread the load across multiple downstream instances
we can expose single point of access, DNS host name, for our application
what if any downstream instance failed
if one of them is failing, load balancer will not direct traffic to that instance
so we can hide failure of any downstream instances / servers
can we provide SSL termination
we can provide SSL termination, so https for our website very easily
are we able to use load balancer across multiple availability zones
yes, we are able to use load balancer across multiple availability zones
does having load balancer among mulitple availability zones makes it more available
yes
what is ELB load balancer
ELB is a manager load balancer,