Apigee Adapter for Envoy ist ein von Apigee verwaltetes API-Gateway, das Envoy verwendet, um API-Traffic weiterzuleiten. Envoy ist ein beliebter Open-Source-Edge- und -Dienstproxy, der für cloudnative Anwendungen entwickelt wurde. Sie können Apigee Adapter for Envoy lokal oder in einer Multi-Cloud-Umgebung ausführen.
Mit dem Apigee Adapter for Envoy erhalten Sie eine relativ kleine API-Gateway-Anwendung, die in der Nähe Ihrer Back-End-Anwendungen ausgeführt wird. Apigee Adapter for Envoy nutzt Apigee für:
API-Authentifizierung und -Autorisierung (mit API-Schlüsseln und OAuth)
Kontingentverwaltung
API-Analysen
Videos ansehen:
In diesem Video erhalten Sie eine Übersicht und Demo zum Apigee-Adapter for Envoy von Google Cloud.
In diesem Video wird die Verwendung des Apigee-Adapters for Envoy mit Service Mesh beschrieben.
Installationsoptionen
Sie können Apigee Adapter for Envoy im folgenden Kontext verwenden:
Die folgende Abbildung zeigt die allgemeine Architektur für Apigee Adapter for Envoy.
Diese Architektur besteht aus Komponenten der Verwaltungsebene, die auf der Google Cloud Platform und Datenebenenkomponenten remote oder in einer Cloud-Anbieterumgebung ausgeführt werden. Die Datenebene umfasst den Envoy-Proxy und den Apigee-Remote-Dienst. Die Rollen der einzelnen Komponenten werden in Bezug auf die Abbildung beschrieben.
Eine Nutzer- oder Client-App greift auf einen API-Endpunkt zu, der vom Envoy-Proxy bereitgestellt wird.
Der Envoy-Proxy übergibt den Sicherheitskontext mithilfe von HTTP-Headern an den Apigee Remote-Dienst. Der Apigee-Remote-Dienst fungiert als Richtlinienentscheidungspunkt (PDP) und rät Envoy, den Zugriff auf den API-Nutzer für die Anfrage zuzulassen oder zu verweigern.
Wenn der Aufruf zulässig ist, leitet der Envoy-Proxy die Anfrage an das Back-End weiter.
Der Apigee Remote Service fragt die Verwaltungsebene asynchron ab und lädt den Proxy, das API-Produkt und andere Konfigurationen herunter, die er ausführen muss.
Warum Apigee Adapter for Envoy verwenden?
Wenn Sie die API-Verwaltungskomponente in die Nähe von Back-End-Zielanwendungen verschieben, kann die Netzwerklatenz verringert werden. Wenn Sie Apigee lokal in einer privaten Cloud installieren können, ist eine vollständige Bereitstellung von Apigee notwendigerweise groß und komplex, um den vollen Satz an Features und datenintensive Features wie Schlüsselverwaltung, Monetarisierung und Analysen zu unterstützen. Dies bedeutet, dass die Bereitstellung von Apigee vor Ort in jedem Rechenzentrum nicht immer wünschenswert ist.
Die Verwendung von Apigee Adapter for Envoy bietet folgende Vorteile:
Reduzierte Latenz des API-Datenverkehrs für Dienste, die in naher Nähe ausgeführt werden.
Nutzung der gesamten Suite von Apigee Analytics-Messwerten, -Dashboards und -APIs.
Hält den API-Traffic aus Sicherheits- oder Compliance-Gründen innerhalb der vom Unternehmen genehmigten Grenzen.
Durch die asynchrone Kommunikation mit Apigee können API-Traffic-Daten erfasst und an Apigee gesendet werden, ohne die Latenz zu beeinträchtigen.
Der Adapter kann vorübergehende Kommunikationsunterbrechungen mit der Verwaltungsebene umgehen. Eine Unterbrechung kann jedoch mit der Zeit die Funktionen beeinträchtigen. Das Adapter erfordert eine Kommunikation mit der Verwaltungsebene für:
OAuth-Tokens generieren
API-Schlüssel prüfen (Verbindung ist für die erste Überprüfung erforderlich, danach im Cache)
[[["Leicht verständlich","easyToUnderstand","thumb-up"],["Mein Problem wurde gelöst","solvedMyProblem","thumb-up"],["Sonstiges","otherUp","thumb-up"]],[["Schwer verständlich","hardToUnderstand","thumb-down"],["Informationen oder Beispielcode falsch","incorrectInformationOrSampleCode","thumb-down"],["Benötigte Informationen/Beispiele nicht gefunden","missingTheInformationSamplesINeed","thumb-down"],["Problem mit der Übersetzung","translationIssue","thumb-down"],["Sonstiges","otherDown","thumb-down"]],["Zuletzt aktualisiert: 2025-08-18 (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\u003eIt can be deployed as a native service or within an Istio service mesh integrated with Apigee hybrid, offering flexibility in deployment.\u003c/p\u003e\n"],["\u003cp\u003eUsing Apigee Adapter for Envoy reduces API traffic latency by situating API management closer to backend applications, with benefits such as full access to Apigee Analytics.\u003c/p\u003e\n"],["\u003cp\u003eThe adapter communicates asynchronously with the Apigee management plane for various functions like OAuth token generation and quota enforcement, while being able to tolerate temporary communication interruptions.\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 native service. See [Native Envoy example for Apigee and hybrid](/apigee/docs/api-platform/envoy-adapter/v2.0.x/example-apigee).\n- As a service deployed to the Istio service mesh integrated with Apigee hybrid. See [Apigee hybrid example with Kubernetes](/apigee/docs/api-platform/envoy-adapter/v2.0.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\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 on-premises in a private cloud, a full deployment of\nApigee 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\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/v2.0.x/getting-started)"]]