🟡 Warning — auto-mode VPC in production, VPC Peering without transitive routing plan
🟢 Suggestion — Shared VPC for centralized network management, Cloud NAT for private VMs
Exam Tips
VPC Peering = no transitive routing (A-B peered, B-C peered → A cannot reach C)
Shared VPC = host project owns network; service projects use it (centralized control)
Cloud VPN vs Interconnect threshold = ~1 Gbps (latency/bandwidth)
Firewall rules: lower number = higher priority; default deny-all-ingress at 65535
HA VPN = two tunnels, 99.99% SLA; Classic VPN = 99.9% SLA (avoid for production)
1---2name: cloud-networking3description: Cloud Networking4---56# Cloud Networking78## When to Use9- Designing VPC architecture for a GCP deployment10- Configuring firewall rules, routes, or NAT11- Planning hybrid connectivity (VPN or Interconnect)12- Preparing for GCP Professional Cloud Network Engineer exam1314## Core Jobs1516### 1. VPC Design: Auto vs Custom Mode17| Mode | Description | Use case |18|------|-------------|---------|19| **Auto mode** | Subnet per region, auto-created | Dev/test, quick start |20| **Custom mode** | You control subnets and CIDR ranges | Production (recommended) |21- Always use custom mode for production (control over IP ranges, no overlaps)2223### 2. Subnet Design24- Subnets are **regional** (not zonal)25- Plan CIDR ranges to avoid overlap with on-prem and other VPCs26- **Secondary ranges** — for GKE pods and services (alias IP ranges)27- **Private Google Access** — enables VMs without external IPs to reach Google APIs2829### 3. Firewall Rules30- Applied at the VPC level; affect all VMs in the VPC31- **Ingress** (inbound) and **Egress** (outbound) rules32- **Priority** 0–65534 (lower = higher priority); default deny at 6553533- Use **network tags** to apply rules to specific VMs34- Default rules: allow all egress, deny all ingress3536### 4. VPC Connectivity Options37| Option | Use case |38|--------|---------|39| **VPC Peering** | Connect two GCP VPCs (no transitive routing) |40| **Shared VPC** | Centralized VPC shared across multiple projects |41| **Cloud VPN** | Encrypted tunnel to on-prem or other clouds (< 1 Gbps) |42| **Cloud Interconnect** | Dedicated or Partner; high bandwidth (1–100 Gbps) |43| **Private Service Connect** | Private access to Google/third-party services |4445### 5. Hybrid Connectivity Decision46- **Cloud VPN (HA VPN)** — IPsec; 99.99% SLA; good up to ~1 Gbps47- **Dedicated Interconnect** — physical link; 10 or 100 Gbps; < 1ms latency48- **Partner Interconnect** — through telco partner; 50 Mbps–10 Gbps49- Rule of thumb: > 1 Gbps or latency-sensitive → use Interconnect5051### 6. Cloud NAT52- Allows VMs without external IPs to reach the internet53- No ports opened inbound (stateful outbound only)54- Required for private GKE nodes to pull images from internet5556## Key Concepts57- **Private Google Access** — VMs without external IP reach `*.googleapis.com`58- **Alias IP ranges** — allow multiple IPs per VM NIC (used by GKE pods)59- **Transitive routing** — VPC Peering does NOT support it; use Shared VPC or NCC instead6061## Checklist62- [ ] Custom mode VPC (not auto mode) for production?63- [ ] Private Google Access enabled for subnets with private VMs?64- [ ] Firewall rules use network tags or service accounts (not IP-based)?65- [ ] HA VPN or Interconnect for on-prem connectivity?66- [ ] Cloud NAT configured for private VMs needing outbound internet?67- [ ] Shared VPC for multi-project architecture (not VPC Peering)?6869## Output Format70- 🔴 **Critical** — overlapping CIDR ranges, firewall rule allowing 0.0.0.0/0 ingress on SSH/RDP71- 🟡 **Warning** — auto-mode VPC in production, VPC Peering without transitive routing plan72- 🟢 **Suggestion** — Shared VPC for centralized network management, Cloud NAT for private VMs7374## Exam Tips75- VPC Peering = no transitive routing (A-B peered, B-C peered → A cannot reach C)76- Shared VPC = host project owns network; service projects use it (centralized control)77- Cloud VPN vs Interconnect threshold = ~1 Gbps (latency/bandwidth)78- Firewall rules: lower number = higher priority; default deny-all-ingress at 6553579- HA VPN = two tunnels, 99.99% SLA; Classic VPN = 99.9% SLA (avoid for production)
Run npx skillmds@latest add kienbui1995/cloud-networking in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Cloud Networking It is listed under DevOps & Infra on SkillMD.
This skill has not completed SkillMD's automated safety review yet. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
kienbui1995 (@kienbui1995) published this skill. Their other Agent Skills are listed on their SkillMD profile.