65. elastic load balancing Flashcards

1
Q

what is load balancing

A
  • this service allow us to be more elastic on AWs
  • it is known as elastic load balancing
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

what does load balancer do ?

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

does elastic load balancing managed by AWS

A

yes elastic load balancing managed by AWS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

is it good to expose load balancer publically

A

yes, we expose load balancer to our users

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

does we have EC2 behind load balancer

A

yes, behind load balancer there is multiple EC2

three EC2 instances

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

does load balancer direct traffic to EC2 instance

A

yes, if user goes, then it is redirected to EC2 instance

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

how user gets response

A
  • ec2 will reply back with somethin and user will get the respose
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

what if second user gets in

A

load balancer will redirect second user to another ec2 instance

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

what if third user comes in

A

load balancer will redirect third user to third ec2 instance

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

does this thing help to scale backend better

A

yes, load balancing helps to scale backend in more better way

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

why would you use one?

A

we can spread the load across multiple downstream instances

we can expose single point of access, DNS host name, for our application

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

what if any downstream instance failed

A

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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

can we provide SSL termination

A

we can provide SSL termination, so https for our website very easily

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

are we able to use load balancer across multiple availability zones

A

yes, we are able to use load balancer across multiple availability zones

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

does having load balancer among mulitple availability zones makes it more available

A

yes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

what is ELB load balancer

A

ELB is a manager load balancer,

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

what is use of ELB load balancer

A

we dont need to be provisioning servers

18
Q

does aws do it for us, ELB manager load balancer

A

yes, we dont have to be provisioning servers, aws will do it for us

19
Q

does aws guarantee that it will be working

A

yes aws guarantee that load balancer, or other instances will be working

20
Q

what are the things aws take care off

A
  • aws will take care of all updates, maintenance, and high availability of that elastic load balancer
21
Q

what are some things we have to take care of

A

we just have to configure few behavior of that load balancer

22
Q

is it expensive or cheap to set up ELB load balancer on aws

A

it is cheap / less expensive

23
Q

can we set up our own load balancer on ec2

A

yes we can set up our load balancer on ec2

24
Q

what are some disadvantages of setting up our own load balancer on EC2`

A

in the end, we have to put extra effort, on maintenance, integration, maintaining and taking care of the OS, upgrades etc etc

25
Q

how many types of load balancers aws provide

A

4 types

26
Q

what are those four types of load balancers provided by AWS

A
  1. 4.
27
Q

explain application load balancer

A
  • it is for http and https traffic only
  • also known as layer 7 type of load balnacer
28
Q

why does it called as layer 7 type load balancerq

A

because its http and https

29
Q

explain network load balancer

A
  • its ultra high performance
  • allows tcp and udp actually
  • its layer 4
30
Q

explain gateway load balancer

A

3 layer

31
Q

explain classic load balancer

A
  • retired in 2023
  • layer 4 and layer 7 type of load balancer of older generation
32
Q

with what does classic load balancer is replaced by

A
  • it is replaced by ALB, the application load balancer and NLB, network load balancer
33
Q

what are some difference b/ ALB, NLB and GWLB

A
  • find keywords
34
Q

http, https or gRPC

A

it means layer 7, or ALB

35
Q

what will be requested if we need http routing features

A
  • LAyer 7 or ALB is requested
36
Q

for static DNS what load balancer will be requested

A
  • layer 7 or ALB is very help full if we wanna have a static URL
37
Q

what is static DNS

A
38
Q

static ip in layer 4

A

yes

39
Q

which protocol gateway load banalcer uses

A
40
Q
A