API Gateways, Traffic Management & the Edge
Learning Hub / Kubernetes & Platform

API Gateways, Traffic Management & the Edge

Intermediate → Advanced13 lessonsAvailable

Everything between the internet and your services. Follow one request through DNS, CDN, WAF, load balancer, gateway, mesh and pod, and sort out Ingress, the Gateway API, API gateways and service meshes. Learn the Gateway API object by object, then build a working edge on a local kind cluster with Envoy Gateway: shared Gateway and team-owned routes, header routing and weighted canaries, HTTPS, JWT validation with verified claims passed to services, per-tenant and per-plan global rate limits with real 429s, and timeouts and retries measured against a flaky backend. Then design the rest: API versioning and deprecation, layered edge security, multi-region steering and failover, what AWS and Azure offer for each layer, and how to operate a gateway from access logs to upgrades. Every lab command and output was run for real.

You'll meetAPI gatewayGateway APIHTTPRouteGRPCRouteReferenceGrantEnvoyEnvoy GatewayIngressservice meshedgeCDNanycastWAFDDoSJWTOIDCJWKSAPI keysexternal authorizationrate limitingtoken bucketglobal rate limitquotas429timeoutsretriescircuit breakingoutlier detectioncanaryblue/greentraffic mirroringAPI versioningdeprecationSunset headerOpenAPIGeoDNSglobal load balancerfailoverAWS API GatewayCloudFrontAzure API ManagementAzure Front DoorApplication Gateway for Containersaccess logsresponse flags
Start lesson 01 →

What you'll be able to do

  • Trace a request from browser to pod and explain what each hop adds, costs and records
  • Choose between Ingress, the Gateway API, an API gateway product and a service mesh
  • Model ownership with GatewayClass, Gateway, Routes and ReferenceGrant, and debug with status conditions
  • Build a working gateway with header routing, weighted canaries and HTTPS on Kubernetes
  • Validate JWTs at the gateway and pass verified claims to services safely
  • Apply per-tenant, per-plan rate limits that hold across gateway replicas
  • Set timeouts, retries and circuit breakers that help instead of amplifying failures
  • Version, deprecate and retire APIs using contracts and real usage data
  • Layer DDoS protection, WAF, bot defences and origin protection in front of APIs
  • Design multi-region steering and failover within data-residency rules
  • Map the edge to AWS and Azure services and decide between managed and self-hosted
  • Operate gateways: read access-log flags, monitor per route, roll out changes and upgrades safely

Before you start

Kubernetes basics (Deployments, Services, namespaces), the command line, Docker. Helpful: Kubernetes Administration up to Ingress, and HTTPS basics.

How it works

Each lesson: plain-language idea → how it really works → hands-on. Each section ends with a cheat sheet & self-check.

Curriculum

Lessons marked “Read” are ready; the rest are on the way.

Real-world scenarios

Work through each one: symptom → misleading signal → evidence → root cause → prevention.

One script, everyone slow

A free customer's buggy script sends thousands of requests per second and every tenant's API slows down. Contain it now and make sure it can't happen again.

Retries made the outage worse

A slow database led to timeouts, and gateway retries tripled the load until everything failed. Redesign timeouts and retries.

Who still calls v1?

An old API version must be removed, but nobody knows who uses it. Find out, warn them and retire it safely.

This site is a public version of my personal engineering knowledge hub. It intentionally excludes confidential company information and internal operational details.