Skip to content

Anthos On Prem Apigee Hybrid 1.3 AHR Manual

Yuriy Lesyuk edited this page Sep 6, 2020 · 9 revisions

TL;DR:

WIP

not fit for human consumption yet


Install Apigee Hybrid 1.3 on Anthos GKE On-Prem 1.3

After you have prepared your Anthos on-prem environment, you can install Apigee hybrid using AHR. in a nutshell, AHR is a wrapper on 'manual' gcloud, kubectl, and curl commands for Apigee Hybrid 1.3 On-Prem Installation documentation. You can also look at installation of Apigee Hybrid 1.2 to see and compare documented steps with AHR approach.

Task 1. Prepare working environment

We are going to define environment variables that will help us manage the installation process and reuse copy-and-paste commands with minimal editing.

  1. Log into your netservicesvm.
https://netservices-XXX.YYY.ZZZ.<domain>.net/
  1. For your GCP project, verify that you still have your GCP project name configured correctly. If not, configure it using gcloud config set project <project-id> command.
$ gcloud config get-value project

apigee-hybrid-anthos-onprem

?. While in the ~ directory, clone AHR project

cd ~
git clone https://github.com/yuriylesyuk/ahr.git

?. Configure AHR_HOME variable and ddd ahr-*-ctl scripts directory to your session PATH.

export AHR_HOME=~/ahr
export PATH=$AHR_HOME/bin:$PATH

?. jq is a prerequisite for some steps. Let's install it (yum if you're using CentOS as your working computer or apt if Debian)

sudo apt install -y jq

Task ?. Configure Environment Variable that control Apigee Hybrid installation process

?. Configure HYBRID_HOME directory location and HYBRID_ENV environment variables configuration file

export HYBRID_HOME=~/apigee-hybrid-install
export HYBRID_ENV=$HYBRID_HOME/hybrid-130.env

?. Create $HYBRID_HOME directory and clone single zone small hybrid 1.3 template

mkdir -p $HYBRID_HOME
cp $AHR_HOME/examples/hybrid-sz-s-1.3.sh $HYBRID_ENV

?. Populate $PROJECT variable and verify it

export PROJECT=$(gcloud config get-value project)
echo $PROJECT
Clone this wiki locally