genaipros← The path
Line D · CloudC4 · Networking
STAGE 4 · NETWORKING — CLOUD SOLUTION ARCHITECTURE
C4 of the curriculum

You are rebuilding a datacenter — in software.

Every primitive you are about to learn already existed in a physical building: a fenced campus, VLANs, a router, a firewall, a load balancer appliance, a leased line, a DNS server. The cloud did not invent them. It made them API calls. Learn the topology once, then translate the names three times.

Public / untrusted Private / trusted Control & policy Denied ← this colour code is identical in every diagram in all five tabs
Framing 1 — The virtual datacenter

The physical thing, and the three names it now has

Click any row of the rack to see what it maps to.

PHYSICAL DC AWS AZURE GCP The fenced campus private address space, isolated from everyone else VPC (regional) VNet (regional) VPC (GLOBAL) The floor / VLAN an address slice tied to a failure domain Subnet (1 AZ) Subnet (spans AZs) Subnet (1 region) The door to the street two-way internet reachability Internet Gateway (implicit + Public IP) Default internet route The one-way service exit outbound only — no unsolicited inbound NAT Gateway NAT Gateway Cloud NAT The door policy who may talk to whom, on which port Security Group + NACL NSG (+ ASG) Firewall rules / policies The receptionist spreads requests over healthy backends ALB (L7) / NLB (L4) App Gateway / LB App LB / Network LB The leased line private path off-campus Direct Connect / VPN ExpressRoute / VPN Gw Interconnect / Cloud VPN The phone source name → address, plus traffic steering Route 53 Azure DNS Cloud DNS
Rack row detailClick or tab to any row above. Eight primitives, three dialects — that is the whole stage in one picture.
Fig 0.1 The Rosetta Stone for C4. Rows are the concepts; columns are the vocabularies.
Framing 2 — Segmentation is security

The villain of this stage: the flat network

The flat network

One big subnet where everything can reach everything. It is not a configuration mistake so much as a default — it is what you get when you accept every wizard's suggestion and never think about topology. It works perfectly. It stays working perfectly right up until one component is compromised, at which point the attacker inherits your entire estate, because nothing between the machines ever said no.

FLAT — ONE COMPROMISE REACHES EVERYTHING web breached app GPU db admin every path is open · 10 lateral moves available SEGMENTED — THE BLAST STOPS AT A TIER PUBLIC TIER LB breached APP TIER (PRIVATE) app GPU DATA TIER (PRIVATE) db :8000 only :5432 only DENY 1 hop available, on 1 port
Fig 0.2 Same five machines, same compromise. Segmentation does not prevent the breach — it decides how much of your estate the breach is worth.
Layer two of defence in depth

In C2 you built the identity layer — who a caller is, and what they're allowed to ask for. Networking is the second layer, and it answers a different question: can the packet even arrive? They compose, and the composition is the point. A private endpoint with no scoped role is reachable by any identity inside the network. A tightly scoped role on a publicly reachable endpoint still invites the whole internet to try. You want both: a private path and a least-privilege identity on it. Every "apply it" section in this stage names the identity half explicitly.

Framing 3 — Connectivity is a ladder

Five rungs. Security and cost climb together.

Almost every connectivity question in this stage — and in the certification exams — is really the same question: what is the lowest rung that meets the requirement? Climbing higher than you need buys you a bigger bill and more moving parts, not more safety.

COST · SETUP TIME · PRIVACY → ALL RISE TOGETHER RUNG 1 Public endpoint TLS + allow-list RUNG 2 Private endpoint private IP for a service outside RUNG 3 Peering network ↔ network no overlapping CIDRs RUNG 4 VPN encrypted tunnel over the internet RUNG 5 Interconnect physical circuit weeks of lead time
Rung detailClick a rung. The design instinct to build: start at rung 1 and only climb when a specific requirement forces you up.
Fig 0.3 The connectivity ladder. Every tab returns to it with vendor-specific names.
The route through

Four sessions, one topology

A choice you can already make, before any of the sessions

You are learning three clouds, so here is the one question the three genuinely answer differently. Every other difference in this stage is vocabulary.

Which provider's network model fits this requirement best? Follow "no ↓".
Do workloads in several regions need to reach each other by private address, with one consistent policy?
YES →
GCPOne global VPC spans every region. No inter-region peering, no duplicated rule sets, no drift. This is the only structural difference between the three — S4.
no ↓
Do you need an explicit deny rule enforced at a subnet boundary that no workload owner can override?
YES →
AWSNetwork ACLs are the only true stateless, deny-capable subnet filter of the three. Azure approximates it with NSG deny rules; GCP with hierarchical policies — S2.
no ↓
Must a central platform team push connectivity and security rules across dozens of teams' networks, outranking anything those teams write?
YES →
Azure or GCPAzure Virtual Network Manager's security-admin rules evaluate before NSGs; GCP's hierarchical firewall policies cannot be overridden from below. AWS has no direct equivalent — S3 and S4.
no ↓
Is one anycast address serving users on several continents, with edge TLS and a WAF, the core requirement?
YES →
GCP or AzureGCP's global Application Load Balancer is one product; Azure Front Door Premium adds Private Link to origin. On AWS you compose CloudFront with an ALB to get the same shape — S3 and S4.
no ↓
DEFAULT · Any of the three, and pick on other groundsFor a single-region, multi-tier workload behind a load balancer — which is most systems — all three build the identical topology with different nouns. Choose on where your data already is, what your team knows, and what the compute layer costs. The network will not be the deciding factor, and that is exactly why learning it once is enough.

