Internal Load Balancing Tutorial Slides
Internal Load Balancing Tutorial Slides
Internal Load Balancing Tutorial Slides
HTTP(S) Load
Global SSL proxy
Balancing
Connection Cross-region
Health Checks Autoscaling
Draining failover
LB IP:
10.10.10.1 Src IP: 10.10.10.1 Src IP: 10.10.10.1
Client A Backend B
Dst IP: 10.10.10.200 Dst IP: 10.10.10.200
X
Internal (RFC 1918) Client IP preserved Health checks Autoscaling Session Affinity
Load Balancing (TCP, HTTP, HTTPS) (no prewarming)
Internal LB IP
Client instances 10.240.0.200
10.240.0.1 10.240.0.2
Zone: us-central1-a
172.16.1.1
10.240.0.3
Zone: us-central1-c
Network: shopnet
Logical representation of the ILB, there is no LB instance between client and backend instances Backends running shopping cart application
Internal Load Balancing
Under the hood: Software-defined load balancing is delivered using
Andromeda, GCP’s
software-defined
Load Balancers can become Andromeda network virtualization
choke points stack
There is no load balancer in
the path between your client
and backend instances
Load Balancer
instance(s) Internal LB
Typical Instance-based Internal Load Balancing Software-defined Internal Load Balancing on GCP
Configuring Internal Load Balancing
(console)
Backend Configuration
Instance Group 1
Instance Group 2
Instance Group 3
Instance 1 Instance 3 Instance 5
Subnet A Subnet B
Region X
1. Click “create load balancer” to get started
Click Create
2. Select the type of Internal Load Balancer- either TCP or UDP
Configure backends
Click Create.
Done!
Internal Load Balancing Use Cases
RECOMMEND RECOMMEND
CATALOG CATALOG
Database Tier
Web Tier Internal Tier
Port: 80
Internal Tier with Internal Load
Balancing Database Tier
Web Tier
Internal Tier
asia-east-1a
ILB Use Case 3: Scale-out and HA for virtual appliances
https://cloud.google.com/compute/docs/load-balancing/internal/
‹#›