Data Plane: Envoy Proxy Fundamentals
What you'll learn: How Envoy works as the most widely-adopted sidecar proxy powering modern service meshes.
What is Envoy?
Envoy is an open-source, high-performance proxy designed specifically for cloud-native applications. Created at Lyft and now a CNCF graduated project, Envoy has become the de facto standard data plane proxy used by service meshes like Istio, Consul, and AWS App Mesh.
Think of Envoy as an intelligent traffic cop that sits next to each microservice instance, intercepting all incoming and outgoing network traffic.
Why Envoy Dominates
Unlike traditional proxies (like NGINX or HAProxy), Envoy was built from the ground up for dynamic, distributed systems:
- Dynamic Configuration: Envoy can update its routing rules, load balancing strategies, and policies without restarting—critical when services constantly scale up/down
- Rich Observability: Built-in support for metrics, logging, and distributed tracing out of the box
- Modern Protocols: Native HTTP/2, gRPC, and WebSocket support
- Extensible: Powerful filter chain architecture allows custom logic via WebAssembly or native extensions
How Envoy Works
When deployed as a sidecar proxy (from your previous lesson), Envoy transparently intercepts traffic. It applies:
- Load balancing across service instances
- Circuit breaking to prevent cascading failures
- Retry logic and timeouts
- TLS termination for encrypted communication
- Traffic routing based on headers, paths, or weights
The control plane (covered later) pushes configuration to Envoy instances, but Envoy handles all actual request processing independently.
Key Takeaway: Envoy is a purpose-built, dynamically configurable proxy that serves as the data plane foundation for most service meshes, providing traffic management, security, and observability without requiring application code changes.