Book TOC · Chapter 0 of 8 · Next: Chapter 1
Chapter 0: The PCNE Reference Stack & 10 Core Principles
Chapter Focus: A visual guide to the Google Cloud Certified Professional Cloud Network Engineer (PCNE) architecture stack, how the core Google Cloud services fit together, and the 10 Core Architectural Principles that govern production design decisions.
1. The Master Architectural Map: The Google Cloud Networking Stack
The official Google Cloud Professional Cloud Network Engineer Curriculum spans 6 Sections and 22 Subsections. Rather than memorizing services in isolation, organize the entire Google Cloud networking portfolio across Six Architectural Planes:
Complete Reference Table of In-Scope Google Cloud Networking Services
# | Service / Capability | Architectural Plane | Primary Architectural Responsibility |
|---|---|---|---|
1 | Virtual Private Cloud (VPC) & Subnets | Core VPC Fabric | Global software-defined virtual network ( Andromeda) with regional subnets, secondary alias IP ranges, dynamic subnet expansion, Dual-Stack IPv6 (/64), and configurable MTU (1460 default up to 8896 jumbo frames). |
2 | Network Service Tiers ( Premium vs. Standard) | Core VPC Fabric | Premium Tier routes traffic over Google's private global fiber backbone (cold-potato routing) with global Anycast IPs; Standard Tier routes over the public ISP internet (hot-potato routing) with regional IPs. |
3 | Shared VPC | Core VPC Fabric | Centralizes network administration in a Host Project while delegating compute workloads (VMs, GKE, LBs) to Service Projects via least-privilege subnet-level compute.networkUser IAM bindings. |
4 | VPC Network Peering | Inter-VPC Fabric | Direct, non-transitive Layer 3 peering between two VPCs (up to 25 peerings per VPC) supporting optional custom route import/export ( --export-custom-routes / --import-custom-routes) with zero IP overlap allowed. |
5 | Network Connectivity Center (NCC) | Inter-VPC & Hybrid Fabric | Hub-and-spoke transit control plane supporting VPC Spokes (full-mesh or star topology with core/edge groups), Producer Spokes, Hybrid Spokes (VPN, VLAN attachments, Router Appliances), Site-to-Site Data Transfer, and CIDR filters. |
6 | IP Address Management (IPAM) & BYOIP / PUPI | Core VPC Fabric | Managing RFC 1918, non-RFC 1918 ( 100.64.0.0/10), Privately Used Public IPs (PUPI), Bring Your Own IP (BYOIP) via Public Advertised Prefixes (PAP) and Public Delegated Prefixes (PDP), and InternalRange reservations. |
7 | PrivateNAT & Public Cloud NAT | NAT & Egress Plane | Software-defined source NAT without choke-point VMs: Public Cloud NAT provides outbound internet access for private VMs/Pods; Private NAT translates overlapping RFC 1918 CIDRs across NCC spokes or hybrid links. |
8 | VPC Routing & Policy-Based Routing (PBR) | Core VPC Fabric | Evaluating local subnet routes, custom static routes (tagged or untagged), dynamic BGP routes (Regional vs. Global mode), Internal Passthrough LB as Next Hop, and highest-precedence Policy-Based Routes matching source IP/protocol/L4 ports. |
9 | Private Google Access (PGA) | Private API Plane | Allows VMs without external IPs to reach Google APIs over private.googleapis.com (199.36.153.8/30) or VPC-SC compliant restricted.googleapis.com (199.36.153.4/30). |
10 | Private Service Connect (PSC) | Private Service Plane | Unidirectional, NAT-based private service consumption and publishing via PSC Endpoints (consumer IP), PSC Backends (NEG + L7 LB), PSC Interfaces, and Service Attachments—immune to overlapping CIDRs and non-transitive peering limits. |
11 | Private Services Access (PSA) & Serverless VPC Access | Private Service Plane | PSA connects consumer VPCs to Google-managed producer VPCs (Cloud SQL, Memorystore, Filestore) via VPC Peering; Direct VPC Egress and Serverless VPC Access Connectors link Cloud Run/Functions to VPC internal IPs. |
12 | VPC Service Controls (VPC-SC) | Security Perimeter | Identity- and context-aware service perimeter around Google-managed multi-tenant APIs (Cloud Storage, BigQuery, Vertex AI, GKE) preventing data exfiltration via stolen credentials or unauthorized projects. |
13 | GKE VPC-Native Networking & Dataplane V2 | Container Plane | Alias IP secondary ranges for Pods/Services, discontiguous multi-Pod CIDR expansion, private nodes & private/DNS-based control plane endpoints, IP Masquerade ( ip-masq-agent), and Cilium/eBPF-powered Dataplane V2 with native NetworkPolicy enforcement. |
14 | Application Load Balancers (L7 HTTP/HTTPS) | Managed Delivery | Proxy-based Layer 7 load balancers (Global External, Classic, Regional External, Cross-Region Internal, Regional Internal) providing URL maps, host/path routing, traffic splitting, mirroring, and TLS offloading. |
15 | Proxy & Passthrough Network Load Balancers (L4) | Managed Delivery | Proxy Network LBs terminate TCP/SSL connections at Envoy/GFE proxies; Passthrough Network LBs (External & Internal) use Maglev/Andromeda direct server return (DSR) to preserve original client source IPs and support all IP protocols ( TCP, UDP, ESP, ICMP). |
16 | Network Endpoint Groups (NEGs) | Managed Delivery | Modular backend abstractions: Zonal NEGs ( GCE_VM_IP_PORT for container-native GKE Pod routing), Serverless NEGs, Internet NEGs (INTERNET_FQDN_PORT / INTERNET_IP_PORT), Hybrid NEGs (NON_GCP_PRIVATE_IP_PORT), and PSC NEGs. |
17 | Cloud CDN | Managed Delivery | Global edge caching for HTTP(S) Load Balancers supporting CACHE_ALL_STATIC, USE_ORIGIN_HEADERS, FORCE_CACHE_ALL, custom cache keys, rapid cache invalidation, Signed URLs / Signed Cookies, and third-party S3 origin auth. |
18 | Cloud DNS | Managed Delivery | Authoritative and recursive DNS supporting Public Zones (with DNSSEC, WRR/Geo/Failover routing), Private Zones (Split-Horizon, Cross-Project Binding), DNS Peering, Outbound Forwarding Zones, Inbound Server Policies ( 35.199.192.0/19), and Cloud DNS for GKE. |
19 | Cloud Interconnect ( Dedicated, Partner, Cross-Cloud) | Hybrid & Multicloud | High-speed physical connectivity: Dedicated (10G/100G direct colocation with optional L2 MACsec), Partner (50M–50G via L2/L3 carrier), and Cross-Cloud (direct link to AWS, Azure, OCI), engineered for 99.9% (1 metro, 2 EADs) or 99.99% (2 metros, 4 EADs) SLAs. |
20 | Cloud VPN ( HA VPN & Classic VPN) | Hybrid & Multicloud | HA VPN delivers a 99.99% SLA using two external IP interfaces ( if0/if1), mandatory Cloud Router BGP, and optional deployment over Cloud Interconnect for IPsec encryption; Classic VPN is legacy single-interface VPN (99.9% SLA). |
21 | Cloud Router ( BGP & BFD) | Hybrid & Multicloud | Control-plane-only dynamic routing speaker exchanging prefixes via eBGP ( 169.254.x.x/30 link-local IPs), supporting custom route advertisements, custom learned routes, MED / AS-Path prepending, BFD sub-second failure detection, and Standard vs. Legacy best path selection. |
22 | Google Cloud Armor | Network Security | Edge and backend DDoS mitigation and WAF engine featuring preconfigured OWASP CRS rules ( sqli, xss, rce, lfi), Adaptive Protection (ML L7 anomaly detection), rate-based bans, reCAPTCHA Enterprise bot management, and Google Threat Intelligence feeds. |
23 | Cloud Next Generation Firewall (NGFW) & Hierarchical Policies | Network Security | Three tiers—Essentials (L4 policies, IAM Secure Tags, address groups), Standard (FQDN, Geolocation, Threat Intelligence), and Enterprise (inline L7 IPS with Palo Alto Networks threat signatures via zonal Firewall Endpoints)—plus goto_next delegation. |
24 | Secure Web Proxy (SWP) | Network Security | Managed regional outbound HTTP/HTTPS proxy inspecting egress traffic from VMs/GKE by URL list, FQDN, Secure Tag, or Service Account with optional TLS decryption—requiring zero client agent software. |
25 | Multi-NIC Network Virtual Appliances (NVAs) & Packet Mirroring | Network Security | Inline inspection using multi-NIC VMs ( --can-ip-forward) behind symmetric Internal Passthrough LBs as Next Hops with Policy-Based Routes, or out-of-band full-packet capture using Packet Mirroring to an --is-mirroring-collector ILB. |
26 | Network Intelligence Center & Google Cloud Observability | Observability Plane | Six diagnostic tools—Network Topology, Connectivity Tests, Performance Dashboard, Firewall Insights, Network Analyzer, and Flow Analyzer—paired with VPC Flow Logs, Firewall Rules Logging, and Cloud Monitoring metrics. |
2. The 10 Core Architectural Principles of the Architecture Stack
Before you tackle your first challenge in Chapter 1, internalize these 10 Core Architectural Principles. Whenever you are torn between two plausible-sounding options In production architectures, these laws will break the tie:
- Principle 1 — VPC Network Peering Is Strictly Non-Transitive and Intolerant of IP Overlap: If
VPC-Apeers withVPC-B, andVPC-Bpeers withVPC-C,VPC-Acannot reachVPC-Cover peering—and any overlapping subnet CIDR across the peered networks blocks peering creation or expansion. When you see overlapping IP ranges, producer-consumer isolation, or more than 25 peered VPCs, immediately pivot to Private Service Connect (PSC), Network Connectivity Center (NCC) with Private NAT, or Multi-NIC NVAs. - Principle 2 — Know the 3 Private Google Connectivity Patterns Cold (
PGAvs.PSAvs.PSC): - Need private VMs to call multi-tenant Google APIs (
storage.googleapis.com,bigquery.googleapis.com,aiplatform.googleapis.com)? Enable Private Google Access (PGA) and route DNS CNAMEs toprivate.googleapis.com(199.36.153.8/30) orrestricted.googleapis.com(199.36.153.4/30when using VPC Service Controls) — or create a single consumer-side Private Service Connect (PSC) endpoint for Google APIs (e.g.,10.0.0.5or198.18.0.1). - Need to connect a VPC to a Google-managed tenant VPC like Cloud SQL, Memorystore, or Filestore using an allocated
/16or/20IP range? That is Private Services Access (PSA), which uses underlying VPC Network Peering. - Need to publish or consume a service across organizations/VPCs via a single internal IP (
ForwardingRule→ServiceAttachment→ Producer Internal LB) with zero CIDR coordination? That is Private Service Connect (PSC). - Principle 3 — Cloud Router Is Strictly Control Plane; Never Put It in the Data Plane Path: Cloud Router speaks BGP over link-local
169.254.0.0/16addresses to program the VPC's software-definedAndromedarouting table. Packets never pass through a Cloud Router VM. And if an on-premises network connected inus-central1cannot reach a VPC subnet ineurope-west1(or cannot transit through a VPC to another spoke), check whether the VPC's Dynamic Routing Mode is set toREGIONALinstead ofGLOBAL. - Principle 4 — Memorize the Exact SLA Topologies (
99.9%vs.99.99%) for HA VPN and Cloud Interconnect: - HA VPN
99.99%SLA: Requires 1 HA VPN Gateway (which automatically has 2 interfacesif0andif1) with 2 tunnels (one fromif0, one fromif1) connected to 2 distinct external peer interface IPs (either 2 separate on-premises devices or 1 redundant dual-IP device), backed by Cloud Router andGLOBALdynamic routing. - Cloud Interconnect
99.9%SLA (Non-Critical): Requires 2 Interconnect connections (or 2 Partner VLAN attachments) in 1 Metropolitan Area (Metro) across 2 distinct Edge Availability Domains (EADs / Zones). - Cloud Interconnect
99.99%SLA (Mission-Critical): Requires 4 Interconnect connections (or 4 Partner VLAN attachments) split across 2 distinct Metropolitan Areas (Metros) and 2 distinct EADs per metro, connected to Cloud Routers in 2 GCP regions withGLOBALdynamic routing. - Principle 5 — Match the Load Balancer to Proxy vs. Passthrough and Client IP Preservation:
- Need URL maps, Cloud CDN, Cloud Armor WAF, header/path routing, or TLS offloading? Choose an Application Load Balancer (
ALB). Client IP is passed in theX-Forwarded-Forheader (and any regional Envoy-based LB requires a regionalREGIONAL_MANAGED_PROXYproxy-only subnet). - Need to preserve the original client source IP packet header natively without
PROXYprotocol headers, or load-balance UDP / ESP / ICMP / all-ports, or serve as a Next Hop route / Packet Mirroring collector? Choose a Passthrough Network Load Balancer (Internal or External). - Principle 6 — In GKE, Always Use VPC-Native (
Alias IPs), Container-Native LB (GCE_VM_IP_PORTNEGs), andDataplane V2: - VPC-Native Clusters assign Pod IPs from a subnet secondary CIDR range, making Pods natively routable across VPC Peering, HA VPN, and Cloud Interconnect without custom static route quotas. Remember that GKE reserves 2x the
--max-pods-per-nodevalue for each node's Pod CIDR slice (e.g., 110 max Pods → requires 220 IPs → rounds up to a/24(256 IPs) per node; 32 max Pods → 64 IPs →/26per node). - When a GKE Pod subnet runs out of IPs, you cannot expand a secondary CIDR range in place; instead, use Discontiguous Multi-Pod CIDR to add a new secondary range and bind it to a new Node Pool (
--pod-ipv4-range). - Container-Native Load Balancing (
GCE_VM_IP_PORTZonal NEGs) allows Google Cloud L7 Load Balancers and health checks to route directly to Pod IPs, bypassingkube-proxyNodePortdouble-hops. - Principle 7 — Hybrid DNS Requires Two Distinct Constructs (
Outbound Forwarding Zonesvs.Inbound Server Policies): - GCP → On-Premises Resolution: Create a Cloud DNS Private Forwarding Zone for the on-premises domain (e.g.,
corp.internal.) pointing to on-premises DNS server IPs (returns comes from35.199.192.0/19). - On-Premises → GCP Resolution: Enable a Cloud DNS Inbound Server Policy on the VPC, which allocates a regional internal IP from each subnet so on-premises DNS forwarders can query Cloud DNS private zones and
private.googleapis.comover VPN/Interconnect. - Principle 8 — Policy-Based Routing (
PBR) Beats All Standard Routes; Longest Prefix Match Beats Priority: - In standard destination-based routing, Google Cloud always selects the most specific prefix (Longest Prefix Match) first (e.g., a
/24route with priority5000always beats a/16route with priority100!). Route priority (0to65535, lower number wins) and BGP MED only break ties between routes with the exact same destination prefix length. - When you must route based on source IP, protocol, or override a local subnet route to force east-west traffic through a Next-Hop NVA Internal Load Balancer, use Policy-Based Routing (
PBR)—and always exclude the NVA's own traffic (via network tags or source filters) so you don't create a routing loop! - Principle 9 — Use IAM-Governed
Secure TagsOver LegacyNetwork Tags, and Know Hierarchicalgoto_next: - Legacy Network Tags can be modified by any user with
compute.instances.setTags(VM Admin) and do not work across VPC Network Peering. Resource Manager Secure Tags are cryptographically bound to IAM permissions, work across Hierarchical, Global, and Regional NGFW Policies, and support cross-VPC peering segmentation. - In a Hierarchical Firewall Policy (Organization → Folder → VPC), an explicit
allowordenyterminates evaluation immediately; you must usegoto_nextwhen a parent policy wants to delegate evaluation of unmatched or specific traffic down to lower-level policies. - Principle 10 — Match the Diagnostic Tool to the Layer (
VPC Flow Logsvs.Firewall Logsvs.Packet Mirroringvs.Connectivity Tests): - VPC Flow Logs are captured at the VM's vNIC after ingress firewall
ALLOWrules and before egress firewallDENYrules. Therefore, packets dropped by an ingress firewall rule NEVER appear in VPC Flow Logs—you must enable Firewall Rules Logging to see blocked connections! - VPC Flow Logs only record 5-tuple metadata headers and byte/packet counters. If compliance or an IDS requires full Layer 7 packet payload inspection, you must configure Packet Mirroring (or inline Cloud NGFW Enterprise).
- To verify whether a complex chain of routes, BGP advertisements, VPC-SC, and firewall policies will allow traffic without sending live production packets, run a Network Intelligence Center Connectivity Test.
Book TOC · Chapter 0 of 8 · Next: Chapter 1
AwesomeGCP.com Learning
The approach taken is a question-led learning approach: you explore realistic project scenarios where you need to make decisions or take actions to achieve business goals within specific constraints. Instead of passive learning, you are challenged to think and work through the options to master the Professional Cloud Network Engineer (PCNE) certification!