Your enterprise web application is hosted across Compute Engine virtual machine instance groups located in two Google Cloud regions: us-central1 and europe-west3. The application requires SSL termination at Google's network edge, HTTP/2 support for client connections, and Layer 7 path-based URL map routing (such as forwarding requests for /static/* to a Cloud Storage bucket and /api/* to the Compute Engine backend service). Which Google Cloud load balancer should you deploy?
- Global External Application Load BalancerAnswer
- BExternal Passthrough Network Load Balancer
- CRegional External Application Load Balancer
- DRegional Internal Application Load Balancer
Answer
Global External Application Load Balancer
The Global External Application Load Balancer is a proxy-based Layer 7 load balancer that handles HTTP, HTTPS, and HTTP/2 traffic. It terminates SSL at Google's global edge points of presence, uses URL maps for path-based routing to different backends (such as backend services or Cloud Storage buckets), and balances traffic globally across backend instance groups in multiple regions.
Step-by-Step Solution
Key Concept
Selecting Cloud Load Balancer types based on traffic scope (global vs regional), client access (external vs internal), and protocol layer (Layer 4 vs Layer 7).