Deploy Disto
Introduction
Disto runs in its own Kubernetes cluster in your GCP environment. You can run Disto’s deploy script to create a Kubernetes cluster and deploy Disto on it.
Prerequisites
You will need to provide the values for the following arguments:
-
region
: the GCP region you want to deploy Disto to. Example: us-central1 -
firestore-region
: the GCP region of the Disto Firestore database. Disto stores project and issue information in Firestore. Supported locations can be found here -
newrelic-account-id
: (optional) your New Relic account ID, if you want to link New Relic to Disto.
If you do not know your New Relic acccount ID, you can follow the instructions here to obtain it.
firebase-credentials-path
: path to file with your Firebase credentials.
Follow the instructions here to create a Firebase project and get the credentials file.
Deployment
After you have obtained these values, follow the steps below.
-
Ensure you have the following requirements:
- Shell environment with
gcloud
,git
, andkubectl
.
- Shell environment with
-
Clone the disto-deploy repository.
-
Run the gcp-deploy script
After the script is done, it will output the following:
You can copy the URL into your browser and start using Disto.