This repository contains the templates for deploying Nebula Graph on GCP using Google Cloud Deployment Manager.
At first, you will need a GCP account, then you can open in google cloud console here.
Now, you need a copy of this repo. Run the commands:
git clone https://github.com/kqzh/nebula-dm.git
cd nebula-dm
Set which project you want to deploy in.
gcloud config set project <your-gcp-project>
This repo contains two config plans. You can deploy with any of them using command below.
gcloud deployment-manager deployments create <your-deployment-name> --config parameters.standard.yaml
The command then passes the cluster configuration to GCP and builds your NebulaGraph Cluster automatically.
To delete your deployment you can either run the command below or use the GUI in the Google Cloud Console.
gcloud deployment-manager deployments delete <your-deployment-name>