Google Cloud · Enterprise networking

Google Cloud Networking: An Enterprise Design Guide

Map the traffic, choose the boundaries and test names, routes, permissions and return paths.

Start with the application’s traffic

Harborlane, the illustrative company in this guide, is moving a supplier portal to Google Cloud. The portal works, but orders depend on an on-premises ERP system. Other teams need private data access and have overlapping address plans.

Optional visual companion: Cross-Cloud Networking: VPC Networking, Google Cloud Tech, July 2024. It connects VPC concepts, hybrid access, outbound traffic and managed services. Use the current documents below for today’s feature limits.

Start with four flows: customers to the portal, portal to ERP, application to managed services, and approved internet egress. For each, record the initiating workload, destination, protocol, identity and owner.

Separate network ownership from application ownership

A VPC is global; its subnets are regional. A new region does not require another VPC. A project is an administrative boundary and can use an existing network.

Harborlane uses a production host project for central network administration. Application service projects use delegated subnets through Shared VPC.

Shared VPC ownership across two regionsOne host project owns the global production VPC and regional subnets. Two service projects use delegated subnets. Non-production has a separate network. Arrows show delegated use, not packet hops.Host project · one global production VPCMumbai subnetSingapore subnetService project AService project BDelegated subnet useSupplier portalAnalytics applicationSeparate non-production VPC · no connection by default
Read the diagram

The host project owns the production VPC and its regional subnets; service projects use the subnets delegated to them. Keep non-production in a separate network. The arrows show responsibility and delegated use, rather than the route taken by packets.

The host project owns the network; service projects own application resources. Arrows show delegated subnet use.

Create another VPC when isolation, routing, policy or administration requires it. Record who approves attachments, routes, firewall changes and exceptions.

Reserve addresses before deployment

Maintain an address register covering regions, environments, owners and expansion. Include on-premises and partner networks, GKE nodes and Pods, managed-service allocations and serverless networking needs.

Check planned ranges as well as deployed ones. Translation can address supported overlap scenarios but adds operational constraints. Validate IPv4 and IPv6 support for the complete product path.

Choose the connection for the requirement

Connectivity decisions
RequirementConsiderCheck
Central network shared across projectsShared VPCDelegated subnets and administration
Private connection between independent VPCsVPC Network PeeringAddress overlap and route limits
Managed hub-and-spoke connectivityNetwork Connectivity CenterSpoke support, topology and route policy
Private consumption of one servicePrivate Service ConnectPublished service and application authorisation

Peering is non-transitive: A-to-B and B-to-C do not create A-to-C connectivity. Connecting networks also does not automatically authorise applications.

Distinguish the private access mechanisms

  • Private services access: allocated address space and a private connection to a service producer, using peering.
  • Private Service Connect: supported consumer endpoints and related features for published services or Google APIs.
  • Private Google Access: eligible VM interfaces without external addresses reach supported Google APIs when the subnet, DNS, route and firewall requirements are met.

Choose the method supported by the actual database or API. Test permissions as well as connectivity.

Design the hybrid path for failure

Evaluate HA VPN for encrypted IPsec connectivity to the data centre. Consider Dedicated or Partner Interconnect when capacity or connectivity requirements justify it; evaluate encryption separately.

For HA VPN, follow a documented redundant topology across Google gateway interfaces and the peer side. Test tunnel and peer-gateway failure, including the remaining path’s capacity.

Cloud Router manages BGP sessions and learned routes; it does not forward application packets. Check advertisements, learned prefixes, route priorities, dynamic routing mode and the ERP return route. Complete a real ERP request rather than stopping at a healthy BGP session.

Apply policy to the actual flow

A subnet alone does not restrict application communication. Define firewall policy, targets, ports and administration. Add IAM controls for APIs and data.

For the public portal, document HTTPS termination, load-balancer backends and supported Cloud Armor controls. Test alternate endpoints for unintended bypass.

VPC Service Controls reduces exfiltration risk around supported Google services. Begin in dry run, resolve legitimate workflows and test denials before enforcement. It complements network policy and IAM.

Make outbound access explicit

List external dependencies and choose an egress path for each. Public Cloud NAT supports outbound internet access for eligible resources without their own external IPv4 addresses. Response traffic is allowed for established connections; unsolicited inbound access is not enabled. It is not a URL-filtering proxy.

For suppliers requiring fixed source addresses, confirm the deployed addresses and monitor NAT capacity, including port exhaustion. Test the selected GKE or Cloud Run network configuration rather than assuming a VM’s path applies.

Private NAT handles supported private translation scenarios. Check current product support and record how translated addresses affect logs and allow lists.

Diagnose DNS before widening access

Harborlane’s portal resolves the ERP name differently from an administrator’s laptop. The fix is the DNS path, not a broad firewall exception. Document public and private zones and the direction of hybrid forwarding. Peering alone does not share every private DNS name.

Diagnosis sequence for a failed request
CheckEvidence
NameResolution from the actual workload and expected zone
PathEffective route, next hop, return route and hybrid state
PolicyRules for the actual source, destination, protocol and port
ServiceListening endpoint and authorised application identity
ResultApplication transaction correlated with logs

Collect evidence and test resilience

Use Connectivity Tests for supported configuration analysis, then run application tests. A valid route cannot prove that a destination process is healthy.

Choose useful flow, firewall and DNS logging with deliberate retention, access and cost ownership. Monitor tunnel health, route changes, NAT capacity and transaction latency. Test failover. A multi-region VPC does not provide multi-region recovery for its applications or databases.

Leave an operable flow sheet

For each allowed flow, retain its source, destination name and address, protocol, route, policy owner, identity requirement and failure test. Link the address register, DNS ownership and change process.

A second engineer should be able to explain why ERP access works, why non-production cannot freely reach production and where to look when either changes. Continue with the reference architecture and security guide.

Official references for your design review

Check support for your exact service, topology and configuration.

Leave a Comment

Your email address will not be published. Required fields are marked *