Skip to content

Commit 7e7999b

Browse files
author
github-actions
committed
update MD by dispatch event pingcap/docs release-8.5
1 parent da610f5 commit 7e7999b

File tree

2 files changed

+44
-4
lines changed

2 files changed

+44
-4
lines changed

markdown-pages/en/tidbcloud/master/tidb-cloud/set-up-private-endpoint-connections-on-alibaba-cloud.md

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,8 @@ To connect to your TiDB Cloud Starter or TiDB Cloud Essential cluster via a priv
2222

2323
1. [Choose a TiDB cluster](#step-1-choose-a-tidb-cluster)
2424
2. [Create a private endpoint on Alibaba Cloud](#step-2-create-a-private-endpoint-on-alibaba-cloud)
25-
3. [Connect to your TiDB cluster using the private endpoint](#step-3-connect-to-your-tidb-cluster-using-the-private-endpoint)
25+
3. [Authorize your private endpoint in TiDB Cloud](#step-3-authorize-your-private-endpoint-in-tidb-cloud)
26+
4. [Connect to your TiDB cluster using the private endpoint](#step-4-connect-to-your-tidb-cluster-using-the-private-endpoint)
2627

2728
### Step 1. Choose a TiDB cluster
2829

@@ -50,7 +51,26 @@ To use the Alibaba Cloud Management Console to create a VPC interface endpoint,
5051
8. Click **OK** to create the endpoint.
5152
9. Wait for the endpoint status to become **Active** and the connection status to become **Connected**.
5253

53-
### Step 3: Connect to your TiDB cluster using the private endpoint
54+
### Step 3. Authorize your private endpoint in TiDB Cloud
55+
56+
After creating the interface endpoint on Alibaba Cloud, you must add it to your cluster's allowlist.
57+
58+
1. On the [**Clusters**](https://tidbcloud.com/project/clusters) page, click the name of your target TiDB Cloud Starter or TiDB Cloud Essential cluster to go to its overview page.
59+
2. Click **Settings** > **Networking** in the left navigation pane.
60+
3. Scroll down to the **Private Endpoint** section and then locate the **Authorized Networks** table.
61+
4. Click **Add Rule** to add a firewall rule.
62+
63+
- **Endpoint Service Name**: paste the service name you got from [Step 1](#step-1-choose-a-tidb-cluster).
64+
- **Firewall Rule Name**: enter a name to identify this connection.
65+
- **Your Endpoint ID**: paste your 23-character endpoint ID from the Alibaba Cloud Management Console (starts with `ep-`).
66+
67+
> **Tip:**
68+
>
69+
> To allow all Private Endpoint connections from your cloud region (for testing or open access), enter a single asterisk (`*`) in the **Your Endpoint ID** field.
70+
71+
5. Click **Submit**.
72+
73+
### Step 4. Connect to your TiDB cluster using the private endpoint
5474

5575
After you have created the interface endpoint, go back to the TiDB Cloud console and take the following steps:
5676

markdown-pages/en/tidbcloud/master/tidb-cloud/set-up-private-endpoint-connections-serverless.md

Lines changed: 22 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ To connect to your TiDB Cloud Starter or TiDB Cloud Essential cluster via a priv
4141

4242
1. [Choose a TiDB cluster](#step-1-choose-a-tidb-cluster)
4343
2. [Create an AWS interface endpoint](#step-2-create-an-aws-interface-endpoint)
44-
3. [Connect to your TiDB cluster](#step-3-connect-to-your-tidb-cluster)
44+
3. [Authorize your private endpoint in TiDB Cloud](#step-3-authorize-your-private-endpoint-in-tidb-cloud)
45+
4. [Connect to your TiDB cluster](#step-4-connect-to-your-tidb-cluster)
4546

4647
### Step 1. Choose a TiDB cluster
4748

@@ -102,7 +103,26 @@ aws ec2 create-vpc-endpoint --vpc-id ${your_vpc_id} --region ${region_id} --serv
102103

103104
Then you can connect to the endpoint service with the private DNS name.
104105

105-
### Step 3: Connect to your TiDB cluster
106+
### Step 3. Authorize your private endpoint in TiDB Cloud
107+
108+
After creating the AWS interface endpoint, you must add it to your cluster's allowlist.
109+
110+
1. On the [**Clusters**](https://tidbcloud.com/project/clusters) page, click the name of your target TiDB Cloud Starter or TiDB Cloud Essential cluster to go to its overview page.
111+
2. Click **Settings** > **Networking** in the left navigation pane.
112+
3. Scroll down to the **Private Endpoint** section and then locate the **Authorized Networks** table.
113+
4. Click **Add Rule** to add a firewall rule.
114+
115+
- **Endpoint Service Name**: paste the service name you got from [Step 1](#step-1-choose-a-tidb-cluster).
116+
- **Firewall Rule Name**: enter a name to identify this connection.
117+
- **Your VPC Endpoint ID**: paste your 22-character VPC Endpoint ID from the AWS Management Console (starts with `vpce-`).
118+
119+
> **Tip:**
120+
>
121+
> To allow all Private Endpoint connections from your cloud region (for testing or open access), enter a single asterisk (`*`) in the **Your VPC Endpoint ID** field.
122+
123+
5. Click **Submit**.
124+
125+
### Step 4. Connect to your TiDB cluster
106126

107127
After you have created the interface endpoint, go back to the TiDB Cloud console and take the following steps:
108128

0 commit comments

Comments
 (0)