Skip to content

Latest commit

 

History

History

infra

Infra Readme

One time setup

This section includes one time setup instructions for the GCP projects

Step 1: Set environment variables

For Staging:

HOST_VPC_PROJECT=web-compass-staging
INTERNAL_PROJECT=webstatus-dev-internal-staging
PUBLIC_PROJECT=webstatus-dev-public-staging

For Prod:

#TODO
gcloud --project=${INTERNAL_PROJECT} services enable compute.googleapis.com
gcloud --project=${PUBLIC_PROJECT} services enable compute.googleapis.com

In the UI, follow the instructions to setup a shared vpc in ${HOST_VPC_PROJECT} and attach ${INTERNAL_PROJECT} and ${PUBLIC_PROJECT}.