The Apigee Envoy Quickstart Toolkit sets up the Envoy proxies with Apigee adapters.
Apigee protected ASM Envoy Proxies within Kubernetes Engine.
Apigee protected Envoy Proxies in docker containers.
-
Create a Google Cloud Project and connect it to an existing Billing account.
-
(For the Kubernetes environment demo) Setup a GKE cluster. Have the cluster enabled with Anthos Service Mesh. Checkout this gke poc toolkit to standup a GKE cluster via automation with ASM enabled.
-
This toolkit is validated in a Linux environment. Needed libraries : wget, jq.
-
If your GKE cluster is version 1.25+ follow this link for enabling required changes for kubectl authentication
-
The GCP Apigee project should be enabled for service-account key generation.
-
Set your GCP Project ID, Apigee platform environment variables.
export PROJECT_ID=<your-project-id> export CLUSTER_NAME=<gke-cluster-name> export CLUSTER_LOCATION=<gke-cluster-region> export APIGEE_PROJECT_ID=<apigee-project-id> export APIGEE_X_ORG=<apigee-org> export APIGEE_X_ENV=<apigee-env> export APIGEE_X_HOSTNAME=<env-group-virtualhost-prefixed with http/https> export APIGEE_REMOTE_SRVC_CLI_VERSION=<version for Apigee Remote Service cli for Envoy> export APIGEE_REMOTE_SRVC_ENVOY_VERSION=<version for Apigee Remote Service for Envoy>
Latest cli version can be found here
Latest apigee-envoy version can be found here -
Set up local authentication to your project.
gcloud config set project $PROJECT_ID gcloud auth application-default login --no-launch-browser export TOKEN=$(gcloud auth print-access-token);echo $TOKEN
-
Download the Apigee Envoy PoC Toolkit binary.
mkdir apigee-envoy-toolkit && cd "$_" export ENVOY_HOME=$(pwd) wget -O apigee-envoy-quickstart-main.zip https://github.com/ganadurai/apigee-envoy-quickstart/archive/refs/heads/main.zip unzip apigee-envoy-quickstart-main.zip
-
Run to install the quickstart toolkit.
cd ${ENVOY_HOME}/apigee-envoy-quickstart-main ./aekitctl.sh --type <type> --action install
type (valid values):
istio-apigee-envoy
standalone-apigee-envoy -
On successful run, it displays the commands (kubeclt run, curl) to validate the traffic intiated to the Envoy endpoints being protected by Apigee Adapter service.
- Run to cleanup the PoC setup from the GKE and Apigee platform
type (valid values):
cd ${ENVOY_HOME}/apigee-envoy-quickstart-main ./aekitctl.sh --type <type> --action delete
istio-apigee-envoy
standalone-apigee-envoy
Apigee protected Envoy Proxies in docker containers for OPDK platform.
-
Set environment variables for OPDK.
export MGMT_HOST=<Mgmt host of the opdk platform, including the http/https and port number> export APIGEE_USER=<Mgmt host credential, username> export APIGEE_PASS=<Mgmt host credential, password> export APIGEE_ORG=<apigee-org> export APIGEE_ENV=<apigee-env> export APIGEE_X_HOSTNAME=<env-group-virtualhost-prefixed with http/https> export APIGEE_REMOTE_SRVC_CLI_VERSION=<version for Apigee Remote Service cli for Envoy> export APIGEE_REMOTE_SRVC_ENVOY_VERSION=<version for Apigee Remote Service for Envoy>
-
Set environment variables for EDGE.
export MGMT_HOST=<Mgmt host of the opdk platform, including the http/https and port number> export APIGEE_USER=<Mgmt host credential, username> export APIGEE_PASS=<Mgmt host credential, password> export APIGEE_ORG=<apigee-org> export APIGEE_ENV=<apigee-env> export APIGEE_REMOTE_SRVC_CLI_VERSION=<version for Apigee Remote Service cli for Envoy> export APIGEE_REMOTE_SRVC_ENVOY_VERSION=<version for Apigee Remote Service for Envoy>
-
Download the Apigee Envoy PoC Toolkit binary.
mkdir apigee-envoy-toolkit && cd "$_" export ENVOY_HOME=$(pwd) wget -O apigee-envoy-quickstart-main.zip https://github.com/ganadurai/apigee-envoy-quickstart/archive/refs/heads/main.zip unzip apigee-envoy-quickstart-main.zip
-
Run to install the quickstart toolkit for opdk.
cd ${ENVOY_HOME}/apigee-envoy-quickstart-main ./aekitctl.sh --type standalone-apigee-envoy --action install --platform opdk
-
Run to install the quickstart toolkit for edge.
cd ${ENVOY_HOME}/apigee-envoy-quickstart-main ./aekitctl.sh --type standalone-apigee-envoy --action install --platform edge
-
On successful run, it displays the commands (kubeclt run, curl) to validate the traffic intiated to the Envoy endpoints being protected by Apigee Adapter service.
-
Run to cleanup the PoC setup from OPDK Apigee platform
cd ${ENVOY_HOME}/apigee-envoy-quickstart-main ./aekitctl.sh --type standalone-apigee-envoy --action delete --platform opdk
-
Run to cleanup the PoC setup from Edge Apigee platform
cd ${ENVOY_HOME}/apigee-envoy-quickstart-main ./aekitctl.sh --type standalone-apigee-envoy --action delete --platform edge