envoy-guide
Module 1 · Foundations·7 min·beginner

Data plane vs control plane

Separate the thing that moves bytes from the thing that configures it.

Two jobs, two boxes

Once your fleet has more than a handful of proxies, you need to answer a new question: who tells all those proxies what to do?

That question splits the world into two layers:

  • Data plane — the thing that moves bytes. Receives requests, applies rules, forwards to backends, emits metrics. Envoy is a data plane.
  • Control plane — the thing that configures the data plane. Watches source-of-truth (Kubernetes, Consul, your own DB), translates intent into Envoy config, pushes it out. Istio's istiod is a control plane.

The data plane is on the request path; the control plane is not. If your control plane crashes, traffic keeps flowing on whatever config the data plane already had — it just can't pick up changes until the control plane is back.

You can run just the data plane

This is one of Envoy's gentlest learning ramps: you don't need a control plane to use Envoy.

For the next several lessons, we'll write Envoy config by hand — that's called static configuration. Envoy reads envoy.yaml once at boot and never changes it. Perfect for learning, perfect for simple gateways.

When you're ready (Module 5), we'll switch to dynamic configuration, where a control plane (xDS server) feeds Envoy config over a gRPC stream and pushes updates without restarts.

Same Envoy either way

The same Envoy binary handles both. Static vs dynamic is purely a configuration choice — you flip a switch from "read this file" to "ask this gRPC server."

Hands-on: spot the boundary in a real Istio mesh

You don't need to install Istio yet — just look at how it's documented.

Hands-on · Read the architecture diagram

Open the official Istio architecture page in a new tab: https://istio.io/latest/docs/ops/deployment/architecture/

Find the diagram. You should be able to point at:

  1. istiod — the single control-plane pod. It watches Kubernetes APIs and pushes xDS to Envoys.
  2. istio-proxy sidecars — Envoys, one per application pod. They carry the actual traffic.
  3. The gRPC arrows between them — that's xDS.

If you can label those three things on the diagram, you understand the data plane / control plane split well enough to move on.

Real-world example · Any company running Istio at scale
Problem
A service team wants to shift 5% of traffic from checkout-v1 to checkout-v2 as a canary. They don't want to SSH into hundreds of Envoy sidecars to update config files.
Envoy solution
They write a one-screen VirtualService CRD in Kubernetes. istiod sees the change, translates it into a weighted_clusters route, and pushes the new config to every relevant Envoy via xDS — within a couple of seconds, mesh-wide. Apps don't restart, sidecars don't restart, and there's a clean rollback by deleting the CRD.
Common pitfall

A common confusion: "Is Envoy a service mesh?" No. Envoy is a data plane. Istio (or App Mesh, or Consul Connect, …) is the service mesh — and it uses Envoy as its data plane. A service mesh = a control plane + a fleet of data planes.

What this means for the rest of the course

Modules 2–4 stay in static config land — one Envoy, one YAML file. That keeps you focused on Envoy itself, not on the layer above it.

In Module 5 we'll bring it back together: run Envoy as a sidecar (Lesson 15), then watch a real control plane (Istio) generate the same config you've been writing by hand (Lesson 16). By that point, the architectural picture above won't be abstract anymore — it'll be your literal mental model.

Quick check

In an Istio mesh, `istiod` is part of the…

Practical task
Finish the quick check and tick off the task to unlock.
Quick checkTasks 0/2