Private networks
Every project gets an isolated private network in each region it uses. Servers, Kubernetes nodes and managed databases on the same private network can reach each other directly; nothing on a private network is reachable from the public internet unless you explicitly expose it.
Use private addresses for all service-to-service traffic — application to database, cluster to storage gateway. Private traffic is unmetered and never leaves the region.
Load balancing
A managed load balancer is the front door of a service. It holds the public address, checks the health of your backends on a schedule, and routes requests only to healthy targets. When a backend fails a health check it is removed from rotation automatically and re-added when it recovers.
- Health checks: choose an interval and a path that reflects real readiness, not just process liveness.
- Scaling: add or remove backends without changing the public address.
- Termination: TLS can terminate at the balancer so backends serve plain traffic on the private network.
Firewall rules
Firewall rules are stateful and default-deny for inbound traffic. You describe what is allowed — a port range, a protocol and a source — and everything else is dropped. Return traffic for connections you initiated is always allowed.
- Expose only the load balancer to the public internet.
- Allow application ports from the private network range only.
- Restrict administrative access to specific source addresses.
A common starting layout: public load balancer → private application servers → private database, with firewall rules permitting each hop and nothing else.