Apigee Adapter for Envoy es una pasarela de APIs gestionada por Apigee que usa Envoy para proxy el tráfico de APIs. Envoy es un proxy de servicios y de edge popular de código abierto diseñado para aplicaciones nativas de la nube. Puedes ejecutar Apigee Adapter for Envoy de forma local o en un entorno multinube.
Con Apigee Adapter for Envoy, obtienes una aplicación de pasarela de API relativamente pequeña que se ejecuta cerca de tus aplicaciones de backend. Apigee Adapter for Envoy depende de Apigee para lo siguiente:
Autenticación y autorización de APIs (con claves de API y OAuth)
Gestión de cuotas
Analíticas de APIs
Ver vídeos:
En este vídeo se ofrece una descripción general y una demostración de Apigee Adapter for Envoy de Google Cloud.
En este vídeo se describe cómo usar el adaptador de Apigee para Envoy con Service Mesh.
Opciones de instalación
Puede usar Apigee Adapter for Envoy en los siguientes contextos:
En la siguiente figura se muestra la arquitectura de alto nivel de Apigee Adapter for Envoy.
Esta arquitectura consta de componentes del plano de gestión implementados en Google Cloud Platform (GCP) y componentes del plano de datos que se ejecutan de forma remota en las instalaciones o en un entorno de un proveedor de servicios en la nube. El plano de datos incluye el proxy de Envoy y el servicio remoto de Apigee. El rol de cada componente se describe después de la figura.
Una aplicación de consumidor o cliente accede a un endpoint de API expuesto por el proxy de Envoy.
El proxy Envoy transfiere el contexto de seguridad (mediante encabezados HTTP) al servicio remoto de Apigee. El servicio remoto de Apigee actúa como punto de decisión de la política (PDP) y recomienda a Envoy que permita o deniegue el acceso al consumidor de la API para la solicitud.
Si se permite la llamada, el proxy de Envoy reenvía la solicitud al backend.
El servicio remoto de Apigee sondea de forma asíncrona el plano de gestión y descarga el proxy, el producto de API y otra configuración que necesita para funcionar.
¿Por qué usar Apigee Adapter for Envoy?
Si mueves el componente de gestión de APIs cerca de las aplicaciones de destino del backend, puedes reducir la latencia de la red. Aunque puedes instalar Apigee Hybrid on-premise en un centro de datos privado, un despliegue completo de Apigee Hybrid es necesariamente grande y complejo para admitir su conjunto completo de funciones y las funciones con gran cantidad de datos, como la gestión de claves, la monetización y las analíticas. Esto significa que no siempre es recomendable implementar Apigee Hybrid de forma local en cada centro de datos.
Estas son algunas de las ventajas de usar Apigee Adapter for Envoy:
Se ha reducido la latencia del tráfico de las APIs de los servicios que se ejecutan muy cerca.
Uso de todo el conjunto de métricas, paneles de control y APIs de Apigee Analytics.
Mantiene el tráfico de las APIs dentro de los límites aprobados por la empresa por motivos de seguridad o cumplimiento.
La comunicación asíncrona con Apigee permite capturar datos de tráfico de APIs y enviarlos a Apigee sin que afecte a la latencia.
El adaptador puede tolerar interrupciones temporales de la comunicación con el plano de gestión. Sin embargo, con el tiempo, una interrupción puede provocar la pérdida de funcionalidad. El adaptador requiere
comunicación con el plano de gestión para:
Generar tokens de OAuth
Verificar las claves de API (se requiere conexión para la primera verificación, después de la cual se almacena en caché)
[[["Es fácil de entender","easyToUnderstand","thumb-up"],["Me ofreció una solución al problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Es difícil de entender","hardToUnderstand","thumb-down"],["La información o el código de muestra no son correctos","incorrectInformationOrSampleCode","thumb-down"],["Me faltan las muestras o la información que necesito","missingTheInformationSamplesINeed","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2025-09-04 (UTC)."],[[["\u003cp\u003eApigee Adapter for Envoy is an Apigee-managed API gateway that uses Envoy to proxy API traffic, suitable for on-premises or multi-cloud environments.\u003c/p\u003e\n"],["\u003cp\u003eThis adapter provides API authentication, authorization, and quota management, relying on Apigee for these core functionalities.\u003c/p\u003e\n"],["\u003cp\u003eDeploying Apigee Adapter for Envoy near backend applications minimizes network latency for API traffic and keeps traffic within enterprise-approved boundaries.\u003c/p\u003e\n"],["\u003cp\u003eThe adapter uses asynchronous communication with Apigee for analytics and tolerates temporary connection interruptions, though persistent issues may result in functionality loss.\u003c/p\u003e\n"],["\u003cp\u003eThe architecture involves management plane components on GCP and data plane components remotely, with the data plane using Envoy proxy and Apigee Remote Service to control access to APIs.\u003c/p\u003e\n"]]],[],null,["# Apigee Adapter for Envoy overview\n\n*This page\napplies to **Apigee** and **Apigee hybrid**.*\n\n\n*View [Apigee Edge](https://docs.apigee.com/api-platform/get-started/what-apigee-edge) documentation.*\n\nWhat is Apigee Adapter for Envoy?\n---------------------------------\n\n\nApigee Adapter for Envoy is an Apigee-managed API gateway that uses\n[Envoy](https://www.envoyproxy.io/docs/envoy/latest/intro/what_is_envoy) to proxy API\ntraffic. Envoy is a popular, open source edge and service proxy designed for cloud-native\napplications. You can run Apigee Adapter for Envoy on premises or in a multi-cloud environment.\n\nWith Apigee Adapter for Envoy, you get a relatively small footprint API gateway application\nrunning close to your backend applications. Apigee Adapter for Envoy relies on Apigee for:\n\n- API authentication and authorization (with API keys and OAuth)\n- Quota management\n- API analytics\n\n\n**Watch videos:** \nThis video offers an overview and demo of Google Cloud's Apigee Adapter for Envoy. \nThis video describes using the Apigee Adapter for Envoy with Service Mesh.\n\nInstallation options\n--------------------\n\n\nYou can use the Apigee Adapter for Envoy in the following context:\n\n- As a service deployed to the Istio service mesh integrated with Apigee hybrid. See [Using Apigee Adapter for Envoy with Apigee hybrid](/apigee/docs/api-platform/envoy-adapter/v1.3.x/example-hybrid).\n\nApigee Adapter for Envoy\n------------------------\n\n\nThe following figure shows the high level architecture for Apigee Adapter for Envoy.\nThis architecture consists of management plane components deployed on Google Cloud Platform (GCP)\nand data plane components running remotely on premises or in a cloud provider environment. The\ndata plane includes the Envoy proxy and Apigee Remote Service. The role of each component\nis described following the figure.\n\n1. A consumer or client app accesses an API endpoint exposed by the Envoy proxy.\n2. The Envoy proxy passes the security context (using HTTP headers) to the Apigee Remote Service. The Apigee Remote Service acts as a policy decision point (PDP) and advises Envoy to allow or deny access to the API consumer for the request.\n3. If the call is allowed, the Envoy proxy forwards the request to the backend.\n4. The Apigee Remote Service asynchronously polls the management plane and downloads proxy, API product, and other configuration that it needs to operate.\n\nWhy use Apigee Adapter for Envoy?\n---------------------------------\n\nMoving the API management component close to backend target applications can reduce network\nlatency. While you can install Apigee hybrid on-premises in a private data center, a full deployment of\nApigee hybrid is necessarily large and complex to support its full feature-set and data-heavy\nfeatures like key management, monetization, and analytics. This means that deploying Apigee hybrid\non premises in each data-center is not always desirable.\n\nBenefits of using Apigee Adapter for Envoy include:\n\n- Reduced latency of API traffic for services that run in close proximity.\n\n- Use of the full suite of Apigee Analytics metrics, dashboards, and APIs.\n- Keeps API traffic within the enterprise-approved boundaries for security or compliance purposes.\n- Asynchronous communication with Apigee allows API traffic data to be captured and sent to Apigee without affecting latency.\n- The adapter can tolerate temporary communication interruptions with the management plane. Over time, however, an interruption can lead to loss of functionality. The adapter requires communication with the management plane for:\n - Generating OAuth tokens\n - Verifying API keys (connection is required for the first verification, after which it is cached)\n - Enforcing quotas\n - Sending analytics data to the management plane\n\nNext step\n---------\n\n[Install Apigee Adapter for Envoy](/apigee/docs/api-platform/envoy-adapter/v1.3.x/getting-started)"]]