This repo contains a Google Cloud Deployment manager template to deploy YugabyteDB cluster on GCP. This is an automated deployment that can deploy a multi-zone YugabyteDB cluster to GCP. The deployed YugabyteDB cluster gets hosted on 3 nodes residing in 3 separate public subnets and create a universe among them. This repo is ideal to get you running a YugabyteDB cluster in a few steps.
- First clone this repo.
$ git clone https://github.com/yugabyte/gcp-deployment-manager.git
- Change current directory to cloned git repo directory
- Use gcloud command to create deployment-manager deployment
$ gcloud deployment-manager deployments create <your-deployment-name> --config=yugabyte-deployment.yaml
- Wait for 5-10 minutes after the creation of all resources is complete by the above command.
- Once the deployment creation is complete, you can describe it as shown below.
In the output, you will get the YugabyteDB admin URL, JDBC URL, YSQL, YCQL and YEDIS connection string. You can use the admin URL to access admin portal.
$ gcloud deployment-manager deployments describe <your-deployment-name>