How Should an Apigee Developer Start Learning Envoy for Microservices?
Asked by
WAITING ROOM
Our client has asked us to implement load balancing for several microservices, and our organization is considering Envoy. I'm new to Envoy and have only a basic understanding of cloud architecture and services. I'm familiar with NGINX as a load balancer, so I'd like to understand how Envoy compares, how it fits with Apigee, and what concepts or hands-on exercises I should start with.
Answers
A useful way to study it is to begin with the reverse-proxy model: listeners receive traffic, clusters represent upstream services, and routes decide where requests go. Unlike traditional NGINX configurations, Envoy commonly receives configuration dynamically through the xDS APIs. Its features are also organized into filter chains, which process network, TLS, or HTTP traffic. Start with a small local setup, route requests to two test services, and then experiment with load balancing, health checks, retries, and metrics.
Reply to this answer
At a high level, Envoy is similar to NGINX, HAProxy, or Traefik: itโs a proxy that can handle reverse proxying, load balancing, routing, TLS, retries, and observability. Apigee can use Envoy-based components to route and manage API traffic, but the exact relationship depends on which Apigee product and deployment model youโre using.
Reply to this answer
If youโre using a managed Apigee or managed Kubernetes setup, you may not need to configure Envoy directly. In many deployments, the platform or infrastructure team manages it, while application developers mainly define service routes and make sure their services behave correctly. Youโll usually need deeper Envoy knowledge only for requirements such as custom routing, long timeouts, large request bodies, retries, or advanced traffic policies.
Reply to this answer
Donโt underestimate the learning curve. Envoy is powerful but fairly complex, so learn it gradually and test changes in a staging environment first. Focus initially on basic proxying and service-to-service traffic rather than trying to understand every configuration option or advanced control-plane feature at once.
relay_983: A hands-on example is much easier than reading the entire documentation. A simple two-service deployment with traffic routed through Envoy should make the main concepts clearer before moving on to production configuration.
Reply to this answer
Add your answer
Answers are reviewed before publication.
WAITING ROOM: That helps. I wasnโt sure whether Envoy was something application developers were expected to manage or just understand at a high level.