Book TOC · Previous · Chapter 8 of 8

Chapter 8: Master Look-Alike Tool Comparison & Decision Playbook

Chapter Focus: Side-by-side comparison of look-alike PCNE services, a 5-Step Architecture Decision Framework, cross-domain production patterns, and the Top 25 Golden Rules.


1. The PCNE Look-Alike Service Disambiguation Matrix

In complex Google Cloud Certified Professional Cloud Network Engineer architectures, multiple Google Cloud services often appear to solve similar problems. Use the matrix below to distinguish between closely related services based on latency, scale, security boundaries, and operational overhead.

#
Look-Alike Networking Pair / Triad
Choose Option A When...
Choose Option B (or C) When...
The Classic PCNE common pitfalls
1
Shared VPC vs. VPC Network Peering vs. Network Connectivity Center (NCC)
Shared VPC: Multiple teams within the same Google Cloud Organization need centralized network/firewall administration (Host Project) while keeping separate IAM/billing (Service Projects).
VPC Peering: 1:1 non-transitive L3 connectivity between VPCs (even across different Orgs) with up to 25 peers.
NCC (VPC Spokes): Centralized hub-and-spoke transit scaling to hundreds of VPC spokes with filterable export lists and Site-to-Site / Site-to-Cloud hybrid transit.
Expecting VPC Peering to be transitive (VPC-A <-> VPC-B <-> VPC-C never routes A to C), or trying to use Shared VPC across two different Organizations.
2
Private Google Access (PGA) vs. Private Service Access (PSA) vs. Private Service Connect (PSC)
PGA: VMs without external IPs need to reach Google APIs (storage.googleapis.com) via private.googleapis.com (199.36.153.8/30) or restricted.googleapis.com (199.36.153.4/30 for VPC-SC).
PSA: VPC Peering-based /16–/24 IP allocation for Google-managed services (Cloud SQL, Memorystore, Filestore).
PSC: Consumer-controlled /32 Endpoint IP or Backend connecting via a Service Attachment (NAT) across overlapping CIDRs, transitive hybrids, or third-party SaaS producers.
Using PSA when consumer and producer VPCs have overlapping RFC 1918 IP ranges or require transitive access without custom routes (use PSC instead!).
3
Global External ALB vs. Regional External ALB vs. Classic ALB
Global External ALB (EXTERNAL_MANAGED): Multi-region Premium Tier Anycast VIP with full Envoy Traffic Management (weighted splitting, mirroring, header rewrites) and Cloud Armor / Cloud CDN.
Regional External ALB: Strict single-region data residency/compliance or Standard Network Tier with Envoy L7 routing.
Classic ALB (EXTERNAL): Legacy GFE architecture—only keep if existing legacy migration constraints require it.
Selecting Global External ALB with Standard Network Tier (Global Anycast VIPs require Premium Tier!), or trying to use weighted canary traffic splitting on EXTERNAL Classic ALB without EXTERNAL_MANAGED.
4
External Proxy NLB vs. External Passthrough NLB vs. Internal Passthrough NLB
External Proxy NLB: Non-HTTP TCP/SSL termination at the global/regional Envoy proxy (hides client IP unless PROXY Protocol v1/v2 is enabled).
External Passthrough NLB: Preserves raw client source IP, supports UDP/ESP/GRE/ICMP, and passes packets directly to backends (Direct Server Return).
Internal Passthrough NLB: RFC 1918 internal VIP that can serve as a VPC Route / PBR Next Hop (--next-hop-ilb) or Packet Mirroring Collector (--is-mirroring-collector).
Using an Application or Proxy Load Balancer as a VPC static route next hop for an NVA firewall (only Internal Passthrough NLB supports --next-hop-ilb!).
5
HA VPN vs. Classic VPN (Policy/Route-Based)
HA VPN: Production IPsec VPN providing a 99.99% SLA (2 interfaces, 2 or 4 active-active tunnels) using Cloud Router BGP dynamic routing (IKEv2 recommended).
Classic VPN: Legacy single-interface (99.9% SLA) gateway; only used when an archaic on-premises peer cannot support BGP and requires static policy/route-based selectors.
Using Classic VPN when the scenario asks for a 99.99% SLA or automatic dynamic failover when new VPC subnets are added.
6
Dedicated Interconnect vs. Partner Interconnect (L2 vs. L3) vs. Cross-Cloud Interconnect
Dedicated Interconnect: You need 10 Gbps or 100 Gbps (up to 8x10G or 2x100G) direct physical fiber in a shared colocation facility (requires 802.3ad LACP).
Partner Interconnect: Sub-10G (50 Mbps to 50 Gbps) or your data center is not in a Google colocation facility (L2 Partner requires Cloud Router ASN 16550; L3 Partner manages BGP for you).
Cross-Cloud Interconnect: High-bandwidth physical fiber directly to AWS, Azure, OCI, or Alibaba.
Provisioning a single Dedicated Interconnect in one metro for a 99.99% SLA (99.99% SLA requires 4 VLAN attachments across 2 distinct Metro Edge Availability Domains in 2 VPC regions!).
7
VPC Dynamic Routing Mode: Regional vs. Global
Regional (Default): Cloud Routers only advertise and program learned BGP routes within the same Google Cloud region where the Cloud Router resides.
Global: Cloud Routers advertise all subnets across all regions of the VPC and program learned on-premises BGP routes into every region of the VPC automatically.
Leaving Dynamic Routing Mode at Regional when VMs in europe-west1 need to reach an on-premises data center connected via HA VPN/Interconnect in us-central1.
8
Public Cloud NAT vs. Private Cloud NAT vs. Secure Web Proxy (SWP)
Public Cloud NAT: L3/L4 outbound internet SNAT for private VMs/Pods (64,512 ports per NAT IP; Static vs. Dynamic Port Allocation).
Private Cloud NAT: RFC 1918-to-RFC 1918 SNAT across NCC spokes or Hybrid links with overlapping private IPs.
Secure Web Proxy (SWP): Regional Layer 7 Envoy egress proxy filtering HTTP/HTTPS URL paths (github.com/my-org/*), FQDNs, Secure Tags, and TLS Inspection.
Trying to filter outbound HTTPS paths (example.com/allowed/*) using Public Cloud NAT or Cloud NGFW FQDN rules instead of Secure Web Proxy (SWP).
9
Cloud Armor Edge Security Policy vs. Backend Security Policy
Edge Security Policy (CLOUD_ARMOR_EDGE): Filters requests BEFORE Cloud CDN cache hits and protects Cloud Storage Backend Buckets (Geo/IP/ASN/Header filtering).
Backend Security Policy (CLOUD_ARMOR): Evaluates cache misses and dynamic Backend Service traffic with full OWASP CRS 3.3 WAF (evaluatePreconfiguredWaf), Adaptive Protection, and reCAPTCHA Bot Management.
Attaching a Backend Security Policy to block a sanctioned country from downloading files cached in Cloud CDN or stored in a Backend Bucket (cache hits bypass Backend Security Policies!).
10
Cloud Armor throttle vs. rate_based_ban
throttle: Caps requests per interval (conform-action=allow, exceed-action=deny(429)), immediately allowing requests again in the next rolling window.
rate_based_ban: Completely locks out (ban-duration-sec) ALL requests from the offending enforce-on-key (IP, XFF-IP, HTTP-HEADER, TLS-JA3-FINGERPRINT) once ban-threshold is exceeded.
Using enforce-on-key=IP when clients sit behind a shared Corporate NAT IP or upstream CDN (use HTTP-HEADER/COOKIE or XFF-IP instead!).
11
Hierarchical Firewall Policy vs. Network Firewall Policy (Cloud NGFW) vs. Classic VPC Firewall Rules
Hierarchical Policy (Org/Folder): Enterprise-wide guardrails using goto_next to delegate lower-level evaluation.
Network Firewall Policy (Global/Regional): VPC-scoped NGFW rules supporting Secure Tags, FQDNs, Geo, Threat Intel & L7 IPS.
Classic VPC Firewall Rules: Legacy flat VPC rules (evaluated before Network Firewall Policies by default unless --network-firewall-policy-enforcement-order=BEFORE_CLASSIC_FIREWALL is set!).
Using action=allow instead of action=goto_next in an Org/Folder Hierarchical Policy when child projects still need to restrict access to specific VMs.
12
IAM Secure Tags vs. Service Accounts vs. Network Tags (Firewall Targets)
IAM Secure Tags (tagValues/...): IAM-governed, supports multiple tags per VM, attaches without rebooting, and works across VPC Network Peering in Network Firewall Policies!
Service Accounts: IAM-governed in Classic rules, max 1 per VM, requires stopping the VM to change, no VPC Peering support.
Network Tags: Plain-text metadata with zero IAM control and no VPC Peering support.
Using Network Tags or Service Accounts to write micro-segmentation firewall rules across VPC Network Peering (only Secure Tags or IP/CIDR ranges work across Peering!).
13
Cloud NGFW Enterprise vs. Cloud IDS vs. Packet Mirroring
Cloud NGFW Enterprise: Inline Google-managed Zonal Firewall Endpoint (apply_security_profile_group) that actively blocks L7 Palo Alto Networks IPS threat signatures + inline TLS decryption.
Cloud IDS: Out-of-band Google-managed Palo Alto Networks threat detection (zero inline latency, passive alerting only).
Packet Mirroring: Out-of-band raw packet cloning (pcap) to self-managed collectors behind --is-mirroring-collector ILB.
Choosing Cloud IDS or Packet Mirroring when the requirement states "block malicious Layer 7 exploits inline before they reach the VM" (use Cloud NGFW Enterprise!).
14
VPC Flow Logs vs. Firewall Rules Logging vs. Packet Mirroring
VPC Flow Logs: Sampled 5-tuple telemetry at the vNIC (captures Ingress ONLY AFTER Ingress Firewall allows, and Egress BEFORE Egress Firewall drops!).
Firewall Rules Logging: Per-rule connection logs (required to see packets dropped by Ingress Firewalls; use --logging-metadata=exclude-all-metadata to cut cost).
Packet Mirroring: Full L2–L7 packet payload (pcap) capture.
Enabling VPC Flow Logs to investigate packets dropped by an Ingress Firewall Rule (Ingress firewall drops happen before VPC Flow Logs are recorded!).
15
Connectivity Tests vs. Network Analyzer vs. Performance Dashboard vs. Flow Analyzer
Connectivity Tests: Static control-plane simulation + live probing between Endpoint A and B (works even on stopped VMs!).
Network Analyzer: Automated background alerts for GKE/Subnet IP exhaustion (>80%), broken routes & missing LB health check rules.
Performance Dashboard: Compares Project-specific vs. Google-wide backbone packet loss & RTT latency.
Flow Analyzer: Interactive Log Analytics drill-down on VPC Flow Logs by port/protocol/IP/Pod top talkers.
Using Connectivity Tests to continuously monitor GKE Pod subnet IP exhaustion (that's Network Analyzer), or using Network Topology to query raw TCP/UDP port numbers (that's Flow Analyzer).

2. The 5-Step Architecture Decision Framework

When evaluating a multi-service Google Cloud design, apply this structured 5-step architectural review:

  1. Step 1 — Pinpoint Core Workload & Non-Functional Requirements: Identify the primary workload driver (e.g., sub-10ms OLTP vs. petabyte OLAP, synchronous REST vs. asynchronous event streaming, strict regional data residency vs. global active-active availability).
  2. Step 2 — Prefer Managed, Cloud-Native Services First: Default to fully managed, serverless, or Google-curated services before introducing self-managed VMs, custom glue scripts, or unscalable manual operations.
  3. Step 3 — Enforce Zero-Trust Identity & Keyless Authentication: Replace static credentials, long-lived service account JSON keys, and broad basic roles (Owner/Editor) with Workload Identity Federation, attached service accounts, and predefined IAM roles.
  4. Step 4 — Verify Network Isolation & Data Perimeter Guardrails: Combine private connectivity (Private Service Connect, Private Google Access, IAP TCP forwarding) with VPC Service Controls and Organization Policy constraints.
  5. Step 5 — Optimize for Cost, Observability, and Day-2 Reliability: Validate autoscaling boundaries, SLO burn-rate alerting, sink-level log filtering, and automated rollback pipelines before production rollout.

3. Review: Architecture Decision List

  1. HA VPN uses BGP for dynamic routing and high availability.
  2. By default, dual tunnels operate in Active/Active (ECMP) mode.
  3. To configure Active/Passive mode, manipulate the Advertised Route Priority (MED).
  4. A lower MED value indicates a higher preference (better route).
  5. Internal Passthrough Network Load Balancers preserve the client IP address by design.
  6. Proxy Load Balancers (Application or Proxy Network) mask the client IP and require headers (X-Forwarded-For or PROXY protocol) to pass that information.
  7. Internal load balancers serve traffic on private IP addresses within a VPC.
  8. SQL databases typically use TCP traffic, making Network Load Balancers a common choice over Application Load Balancers.
  9. Routes in a VPC are global by default but can be scoped to specific instances using network tags.
  10. When using virtual appliances or proxies as a next hop, ensure the route does not apply to the appliances themselves to avoid routing loops.
  11. The default system route allows access to the internet gateway; custom routes override this if they have higher priority or are more specific.
  12. VPC Flow Logs capture metadata (5-tuple) only, not payload.
  13. Packet Mirroring captures full packet payload for inspection.
  14. Use Packet Mirroring for IDS/IPS integration and malware detection.
  15. Use Flow Logs for traffic analysis, billing, and connectivity troubleshooting.
  16. VPC-native clusters treat Pod IPs as native VPC IP addresses.
  17. Internal Pod-to-Pod traffic in VPC-native clusters is governed by VPC firewall rules.
  18. Connectivity Tests provide a static configuration analysis to visualize packet paths and identify drop causes like firewall rules.
  19. Cloud NAT is only for outbound internet traffic, not internal connectivity.
  20. Cloud Interconnect traffic is unencrypted by default.
  21. MACsec is only available for Dedicated Interconnect.
  22. HA VPN over Cloud Interconnect is the standard encryption method for Partner Interconnect.
  23. HA VPN provides IPsec encryption at Layer 3.
  24. Private Service Connect (PSC) provides internal IP addresses for Google APIs.
  25. Cloud DNS Private Zones are used to map hostnames to internal IPs within a VPC.
  26. Cloud DNS Inbound Server Policies enable on-premises systems to resolve Cloud DNS zones via hybrid connectivity.
  27. NCC VPC spokes automatically export subnet routes but require explicit configuration to export PSC routes.
  28. Connectivity issues specific to PSC endpoints (when VMs work) usually indicate missing route propagation.
  29. Hybrid spokes (VPN/Interconnect) rely on the Hub to learn routes from other spokes before they can advertise them to on-premises.
  30. Network Connectivity Center (NCC) uses a Hub and Spoke topology to manage global connectivity.
  31. To connect on-premises sites to NCC, use Cloud VPN or Cloud Interconnect as spokes.
  32. To allow traffic between on-premises sites (spoke-to-spoke), you must explicitly enable 'site-to-site data transfer' on the Hub.
  33. NCC Hubs are global resources; a single Hub can manage connectivity across multiple regions.
  34. Traffic Mirroring (Shadowing) copies Layer 7 requests to a secondary backend service for inspection or testing.
  35. Mirroring is configured in the URL map's route rule using the mirroredService field.
  36. Mirroring is a fire-and-forget operation; the load balancer ignores the response from the mirrored service.
  37. Mirroring does not affect the latency or response of the primary production traffic.
  38. VPC Service Controls protect managed services (like Storage, BigQuery) using Service Perimeters.
  39. VPC Firewall rules protect VMs, not managed APIs.
  40. Access Levels (managed in Access Context Manager) allow specific external networks or identities to bypass perimeter blocks.
  41. Access Levels must be explicitly attached to the Service Perimeter to take effect.
  42. Secure Web Proxy is an explicit proxy service, not a transparent gateway.
  43. Clients (VMs) require OS-level configuration (e.g., environment variables) to utilize the proxy.
  44. VPC Routes define packet paths but cannot transform standard traffic into proxy requests.
  45. VPC Service Controls protect managed Google services (like BigQuery and Cloud Storage) from unauthorized data exfiltration.
  46. Access Context Manager is used to define Access Levels based on attributes like IP address or device status.
  47. IAM roles control who can access a resource, while VPC Service Controls control where they can access it from.
  48. To allow external access to a perimeter, create an Access Level and attach it to the perimeter's ingress policy.
  49. Cloud NAT allows private instances to access the internet using shared public IPs.
  50. Connection timeouts on private instances often indicate SNAT port exhaustion.
  51. Use Cloud Monitoring to troubleshoot network issues.
  52. The specific metric for NAT exhaustion is sent_packets_dropped_count with the reason OUT_OF_RESOURCES.
  53. Cloud CDN allows up to 3 keys per backend service to enable key rotation.
  54. Always add the new key to the infrastructure before updating the application to use it.
  55. Maintain the old key until the Time-to-Live (TTL) of all issued signed URLs has expired.
  56. Rotate keys regularly to limit the impact of a potential compromised key.
  57. VPC Network Peering does not support overlapping IP address ranges.
  58. Private NAT (Inter-VPC NAT) is the managed solution for connecting overlapping VPCs.
  59. Re-addressing networks is complex and often avoided by using NAT.
  60. Shared VPC consolidates networks but does not inherently solve connectivity between two existing conflicting networks without migration.
  61. Use Application Load Balancers (Layer 7) when you need to route traffic based on HTTP headers, cookies, or URL paths.
  62. Use Network Load Balancers (Layer 4) for non-HTTP traffic or when you need high-performance TLS offloading without content inspection.
  63. Choose Internal Load Balancers to keep traffic private within the VPC network using internal IP addresses.
  64. Choose External Load Balancers when you need to serve traffic to users on the public internet.
  65. GKE Dataplane V2 uses eBPF for networking and security.
  66. Dataplane V2 must be enabled during cluster creation; it cannot be toggled on existing clusters.
  67. To move from V1 to V2, you must create a new cluster and migrate workloads.
  68. Network Policy Logging is a feature specific to Dataplane V2.
  69. In Layer 2 Partner Interconnect, the customer configures BGP on the Cloud Router.
  70. In Layer 3 Partner Interconnect, the service provider configures the BGP session.
  71. Cloud Interconnect always requires BGP; static routes are not supported for the attachment itself.
  72. Cloud Functions operate outside the VPC by default.
  73. To access private resources (in the VPC or via VPN/Interconnect), you must use a Serverless VPC Access connector.
  74. Firewall rules and NAT gateways in the VPC do not automatically apply to serverless functions unless a connector bridges the traffic first.
  75. Cloud DNS Forwarding Zones are used to send queries for specific private domains to external name servers (like on-premises Bind).
  76. Forwarding works over private connections like Cloud VPN or Cloud Interconnect.
  77. Peering zones are strictly for VPC-to-VPC DNS sharing, not for external targets.
  78. Avoid manual record duplication (split-brain) when an authoritative source already exists.
  79. Use restricted.googleapis.com (199.36.153.4/30) when VPC Service Controls compliance is required.
  80. Use private.googleapis.com (199.36.153.8/30) for general private access to most Google APIs.
  81. On-premises access to these VIPs requires BGP custom route advertisements on the Cloud Router.
  82. DNS configuration (CNAME records) is also required to map API hostnames to these VIPs.
  83. Use Dedicated Interconnect only when you can physically reach a Google PoP.
  84. Use Partner Interconnect when you need private connectivity but cannot reach a Google PoP directly.
  85. Cloud VPN is a cost-effective backup but lacks dedicated bandwidth guarantees.
  86. Use Service Accounts for firewall filtering in dynamic or autoscaling environments to ensure security policies scale automatically.
  87. Avoid using IP addresses for firewall rules when instances are ephemeral.
  88. Service Accounts offer better security for micro-segmentation compared to network tags because they are governed by IAM.
  89. VPC subnet routes (local routes) are automatically generated and have high priority; they generally cannot be overridden by static routes.
  90. If you use public IP addresses privately (PUPI), you lose access to those specific public IPs on the internet.
  91. Always check for critical service overlaps (like public DNS or third-party APIs) when planning non-RFC1918 address allocations.
  92. VPC Network Peering is non-transitive; traffic cannot pass through a peered network to reach another.
  93. To connect two spokes in a hub-and-spoke topology using only peering, you must peer the spokes directly.
  94. Cloud NAT is strictly for internet egress, not internal routing.
  95. Cloud Armor provides Layer 7 filtering capabilities, allowing you to match specific URL paths.
  96. Rate limiting rules in Cloud Armor are effective against brute-force and volumetric attacks.
  97. VPC Firewall rules operate at Layer 3/4 and cannot distinguish between URL paths.
  98. Throttling is preferable to denying when you want to control the rate of usage rather than blocking access entirely.
  99. VPC Dynamic Routing mode controls the scope of route advertisement (Regional vs. Global).
  100. Set routing mode to Global to enable cross-region access via Cloud VPN or Interconnect.

Book TOC · Previous · Chapter 8 of 8

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!

Practice PCNE Questions