Overview of Google Cloud Platform ESPv2
masterGoogle Cloud Platform ESPv2 is a general-purpose L7 service proxy designed for API management of JSON/REST or gRPC services. It integrates with Google Service Infrastructure to provide policy enforcement and telemetry.
ESPv2 consists of two primary components:
- Config Manager (Control Plane): Configures the Envoy proxy dynamically via the Google Service Management API and producer-specified flags.
- Envoy (Data Plane): Uses custom filters to process API requests and responses.
Key capabilities include:
- Authentication: Supports API Keys and JWT-compliant platforms (Firebase, Auth0, Okta, Google ID tokens, etc.).
- Traffic Control: Quotas and rate limiting.
- gRPC Transcoding: Maps HTTP/JSON requests to gRPC methods.
- Observability: API telemetry (metrics, error rates, latencies) and application observability (traces and logs).
- Protocols: Supports HTTP/1.1, HTTP/2, web sockets, gRPC, and gRPC-web.
- Security: Supports TLS and mTLS for both downstream and upstream connections.
- Dynamic Routing: Acts as a sidecar for local backends or a reverse proxy for remote services (e.g., on Cloud Run).