What you will be able to do at the end

Plan addresses that won't collide

Design a multi-tier network with CIDR blocks that still work when someone asks you to peer with another team's network eighteen months from now.

Choose the right front door

L4 or L7, regional or global, public or private — and say why in one sentence a reviewer would accept.

Scope rules to least exposure

Write security groups / NSGs / firewall rules that reference each other rather than IP ranges, so the policy survives a redeploy.

Predict the bill before it arrives

Estimate NAT, egress and cross-zone charges for a GPU workload on paper, and know which architectural moves cut them.

Before you start — source integrity

What the materials say, and where they have drifted

Three corrections to the plan, and a running ledger of staleness that each tab repeats where it matters.

Reading-plan corrections (verified against each source's own TOC)

AWS — AWS guidance, AWS architecture guidance. Your section numbers are right; the exact titles are §6 AWS Networking Concepts and Services VPC Design and Network Segmentation Hybrid Networking and DNS Integration Network Traffic Monitoring and Troubleshooting Network Security and Encryption. This really is the deepest of the four — roughly 275 pages on networking alone — and S2 leans on it.

Azure — vendor guidance, vendor guidance, vendor guidance, Mastering Azure. §3 Networking and §4 Advanced Networking are correct. One gap worth naming: Front Door is mentioned only in passing covers Load Balancer, Application Gateway, Traffic Manager and Firewall in depth but not Front Door. S3 teaches Front Door from current Microsoft documentation and says so at the point of use.

GCP — GCP guidance, a leading GCP architecture reference. §4 GCP Networking is correct, but its scope is narrower than the session plan assumed. It covers VPC and subnets, firewall rules, VPC peering, Cloud VPN, Cloud Interconnect and Cloud CDN. It lists Shared VPC as a topic in its own section structure and then does not teach it; Cloud DNS does not appear in the section at all; and Cloud Load Balancing lives in §2, Autoscaling and Load Balancing, not §4. S4 covers all three anyway and flags each as taught from documentation rather than the material.

Patterns — A cloud patterns catalog, the cloud application patterns catalog. Confirmed: ten section, none about networking. Its useful contribution to S1 is the set of patterns that define where the network boundary goesService API and Backend Service , Dispatcher , Public API . Everything else in S1 is taught from first principles and labelled as such.

Staleness ledger — the facts your cert guides cannot have
costPublic IPv4 is metered on AWS$0.005 per address per hour, charged whether the address is in use or idle. About $3.65/month per address; a three-AZ NAT setup quietly adds three of them. VPC pricing
newRegional NAT Gateway (AWS)Introduced late 2025: one NAT resource that expands and contracts across AZs with your workload, billed per AZ-hour. Not in any 2025-vintage guide. VPC pricing
retiredAzure Basic SKUsBasic public IP addresses and Basic Load Balancer retired 30 Sep 2025. Any source screenshot offering you a "Basic" tier is showing a dead option. Microsoft Learn
changingAzure default outbound accessThe free implicit internet path for VMs is going away. For API versions released after 31 Mar 2026, new VNets default to private subnets — you must attach an explicit egress method. Microsoft Learn
renamedGCP load balancer names"HTTP(S) Load Balancing", "TCP Proxy" and "TCP/UDP Network LB" are gone as product names. It is now Application Load Balancer, proxy Network Load Balancer, and passthrough Network Load Balancer, each in external/internal and global/regional flavours. Cloud docs
supersededGCP firewall policiesClassic per-network VPC firewall rules still work, but new capability ships on Cloud NGFW policies — hierarchical (org/folder), global, and regional — with IAM-governed tags. Sources that teach only tag-based VPC rules are a generation behind. Cloud docs
policyEgress-to-leave is now freeAll three providers waive egress charges for customers migrating their data off the platform, and the EU Data Act bans switching-related egress charges outright from 12 Jan 2027. Ordinary day-to-day egress is unaffected and still costs what it always did.
Headline prices used throughout this stage

Verified mid-2026, US regions, list price. Internet egress: AWS $0.09/GB after 100 GB/month free · Azure $0.087/GB after 100 GB/month free · GCP Premium Tier $0.12/GB (Standard Tier $0.085/GB). NAT: AWS $0.045/hour + $0.045/GB processed · Azure $0.045/hour + $0.045/GB · GCP Cloud NAT ~$0.044/hour per gateway-VM plus ~$0.045/GB. Cross-zone traffic inside one region: $0.01/GB each way on all three. Ingress is free everywhere. Regional variation is real — always re-check before you commit a number to a design document.

Sources: aws.amazon.com/vpc/pricing azure.microsoft.com bandwidth pricing cloud.google.com/vpc/network-pricing

← C3The path
Next stage · C5 →genaipros · C4 · NetworkingAI for Everyone ↗