This two-part blog series will show you how to get a simple TiDB cluster up and running on Google Cloud Platform (GCP). The goal is to let you quickly

How to Deploy TiDB on Google Cloud Platform—Part 1 | PingCAP

submited by
Style Pass
2021-08-18 07:00:09

This two-part blog series will show you how to get a simple TiDB cluster up and running on Google Cloud Platform (GCP). The goal is to let you quickly set up TiDB and learn about its benefits. The entire process should take you about 30 minutes. In this first part, we'll prepare the GCP environment. In the second part, we'll set up and run TiDB on GCP.

The following diagram shows prerequisite operations. Each row indicates where you perform the corresponding task: either on your Local computer (or laptop) or on a GCP instance, which is a virtual machine instance that we will create in GCP.

You should have Google gcloud installed and configured on your local computer. The gcloud configuration should look like this:

In the following example, I have the compute configuration set for region and zone. Setting this information is optional. In this tutorial, when we use gcloud commands we will specify where the resource is located.

If you get an error and cannot create an instance, most likely you do not have valid permissions with the GCP account that gcloud is associated with.

Leave a Comment