Meet Envoy
Understand why Lyft built Envoy and who uses it today.
Where Envoy comes from
Envoy was created at Lyft by Matt Klein and his team starting in May 2015, and open-sourced in September 2016. It's written in C++ for one reason: predictable performance. Every microsecond of overhead matters when you put a proxy in the hot path of every request between every service.
Today Envoy is a graduated CNCF project — the same tier as Kubernetes, Prometheus, and Helm — and it's the data plane behind:
- Istio (the most-used service mesh)
- AWS App Mesh, Google Cloud Service Mesh, Consul Connect, Kuma
- Envoy Gateway, Emissary-ingress, Gloo, Contour (API gateways)
- A long list of in-house platforms at companies like Pinterest, Stripe, and Square.
If you've ever made a request to one of those companies' APIs, an Envoy probably handled it.
Why a new proxy in 2016?
By 2015, microservices were eating monoliths everywhere, but operationally things were getting worse. Each team picked their language, then reimplemented the same boring networking concerns from scratch:
- Their own retry logic. Different bugs in each language.
- Their own TLS. Different cipher suites in each repo.
- Their own metrics. No two services had the same dashboards.
- Their own circuit breakers — if they had them.
The existing options weren't a great fit:
- nginx and HAProxy were excellent for static reverse proxying but awkward for the dynamic, API-driven world of microservices. Reloading config meant rewriting files.
- Linkerd 1.x ran on the JVM. Memory footprint per sidecar was painful at microservice scale.
Envoy filled the gap: fast, dynamic-config-first (xDS), microservice-native, and language-agnostic.
Read Matt Klein's first-person retrospective: 5 years of Envoy OSS. It's the most honest "what we got right and wrong" piece in this space.
Hands-on: prove Envoy is real on your machine
You're going to run a real Envoy in 30 seconds — no config, just enough to see the admin interface.
First, pull the official image:
docker pull envoyproxy/envoy:v1.31-latest
Then run it with its built-in default config:
docker run --rm -p 9901:9901 -p 10000:10000 envoyproxy/envoy:v1.31-latest
Open http://localhost:9901 in your browser. You're looking at Envoy's
admin interface — config dump, stats, runtime flags, the works. We'll
spend Lesson 4 properly touring it. For now, just confirm it's there.
Stop with Ctrl+C when you're satisfied.
Production deployments pin Envoy to a specific tag (e.g. v1.31.2) and
upgrade deliberately. For learning, the rolling v1.31-latest tag is fine.
What this means for the next 14 lessons
Every config you'll write, every concept you'll learn, runs against this same
Docker image. No local builds, no language SDKs to install. Just YAML and
curl.
That's the magic of Envoy in a course like this: the runtime never gets in your way.
Which of these projects does NOT use Envoy as its data plane?