Networking on GCP

Kadé's network, from inside the Google Cloud project. Continues the fundamentals course.

26 chapters in 6 parts, after the Kadé reference. Terms are collected in the glossary.

Start with 0. Kadé on GCP

Start here

  1. 0.Kadé on GCPThe GCP project, names and addresses the course reuses.15 min

Foundations

  1. 1.1.Regions, zones and Google's networkWhere GCP runs, and how a resource's scope limits it.18 min
  2. 1.2.The mental model: Andromeda, no layer 2No cables or switches inside GCP, and what replaces them.16 min
  3. 2.VPC networks and subnetsThe two objects you create, and what you cannot change later.15 min
  4. 3.IP addressingWhich addresses a VM really has, and how to keep one fixed.13 min
  5. 4.RoutingHow the VPC's routing table is built, and how one route wins.14 min

Controlling access

  1. 5.1.Firewall 1: VPC firewall rulesHow rules pick traffic and VMs, and when they only look safe.11 min
  2. 5.2.Firewall 2: firewall policiesRules that stay fixed, are shared, and use names, not IP lists.8 min
  3. 6.1.Admin access 1: IAP TCP forwardingReplacing the open SSH port with access by identity.10 min
  4. 6.2.Admin access 2: OS Login and no external IPsWho may log in, and running a VM with no external IP.7 min

Leaving and reaching privately

  1. 7.Egress and Cloud NATPrivate VMs reaching the internet from one fixed address.12 min
  2. 8.DNS inside GCPFree VM names, private zones, and the order answers come in.10 min
  3. 9.Private access to Google servicesPrivate paths to Google's services, and Cloud SQL with no public IP.10 min
  4. 10.Serverless networking: Cloud RunCloud Run's way in and way out, and why they are set apart.10 min

The front door

  1. 11.Load balancing 1: the family and how to chooseDecoding GCP's load balancer names, and picking the right one.7 min
  2. 12.1.Load balancing 2: inside the HTTPS load balancerThe five-link chain, and the settings behind most incidents.11 min
  3. 12.2.Load balancing 3: VMs behind the load balancerManaged instance groups: building, healing and updating VMs.11 min
  4. 12.3.Cloud Armor: the web application firewallHow WAF rules are built, ordered, and rolled out safely.22 min
  5. 12.4.Cloud CDN: caching at the edgeWhat gets cached, for how long, and how to clear it.18 min
  6. 13.Cloudflare and GCPA second proxy in front, and making it the only way in.12 min

Growing out

  1. 14.A second VPC, brieflyThe few ideas you need when another VPC appears.8 min
  2. 15.Hybrid: VPN and InterconnectJoining the office network to the VPC, privately.9 min

Running it

  1. 16.1.Observability 1: what each log can tell youWhich log sees which hop, and how to query them.9 min
  2. 16.2.Observability 2: monitoring, alerting and troubleshootingThe metrics worth watching, useful alerts, and where to look first.7 min
  3. 17.Governance: keeping it fixedMaking the safe setup the only one, and catching changes.10 min
  4. 18.1.Capstone 1: a photo, through a VM to the databaseOne request through everything the course built, then broken.2 min
  5. 18.2.Capstone 2: a payment, through Cloud Run to PayGateA checkout through Cloud Run and NAT, and the whole network.3 min