Skip to content

Commit 4c5a5fa

Browse files
committed
some opt
1 parent 156c135 commit 4c5a5fa

File tree

2 files changed

+9
-24
lines changed

2 files changed

+9
-24
lines changed

tidb-cloud/serverless-private-link-connection-to-self-hosted-kafka-in-alicloud.md

Lines changed: 7 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,9 @@ For example, the port mapping is as follows:
2626

2727
1. Ensure that you have a Kafka cluster or have the following permissions to set up one.
2828

29-
- Manage EC2 nodes
30-
- Manage VPC
31-
- Manage subnets
32-
- Connect to EC2 nodes to configure Kafka nodes
29+
- Manage ECS nodes
30+
- Manage VPC and vSwitch
31+
- Connect to ECS nodes to configure Kafka nodes
3332

3433
2. Ensure that you have the following authorization to set up a load balancer and endpoint service in your own AWS account.
3534

@@ -64,7 +63,7 @@ If you need to expose an existing cluster, follow the instructions in [Reconfigu
6463
The Kafka VPC requires the following:
6564

6665
- Three private vSwitches for brokers, one for each AZ.
67-
- One public vSwitches in any AZ with a bastion node that can connect to the internet and three private subnets, which makes it easy to set up the Kafka cluster. In a production environment, you might have your own bastion node that can connect to the Kafka VPC.
66+
- One public vSwitches in any AZ with a bastion node that can connect to the internet and three private vSwitches, which makes it easy to set up the Kafka cluster. In a production environment, you might have your own bastion node that can connect to the Kafka VPC.
6867

6968
Take the following steps to create the Kafka VPC.
7069

@@ -87,24 +86,6 @@ Take the following steps to create the Kafka VPC.
8786

8887
3. On the VPC detail page, take note of the VPC ID, for example, `vpc-t4nfx2vcqazc862e9fg06`.
8988

90-
<!-- **1.2. Create the internet NAT gateway in the Kafka VPC**
91-
92-
1. Click **NAT gateway** then click **Internet NAT gateway**.
93-
2. Click **Create Internet NAT gateway** to create an internet NAT gateway in the Kafka VPC you created in the previous step.
94-
95-
- **Instance Name**: `bastion`
96-
- **Network and Zone**: `Kafka VPC` and `bastion` vSwitch
97-
- **Network Type**: `Internet NAT gateway`
98-
- **EIP**: Purchase a new EIP
99-
100-
3. Click **Buy Now** to create the EIP and internet NAT gateway. -->
101-
<!-- 4. Go to the internet NAT gateway detail page, and then click the **SNAT** tab. Click **Create SNAT Entry** to add a SNAT entry.
102-
103-
- **SNAT Entry**: choose `Specify vSwitch`
104-
- **Select vSwitch**: choose `bastion` vSwitch
105-
- **Select EIP**: choose the EIP you created in the previous step
106-
- Click **OK**. -->
107-
10889
#### 2. Set up Kafka brokers
10990

11091
**2.1. Create a bastion node**
@@ -120,7 +101,7 @@ Go to the [ECS Listing page](https://ecs.console.alibabacloud.com/home#/). Creat
120101

121102
**2.2. Create broker nodes**
122103

123-
Go to the [EC2 Listing page](https://ecs.console.alibabacloud.com/home#/). Create three broker nodes in broker subnets, one for each AZ.
104+
Go to the [EC2 Listing page](https://ecs.console.alibabacloud.com/home#/). Create three broker nodes in, one for each AZ.
124105

125106
- Broker 1 in vSwitch `broker-ap-southeast-1a`
126107

@@ -755,3 +736,5 @@ For more information, see [Attach Domains to a Private Link Connection](/tidbclo
755736
756737
1. Go back to your Kafka broker nodes, replace the `unique_name` placeholder in `advertised.listeners` configuration of each broker with the actual unique name you get from the previous step.
757738
2. After you reconfigure all the brokers, restart your Kafka brokers one by one.
739+
740+
Now, you can use this private link connection and 9092 as bootstrap port to connect to your Kafka cluster from TiDB Cloud.

tidb-cloud/serverless-private-link-connection-to-self-hosted-kafka-in-aws.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -793,3 +793,5 @@ ticloud serverless private-link-connection attach-domains -c <cluster-id> --priv
793793
794794
1. Go back to your Kafka broker nodes, replace the `unique_name` placeholder in `advertised.listeners` configuration of each broker with the actual unique name you get from the previous step.
795795
2. After you reconfigure all the brokers, restart your Kafka brokers one by one.
796+
797+
Now, you can use this private link connection and 9092 as bootstrap port to connect to your Kafka cluster from TiDB Cloud.

0 commit comments

Comments
 (0)