Cloud Load Balancing Flashcards

1
Q

What is cloud Load Balancing?

A

It is a means to distribute workloads across cloud infrastructure.

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

What are 5 key points of Cloud Load Balancing?

A
  1. it distributes workloads across cloud infrastructure
  2. it adapts to failed or degraded servers
  3. autoscales resources to accommodate changes in workloads
  4. supports internal load balancing so IP addresses don’e need to be exposed
  5. can load balance HTTP, HTTPS, TCP/SSL and UDP
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What are three main features of GCP load balancers?

A
  1. Global vs Regional
  2. External vs Internal
  3. Traffic Type
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the differences between global and regional load balancers?

A

Global has 3 load balancers.
1. HTTP(S) - balances HTTP and HTTPS
2. SSL Proxy - terminates SSL/TLS connections
3. TCP Proxy - terminates TCP sessions at the load balancer then forwards traffic to backend servers
Regional
1. Internal TCP/UDP - balances TCP/UDP traffic on private networks hosting internal VMs
2. Network TCP/UDP - balances based on IP protocol, address and port, used for SSL and TCP traffic not supported by the SSL Proxy and TCP Proxy Load balancers

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

What is the difference between internal and external load balancing?

A

External distributes traffic from the internet while internal distributes traffic that originates within GCP. The Internal TCP/UDP load balancer is the only internal load balancer

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

How do you set up load balancing via command line?

A

gcloud compute forwarding-rules create [NAME] –port=[PORT] –target-pool [POOL]
target pools are created via :gcloud compute target-pools add-instances [NAME] –instances [INSTANCE 1, INSTANCE 2…]

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