Part-66: π¦ Google Cloud Networking: Cloud Load Balancing (Global & Regional)
Load balancing is the backbone of highly available, scalable applications. In Google Cloud, Cloud Load Balancing is a fully managed service that automatically distributes traffic to your backend services, ensuring performance, reliability, and global reach.
π Global vs Regional Load Balancing
Global Load Balancing
- Distributes traffic across multiple regions.
- Uses a single anycast IP to route users to the closest healthy backend.
- Supports automatic failover between regions.
Regional Load Balancing
- Distributes traffic within a single region across zones.
- Ensures availability at the regional level.
β Both are software-defined β no hardware, no manual scaling. Traffic handling grows from zero to full throttle in seconds.
Google Cloud Load Balancing – Types
Application Load Balancer (HTTP / HTTPS)
Network Load Balancer (TCP / UDP / Other IP Protocols)
β‘ Protocols Supported
Layer 7 (Application Load Balancer)
- HTTP / HTTPS
Layer 4 (Network Load Balancer – Proxy Mode)
- TCP Proxy
- SSL Proxy (with SSL offloading)
Layer 4 (Network Load Balancer – Pass-through Mode)
- TCP, UDP, ICMP, ICMPv6, SCTP, ESP, AH, GRE
π‘ Reminder: Each OSI layer builds on the ones below (Layer 7 uses Layers 1β6).
π§© Key Terminology
πΉ Backend
Services that receive traffic:
- Instance Groups
- Cloud Storage
- App Engine
- Cloud Run
- GKE
- Cloud Functions
- Even external backends
πΉ Frontend
- Defines IP, port, and protocol (HTTP, HTTPS, TCP, UDP, etc.)
- This is the entry point users access.
πΉ Routing Rules (Application LB)
Path-based routing
- stacksimplify.com/app1 β App1
- stacksimplify.com/app2 β App2
Host-based routing
- app1.stacksimplify.com β App1
- app2.stacksimplify.com β App2
Rewrites
- Host Rewrite: app1.stacksimplify.com β app1.terraformguru.com
- Path Rewrite: /app1 β /app1new
Redirects, header manipulation, URL rewrites and more!
π Why Use Google Cloud Load Balancing?
- High availability across zones, regions, and globally
- Scales seamlessly with demand
- Low latency with Anycast IP routing
- Integrates natively with all major Google Cloud services
π Thanks for reading! If this post added value, a like β€οΈ, follow, or share would encourage me to keep creating more content.
β Latchu | Senior DevOps & Cloud Engineer
βοΈ AWS | GCP | βΈοΈ Kubernetes | π Security | β‘ Automation
π Sharing hands-on guides, best practices & real-world cloud solutions