Apigee Adapter for Envoy est une passerelle API gérée par Apigee qui utilise Envoy pour acheminer le trafic de l'API à travers un proxy. Envoy est un proxy de service et de périphérie Open Source courant, conçu pour les applications cloud natives. Vous pouvez exécuter Apigee Adapter for Envoy sur site ou dans un environnement multicloud.
Grâce à Apigee Adapter for Envoy, vous obtenez une application de passerelle API relativement peu consommatrice de ressources qui s'exécute à proximité de vos applications backend. Apigee Adapter for Envoy fait appel à Apigee dans les cas suivants :
Authentification et autorisation des API (via des clés API et OAuth)
Gestion des quotas
Analyse des API
Regarder les vidéos :
Cette vidéo propose un aperçu et une démonstration d'Apigee Adapter for Envoy pour Google Cloud.
Cette vidéo décrit l'utilisation d'Apigee Adapter for Envoy avec Service Mesh.
Options d'installation
Vous pouvez utiliser Apigee Adapter for Envoy dans le contexte suivant :
La figure suivante illustre l'architecture de haut niveau de l'outil Apigee Adapter for Envoy.
Cette architecture comprend des composants de plan de gestion déployés sur Google Cloud Platform (GCP) et des composants de plan de données exécutés à distance sur site ou dans un environnement de fournisseur cloud. Le plan de données inclut le proxy Envoy et le service distant Apigee. Le rôle de chaque composant est décrit sous la figure.
Une application cliente accède à un point de terminaison d'API mis à disposition par le proxy Envoy.
Le proxy Envoy transmet le contexte de sécurité (à l'aide d'en-têtes HTTP) à Apigee Remote Service. Apigee Remote Service fait office de point de décision de règle et indique à Envoy d'autoriser ou de refuser à la requête l'accès à l'API cliente.
Si l'appel est autorisé, le proxy Envoy transmet la requête au backend.
Apigee Remote Service interroge de manière asynchrone le plan de gestion et télécharge les configurations du proxy, du produit d'API, ainsi que toute autre configuration dont il a besoin pour fonctionner.
Pourquoi utiliser Apigee Adapter for Envoy ?
En déplaçant le composant de gestion d'API à proximité des applications cibles backend, vous pouvez réduire la latence du réseau. Bien qu'il soit possible d'installer Apigee hybrid dans un centre de données privé, un déploiement complet d'Apigee hybrid est nécessairement vaste et complexe s'il doit faire appel à l'ensemble de ses fonctionnalités de traitement d'un gros volume de données, telles que la gestion des clés, la monétisation et les analyses. Cela signifie que le déploiement d'Apigee hybrid sur site dans chaque centre de données n'est pas toujours souhaitable.
L'utilisation d'Apigee Adapter for Envoy présente les avantages suivants :
Latence réduite du trafic des API pour les services exécutés à proximité ;
Utilisation de la suite complète de métriques, de tableaux de bord et d'API Apigee Analytics ;
Limitation du trafic des API dans les limites approuvées par l'entreprise à des fins de sécurité ou de conformité ;
Communication asynchrone avec Apigee permettant de capturer et d'envoyer des données de trafic d'API à Apigee sans affecter la latence ;
L'adaptateur peut tolérer des interruptions de communication temporaires avec le plan de gestion. Toutefois, au fil du temps, une interruption peut perturber la fonctionnalité. L'adaptateur nécessite une communication avec le plan de gestion pour :
Générer des jetons OAuth
Vérifier les clés API (la connexion est requise pour la première validation, après laquelle elle est mise en cache)
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/09/04 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Difficile à comprendre","hardToUnderstand","thumb-down"],["Informations ou exemple de code incorrects","incorrectInformationOrSampleCode","thumb-down"],["Il n'y a pas l'information/les exemples dont j'ai besoin","missingTheInformationSamplesINeed","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/09/04 (UTC)."],[[["\u003cp\u003eApigee Adapter for Envoy is an Apigee-managed API gateway that leverages the open-source Envoy proxy for managing API traffic in on-premises or multi-cloud environments.\u003c/p\u003e\n"],["\u003cp\u003eIt offers a smaller footprint than a full Apigee hybrid deployment, enabling its use closer to backend applications to reduce network latency.\u003c/p\u003e\n"],["\u003cp\u003eThe adapter uses Apigee for crucial tasks such as API authentication, authorization, and quota management, as well as offering access to the complete Apigee Analytics suite.\u003c/p\u003e\n"],["\u003cp\u003eIt operates with a management plane on Google Cloud and a data plane that includes the Envoy proxy and Apigee Remote Service for policy enforcement and configuration updates.\u003c/p\u003e\n"],["\u003cp\u003eThe adapter can be deployed as a service to the Istio service mesh integrated with Apigee hybrid.\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.2.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 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.2.x/getting-started)"]]