GCP VPC has a unique architecture where a single VPC is a global resource spanning every region. This article covers the core VPC design patterns, Shared VPC / Peering, Firewall / Cloud Armor, Cloud NAT, how to choose a load balancer, and using Flow Logs.
| Type | Layer | Scope | Use case |
|---|---|---|---|
| Global External HTTPS LB | L7 | Global | Global web apps |
| Regional External HTTPS LB | L7 | Regional | Region-bound requirements, PCI |
| Internal HTTPS LB | L7 | Regional / Cross-region | Internal microservices |
| Global External Proxy Network LB (TCP/SSL) | L4 | Global | Non-HTTPS global workloads |
| External Passthrough Network LB | L4 | Regional | UDP, legacy workloads |
| Internal Passthrough Network LB | L4 | Regional | Internal L4 |
| Cross-region Internal HTTPS LB | L7 | Cross-region | Highly available internal services |
How does GCP VPC differ from AWS / Azure VPC?
GCP VPC is a global resource (one VPC spans every region in the world), while AWS / Azure VPCs are regional. Only subnets are region-bound. Not needing cross-region VPC Peering is a key GCP advantage.
What is Shared VPC?
A design where a host project centrally manages the VPC and assigns it to multiple service projects. It cleanly separates responsibilities: a central team owns networking while business unit teams own applications.
Should I use VPC Peering or Shared VPC?
Use Shared VPC when you want central governance inside an organization, and VPC Peering between independent organizations or projects. Note that VPC Peering is non-transitive (A↔B and B↔C does not give you A↔C).
What is a Hierarchical Firewall Policy?
Firewall rules enforced at the organization or folder level. Project-level rules cannot override them, so you can apply baseline controls (e.g., deny SSH from the internet) uniformly.
What is Cloud NAT for?
It lets VMs with only private IPs initiate outbound traffic to the internet (egress only). You avoid assigning public IPs to VMs, which improves security.
Is Cloud Armor a WAF?
Yes. It offers OWASP Top 10 protections, rate limiting, geo-based blocking, Adaptive Protection (ML-based DDoS defense), Threat Intelligence integration, and more.
Global vs Regional load balancer?
Global uses a single Anycast IP and routes worldwide traffic to the nearest backend (HTTPS / TCP / SSL Proxy), while Regional distributes within a region. Use Global for worldwide apps and Regional for region-bound requirements like PCI.
What are VPC Flow Logs used for?
They log VPC flows (5-tuple + action). They are essential for troubleshooting, security analysis, and traffic statistics. Exporting to BigQuery and visualizing with Looker is the standard pattern.
Related articles: Networking
GCP Professional Cloud Network Engineer (PCNE) 完全ガイド|VPC・Interconnect・Load Balancing
Google Cloud Professional Cloud Network Engineer の試験範囲、VPC / Cloud Interconnect / Cloud Load Balancing / Cloud Armor、AWS ANS・Azure AZ-700 比較を詳解。
GCP Professional Cloud Developer (PCD) 完全ガイド|Cloud Run・GKE・CI/CD・APM
Google Cloud Professional Cloud Developer の試験範囲、Cloud Run / GKE / Cloud Build / Cloud Trace、AWS DVA / Azure AZ-204 比較、学習ロードマップを徹底解説。
Cloud Logging 完全ガイド|ログクエリ・Log Router・Audit Logs・保持期間 (GCP)
Google Cloud Cloud Logging の全機能解説。Logging Query Language (LQL)、Log-based Metric、Log Router (Sink)、Audit Logs、Log Bucket、料金、CloudWatch Logs / Azure Monitor 比較を網羅。
Cloud Scheduler + Cloud Functions/Run で定期バッチ自動化チュートリアル (GCP)
Google Cloud Scheduler と Cloud Functions / Cloud Run Job で定期バッチ自動化。cron 形式、OIDC 認証、リトライ、Dead Letter、Workflows 連携、Cloud Run Job 並列実行を 2026 年最新版で解説。
Google Cloud is a trademark of Google LLC. For the latest information, see the official VPC documentation.
Practice with certification-focused question sets
Visit the GCP Exam Prep HubNicheeLab Editorial Team
NicheeLab editorial team focused on data engineering and cloud certification learning. Content is structured around practical study needs and official exam domains.
Google Cloud Certification Roadmap (2026)
Choose your GCP certification path — Foundational, Associate...
CDL Cloud Digital Leader: Complete Exam Guide (2026)
Pass the Cloud Digital Leader exam — cloud business value, G...
GAIL Generative AI Leader: Complete Exam Guide (2026)
Pass the Generative AI Leader exam — Gemini, Vertex AI, Work...
Vertex AI Fundamentals for GCP Certs (2026)
Vertex AI basics every cert candidate needs — Workbench, Pip...
Associate Cloud Engineer (ACE): Complete Guide (2026)
Pass the Associate Cloud Engineer exam — Console, gcloud, pr...