Skip to content

Latest commit

 

History

History
93 lines (57 loc) · 5.45 KB

create-tidb-cluster.md

File metadata and controls

93 lines (57 loc) · 5.45 KB
title summary
Create a TiDB Cloud Dedicated Cluster
Learn how to create your TiDB Cloud Dedicated cluster.

Create a TiDB Cloud Dedicated Cluster

This tutorial guides you through signing up and creating a TiDB Cloud Dedicated cluster.

Tip:

To learn how to create a TiDB Cloud Serverless cluster, see Create a TiDB Cloud Serverless Cluster.

Before you begin

If you do not have a TiDB Cloud account, click here to sign up for an account.

  • You can either sign up with email and password so that you can manage your password using TiDB Cloud, or sign up with your Google, GitHub, or Microsoft account.
  • For AWS Marketplace users, you can also sign up through AWS Marketplace. To do that, search for TiDB Cloud in AWS Marketplace, subscribe to TiDB Cloud, and then follow the onscreen instructions to set up your TiDB Cloud account.
  • For Google Cloud Marketplace users, you can also sign up through Google Cloud Marketplace. To do that, search for TiDB Cloud in Google Cloud Marketplace, subscribe to TiDB Cloud, and then follow the onscreen instructions to set up your TiDB Cloud account.

(Optional) Step 1. Use your default project or create a new project

Once you log in to the TiDB Cloud console, you have a default project. When there is only one project in your organization, your cluster will be created in that project. For more information about projects, see Organizations and projects.

If you are an organization owner, you can rename the default project or create a new project for the cluster according to your need as follows:

  1. Log in to the TiDB Cloud console, and then click in the lower-left corner.

  2. Click Organization Settings, and click the Projects tab in the left navigation pane. The Projects tab is displayed.

  3. Do one of the following:

    • To rename the default project, click Rename in the Actions column.
    • To create a project, click Create New Project, enter a name for your project, and then click Confirm.
  4. To return to the cluster page, click the TiDB Cloud logo in the upper-left corner of the window.

Step 2. Create a TiDB Cloud Dedicated cluster

If you are in the Organization Owner or the Project Owner role, you can create a TiDB Cloud Dedicated cluster as follows:

  1. Navigate to the Clusters page of your project.

    Tip:

    If you have multiple projects, you can click in the lower-left corner and switch to another project.

  2. Click Create Cluster.

  3. On the Create Cluster page, select Dedicated, and then configure the cluster information as follows:

    1. Choose a cloud provider and a region.

      Note:

      • If you signed up for TiDB Cloud through AWS Marketplace, the cloud provider is AWS, and you cannot change it in TiDB Cloud.
      • If you signed up for TiDB Cloud through Google Cloud Marketplace, the cloud provider is Google Cloud, and you cannot change it in TiDB Cloud.
    2. Configure the cluster size for TiDB, TiKV, and TiFlash (optional) respectively.

    3. Update the default cluster name and port number if necessary.

    4. If CIDR has not been configured for this region, you need to set the CIDR. If you do not see the Project CIDR field, it means that CIDR has already been configured for this region.

      Note:

      • TiDB Cloud will create a VPC with this CIDR when the first cluster in this region is created. All the subsequent clusters of the same project in this region will use this VPC.
      • When setting the CIDR, avoid any conflicts with the CIDR of the VPC where your application is located. You cannot modify your CIDR once the VPC is created.
  4. Confirm the cluster and billing information on the right side.

  5. If you have not added a payment method, click Add Credit Card in the lower-right corner.

    Note:

    If you signed up TiDB Cloud through AWS Marketplace or Google Cloud Marketplace, you can pay through your AWS account or Google Cloud account directly but cannot add payment methods or download invoices in the TiDB Cloud console.

  6. Click Create.

    Your TiDB Cloud cluster will be created in approximately 20 to 30 minutes.

Step 3. Set the root password

After your cluster is created, take the following steps to set the root password:

  1. In the upper-right corner of your cluster overview page, click ... and select Password Settings.

  2. Set the root password to connect to your cluster, and then click Save.

    You can click Auto-generate Password to generate a random password. The generated password will not show again, so save your password in a secure location.

What's next

After your cluster is created on TiDB Cloud, you can connect to it via the methods provided in Connect to Your TiDB Cloud Dedicated Cluster.