Questo argomento spiega come scaricare e installare l'adattatore Apigee per Envoy.
Panoramica
Nei passaggi successivi, scaricherai e configurerai due applicazioni sul tuo sistema: l'interfaccia a riga di comando del servizio remoto Apigee e il
servizio remoto Apigee per Envoy.
Scaricare e installare
Crea una directory di base sul tuo sistema in cui installare l'interfaccia a riga di comando del servizio remoto e
il servizio remoto. Ad esempio:
Per i passaggi rimanenti, assicurati di trovarti nella directory $ENVOY_HOME:
cd $ENVOY_HOME
Scarica l'
ultima release della CLI del servizio remoto Apigee
in $ENVOY_HOME. Assicurati di scaricare il pacchetto corretto per il tuo sistema operativo.
Scarica l'
ultima release di Apigee Remote Service per Envoy
in $ENVOY_HOME.
Crea directory per contenere i contenuti del pacchetto estratti all'interno di $ENVOY_HOME:
Estrai i contenuti del file tar nelle nuove directory:
tar -xf apigee-remote-service-cli_version_platform.tar.gz -C apigee-remote-service-clitar -xf apigee-remote-service-envoy_version_platform.tar.gz -C apigee-remote-service-envoy
Elimina i file tar.
Una volta completati questi passaggi, $ENVOY_HOME contiene due directory:
ls -1 .
apigee-remote-service-cli
apigee-remote-service-envoy
Crea le seguenti variabili di ambiente per le directory apigee-remote-service-cli
e apigee-remote-service-envoy. Utilizzerai queste variabili di ambiente
in tutta la documentazione:
Ora puoi configurare e utilizzare
l'adattatore Apigee per Envoy per eseguire il proxy delle chiamate API con Apigee API Management. I seguenti esempi
mostrano come utilizzare l'adattatore con Apigee hybrid:
Esegui il deployment del servizio remoto in un mesh di servizi Istio. Il servizio remoto fornisce
gli endpoint ai proxy sidecar Istio installati sui servizi di destinazione.
Questa configurazione ti consente di utilizzare Apigee Adapter for Envoy con un'installazione di Apigee hybrid.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Difficile da capire","hardToUnderstand","thumb-down"],["Informazioni o codice di esempio errati","incorrectInformationOrSampleCode","thumb-down"],["Mancano le informazioni o gli esempi di cui ho bisogno","missingTheInformationSamplesINeed","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-09-05 UTC."],[[["\u003cp\u003eThis guide provides instructions for downloading and installing the Apigee Remote Service CLI and the Apigee Remote Service for Envoy.\u003c/p\u003e\n"],["\u003cp\u003eThe process involves creating a base directory, downloading the latest releases of both applications from their respective GitHub repositories, and extracting their contents into designated directories.\u003c/p\u003e\n"],["\u003cp\u003eAfter installation, you will have two main directories, \u003ccode\u003eapigee-remote-service-cli\u003c/code\u003e and \u003ccode\u003eapigee-remote-service-envoy\u003c/code\u003e, located in the \u003ccode\u003e$ENVOY_HOME\u003c/code\u003e directory.\u003c/p\u003e\n"],["\u003cp\u003eEnvironment variables \u003ccode\u003eCLI_HOME\u003c/code\u003e and \u003ccode\u003eREMOTE_SERVICE_HOME\u003c/code\u003e are created to reference the installed directories for the CLI and Remote Service, respectively.\u003c/p\u003e\n"],["\u003cp\u003eOnce installed, you can proceed to set up and use the Apigee Adapter for Envoy to proxy API calls with Apigee API management, including an example with Apigee hybrid using Istio.\u003c/p\u003e\n"]]],[],null,["# Getting started\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\n\nThis topic explains how to download and install Apigee Adapter for Envoy.\n\nOverview\n--------\n\n\nIn the following steps, you will download and set up two applications on your system:\nthe **Apigee Remote Service CLI** and the\n**Apigee Remote Service for Envoy**.\n\nDownload and install\n--------------------\n\n1. Create a base directory on your system in which to install the Remote Service CLI and the Remote Service. For example: \n\n mkdir ~/envoy-adapter\n cd ~/envoy-adapter\n export ENVOY_HOME=$PWD\n\n2. For the remaining steps, be sure you are in the `$ENVOY_HOME` directory: \n\n ```\n cd $ENVOY_HOME\n ```\n3. Download the [latest release](https://github.com/apigee/apigee-remote-service-cli/releases) of the **Apigee Remote Service CLI** into `$ENVOY_HOME`. Be sure to grab the correct package for your operating system.\n4. Download the [latest release](https://github.com/apigee/apigee-remote-service-envoy/releases) of the **Apigee Remote Service for Envoy** into `$ENVOY_HOME`.\n5. Create directories to hold the extracted package contents inside `$ENVOY_HOME`: \n\n mkdir apigee-remote-service-cli\n mkdir apigee-remote-service-envoy\n\n6. Extract the tar file contents into the new directories: \n\n tar -xf apigee-remote-service-cli_\u003cvar translate=\"no\"\u003eversion_platform\u003c/var\u003e.tar.gz -C apigee-remote-service-cli\n tar -xf apigee-remote-service-envoy_\u003cvar translate=\"no\"\u003eversion_platform\u003c/var\u003e.tar.gz -C apigee-remote-service-envoy\n\n7. Delete the tar files.\n8. When you complete these steps, `$ENVOY_HOME` contains two directories: \n\n ```\n ls -1 .\n apigee-remote-service-cli\n apigee-remote-service-envoy\n ```\n9. Create the following environment variables for the `apigee-remote-service-cli` and `apigee-remote-service-envoy` directories. You will use these environment variables throughout the documentation: \n\n export CLI_HOME=$PWD/apigee-remote-service-cli\n export REMOTE_SERVICE_HOME=$PWD/apigee-remote-service-envoy\n\nNext steps\n----------\n\n\nYou are now ready to set up and use the\nApigee Adapter for Envoy to proxy API calls with Apigee API management. The following examples\nshow you how to use the adapter with Apigee hybrid:"]]