You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
4.[Connect to your TiDB cluster](#step-4-connect-to-your-tidb-cluster)
52
52
@@ -75,11 +75,11 @@ Perform the following steps to go to the **Google Cloud Private Endpoint** page:
75
75
1. Log in to the [TiDB Cloud console](https://tidbcloud.com).
76
76
2. Click <MDSvgIconname="icon-left-projects" /> in the lower-left corner, switch to the target project if you have multiple projects, and then click **Project Settings**.
77
77
3. On the **Project Settings** page of your project, click **Network Access** in the left navigation pane, and click the **Private Endpoint** tab.
78
-
4. Click **Create Private Endpoint**in the upper-right corner, and then select **Google Cloud Private Endpoint**.
78
+
4. Click **Google Cloud**to view the Google Cloud private endpoints, and then select **Create Google Cloud Private Endpoint Connection**.
79
79
80
80
### Step 1. Choose a TiDB cluster
81
81
82
-
Click the drop-down list and choose an available TiDB Dedicated cluster.
82
+
Select an TiDB Dedicated cluster from the drop-down list for which you wish to establish a private endpoint connection.
83
83
84
84
You can select a cluster with any of the following statuses:
85
85
@@ -88,7 +88,7 @@ You can select a cluster with any of the following statuses:
88
88
-**Modifying**
89
89
-**Importing**
90
90
91
-
### Step 2. Provide the information for creating an endpoint
91
+
### Step 2. Create a Google Cloud endpoint
92
92
93
93
1. Provide the following information to generate the command for private endpoint creation:
94
94
-**Google Cloud Project ID**: the Project ID associated with your Google Cloud account. You can find the ID on the [Google Cloud **Dashboard** page](https://console.cloud.google.com/home/dashboard).
@@ -97,7 +97,7 @@ You can select a cluster with any of the following statuses:
97
97
-**Private Service Connect Endpoint Name**: enter a unique name for the private endpoint that will be created.
98
98
2. After entering the information, click **Generate Command**.
99
99
3. Copy the command.
100
-
4. Go to [Google Cloud Shell](https://console.cloud.google.com/home/dashboard) to execute the command.
100
+
4. Go to [Google Cloud Shell](https://console.cloud.google.com/home/dashboard) to execute the command to create an endpoint.
6.[Connect to your TiDB cluster](#step-6-connect-to-your-tidb-cluster)
44
+
2.[Create an AWS interface endpoint](#step-2-create-an-aws-interface-endpoint)
45
+
3.[Fill in your endpoint ID](#step-3-fill-in-your-endpoint-id)
46
+
4.[Enable private DNS and create connection](#step-4-enable-private-dns-and-create-connection)
47
+
5.[Connect to your TiDB cluster](#step-5-connect-to-your-tidb-cluster)
49
48
50
49
If you have multiple clusters, you need to repeat these steps for each cluster that you want to connect to using AWS PrivateLink.
51
50
@@ -54,34 +53,28 @@ If you have multiple clusters, you need to repeat these steps for each cluster t
54
53
1. Log in to the [TiDB Cloud console](https://tidbcloud.com).
55
54
2. Click <MDSvgIconname="icon-left-projects" /> in the lower-left corner, switch to the target project if you have multiple projects, and then click **Project Settings**.
56
55
3. On the **Project Settings** page of your project, click **Network Access** in the left navigation pane, and click the **Private Endpoint** tab.
57
-
4. Click **Create Private Endpoint** in the upper-right corner, and then select **AWS Private Endpoint**.
56
+
4. Click **Create Private Endpoint Connection** in the upper-right corner.
58
57
59
58
### Step 1. Choose a TiDB cluster
60
59
61
-
1. Click the drop-down list and choose an available TiDB Dedicated cluster.
62
-
2. Click **Next**.
60
+
1. Select an available TiDB Dedicated cluster from the drop-down list for which you wish to establish a private endpoint connection.
63
61
64
-
### Step 2. Check the service endpoint region
65
-
66
-
Your service endpoint region is selected by default. Have a quick check and click **Next**.
67
-
68
-
> **Note:**
69
-
>
70
-
> The default region is where your cluster is located. Do not change it. Cross-region private endpoint is currently not supported.
71
-
72
-
### Step 3. Create an AWS interface endpoint
62
+
### Step 2. Create an AWS interface endpoint
73
63
74
64
> **Note:**
75
65
>
76
66
> For each TiDB Dedicated cluster created after March 28, 2023, the corresponding endpoint service is automatically created 3 to 4 minutes after the cluster creation.
77
67
78
-
If you see the `Endpoint Service Ready` message, take note of your endpoint service name from the command in the lower area of the console for later use. Otherwise, wait 3 to 4 minutes to let TiDB Cloud create an endpoint service for your cluster.
68
+
If you see the `TiDB Private Link Service is ready` message, the corresponding endpoint service is ready and you cancollect information needed for creating the endpoint.
69
+
70
+
1. Fill in the **VPC ID** and **Subnet IDs** fields on the private endpoint creation page. You can get the IDs from your AWS Management Console.
71
+
2. Click **Generate Command** to get the following endpoint creation command.
4. Enter the service name that you found in the TiDB Cloud console.
92
+
4. Enter the service name that you found in the generated command from "--service-name ${your_endpoint_service_name}" part.
100
93
5. Click **Verify service**.
101
94
6. Select your VPC in the drop-down list.
102
95
7. Select the availability zones where your TiDB cluster is located in the **Subnets** area.
@@ -118,27 +111,26 @@ To use the AWS Management Console to create a VPC interface endpoint, perform th
118
111
119
112
To use the AWS CLI to create a VPC interface endpoint, perform the following steps:
120
113
121
-
1.Fill in the **VPC ID** and **Subnet IDs** fields on the private endpoint creation page. You can get the IDs from your AWS Management Console.
122
-
2.Copy the command in the lower area of the page and run it in your terminal. Then click **Next**.
114
+
1.Copy the generated command in the lower area of the page and run it in your terminal.
115
+
2.Record the VPC endpoint ID you just created.
123
116
124
117
> **Tip:**
125
118
>
126
119
> - Before running the command, you need to have AWS CLI installed and configured. See [AWS CLI configuration basics](https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-quickstart.html) for details.
127
120
>
128
121
> - If your service is spanning across more than three availability zones (AZs), you will get an error message indicating that the VPC endpoint service does not support the AZ of the subnet. This issue occurs when there is an extra AZ in your selected region in addition to the AZs where your TiDB cluster is located. In this case, you can contact [PingCAP Technical Support](https://docs.pingcap.com/tidbcloud/tidb-cloud-support).
129
-
>
130
-
> - You cannot copy the command until TiDB Cloud finishes creating an endpoint service in the background.
122
+
131
123
132
124
</div>
133
125
</SimpleTab>
134
126
135
-
### Step 4. Accept the endpoint connection
127
+
### Step 3. Fill in your endpoint ID
136
128
137
129
1. Go back to the TiDB Cloud console.
138
-
2. Fill in the box with your VPC endpoint ID on the **Create Private Endpoint** page.
139
-
3. Click **Next**.
130
+
2. Fill in the box with your VPC endpoint ID on the **Create AWS Private Endpoint Connection** page.
131
+
140
132
141
-
### Step 5. Enable private DNS
133
+
### Step 4. Enable private DNS and create connection
142
134
143
135
Enable private DNS in AWS. You can either use the AWS Management Console or the AWS CLI.
0 commit comments