Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -41,32 +41,37 @@ To use the Alibaba Cloud Management Console to create a VPC interface endpoint,
- **Endpoint Service**: select **Other Endpoint Services**.
5. In the **Endpoint Service Name** field, paste the service name you copied from TiDB Cloud.
6. Click **Verify**. A green check mark indicates that the service is valid.
7. Choose the **VPC**, **Security Group**, and **Zone** to associate with the endpoint.
7. Configure the network settings:
- **VPC**: select the VPC where your application is deployed.
- **Zone and vSwitch**: select at least two different zones from the **Availability Zone ID** values provided by TiDB Cloud in Step 1. For each selected zone, choose a vSwitch in that zone and in the selected VPC.
- **Security Group**: select a security group that allows inbound TCP traffic from your application to the TiDB connection port, which is `4000` by default.
8. Click **OK** to create the endpoint.
9. Wait until the endpoint status is **Active** and the connection status is **Connected**.
9. Wait until the endpoint status becomes **Active**. The connection status might remain **Disconnected** until you complete Step 3. Proceed to Step 3 without waiting for **Connected**.

After creating the interface endpoint, navigate to the **EndPoints** page and select the newly created endpoint.

- In the **Basic Information** section, copy the **Endpoint ID**. You will use this value later as the *Endpoint Resource ID*.

- In the **Domain name of Endpoint Service** section, copy the **Default Domain Name**. You will use this value later as the *Domain Name*.

![AliCloud private endpoint Information](/media/tidb-cloud/private-endpoint/alicloud-private-endpoint-info.png)
![Alibaba Cloud endpoint details showing the Endpoint ID and Default Domain Name](/media/tidb-cloud/private-endpoint/alicloud-private-endpoint-details.jpg)

### Step 3. Accept the endpoint and create the endpoint connection

1. Return to the **Create Alibaba Cloud Private Endpoint Connection** dialog in the TiDB Cloud console.

2. Paste the *Endpoint Resource ID* and *Domain Name* that you copied earlier into the corresponding fields.
2. Enter the **Endpoint ID** from Alibaba Cloud in **Private Endpoint Resource ID**, and the **Default Domain Name** in **Private Endpoint Default Domain Name**.

3. Click **Create Private Endpoint Connection** to accept the connection from your private endpoint.
3. Click **Create** to submit the private endpoint connection request.

### Step 4. Connect to your {{{ .premium }}} instance

After you have accepted the endpoint connection, you are redirected back to the connection dialog.

1. Wait for the private endpoint connection status to become **Active** (approximately 5 minutes). To check the status, navigate to the **Networking** page by clicking **Settings** > **Networking** in the left navigation pane.

Return to the Alibaba Cloud console, refresh the endpoint details page, and verify that **Connection Status** becomes **Connected**.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor · Functional Correctness · Quick win

Return to the TiDB Cloud connection dialog.

After this check, the reader is in the Alibaba Cloud console, but the next step uses Connect With in TiDB Cloud. Add an instruction to return to TiDB Cloud and reopen the instance's connection dialog.


2. In the **Connect With** drop-down list, select your preferred connection method. The corresponding connection string is displayed at the bottom of the dialog.

3. Connect to your instance using the connection string.
Expand All @@ -85,4 +90,4 @@ The possible statuses of a private endpoint are explained as follows:
The possible statuses of a private endpoint service are explained as follows:

- **Creating**: the endpoint service is being created, which takes 3 to 5 minutes.
- **Active**: the endpoint service is created, no matter whether the private endpoint is created or not.
- **Active**: the endpoint service is created, no matter whether the private endpoint is created or not.
Loading