tl  tr
  Home | Tutorials | Articles | Videos | Products | Tools | Search
Interviews | Open Source | Tag Cloud | Follow Us | Bookmark | Contact   
 Cloud Platforms > Google Cloud Platform (GCP) > Cloud Load Balancing

Cloud Load Balancing

Author: Venkata Sudhakar

Google Cloud Load Balancing is a fully distributed, software-defined load balancing solution that distributes user traffic across multiple instances of your application. It provides single anycast IP, auto-scaling, and global load balancing.

Load Balancer Types:

1. Global External HTTP(S) LB - Layer 7, global, supports URL-based routing and Cloud CDN.

2. Regional External HTTP(S) LB - Regional Layer 7 for lower latency within a region.

3. External TCP/UDP Network LB - Layer 4, regional, for non-HTTP traffic.

4. Internal HTTP(S) LB - Layer 7 for internal microservices communication.

5. Internal TCP/UDP LB - Layer 4 for internal non-HTTP traffic.

The below example shows how to set up a Global HTTP Load Balancer using gcloud.


It gives the following output,

Created backend service [my-backend-service].
Created url-map [my-url-map].
Created forwarding-rule [my-forwarding-rule].
External IP: 34.120.100.50

Key LB Features:

Single anycast IP - One global IP routes users to the nearest healthy backend automatically.

Auto-scaling - Works with managed instance groups to scale backends up/down based on load.

SSL termination - Handles HTTPS/SSL termination at the load balancer level.


 
  


  
bl  br