The component chain
A proxy load balancer is not one object. Walk the chain link by link, or click any link, to see what lives there. The two attachment points worth memorising are the target proxy, which holds everything about TLS, and the backend service, which holds everything about health, balancing, the WAF, and the CDN.
- Your VPC
- Run by Google
- Firewall and access rules
- Allowed traffic
- Where it breaks
Wide by design - scroll it sideways, or open it on a larger screen.
Backend service
Global external ALB · api-backend-service
- Health check
- none - serverless NEGs are not probed
- Balancing mode
- n/a for serverless
- Session affinity
- none - the API is stateless
- Connection draining
- n/a
- Timeout
- 30s
- Cloud Armor
- harbour-waf - OWASP preconfigured rules, rate limit 100/min
- Cloud CDN
- off for the API
Cloud Armor and Cloud CDN both attach here, not to the load balancer as a whole. That is why WAF coverage can differ between two load balancers, and even between two backend services on the same one.
Where to look when something breaks
1All backends unhealthy, app works fine
Look at Firewall, not the LB
No rule allowing 35.191.0.0/16 and 130.211.0.0/22 on the probe port.
2Certificate errors
Look at Target proxy
Self-managed cert expired, or the domain is not on the cert.
3Requests hitting the wrong service
Look at URL map
Host or path matcher order, or a missing default service.
4WAF rules never fire
Look at Backend service
No policy attached, or traffic is arriving by a path that bypasses the LB entirely.
5App logs the same client IP for everything
Look at Nothing is broken
Proxy LB, so the app must read X-Forwarded-For instead of the TCP source.
6Backend serves errors but stays in rotation
Look at Backend service
TCP health check - the port is open, so it passes while the app is broken.