All Products
Search
Document Center

ApsaraDB for ClickHouse:Obtain the CIDR block of the VPC where a cluster is deployed

Last Updated:Aug 30, 2023

When you import data from another database to ApsaraDB for ClickHouse, you must add the Classless Inter-Domain Routing (CIDR) block of the virtual private cloud (VPC) where the destination ApsaraDB for ClickHouse cluster is deployed to the whitelist of the source database. This topic describes how to obtain the CIDR block of the VPC where an ApsaraDB for ClickHouse cluster is deployed.

Procedure

  1. Copy the ID of the VPC where the destination ApsaraDB for ClickHouse cluster is deployed.
    1. Log on to the ApsaraDB for ClickHouse console.
    2. In the top navigation bar, select the region where the ApsaraDB for ClickHouse cluster is deployed.
    3. In the list of clusters, click the ID of the cluster whose VPC ID you want to obtain. The Cluster Information page appears.
    4. In the Network Information section, copy the VPC ID.
  2. In the VPC console, obtain the CIDR block of the VPC where the ApsaraDB for ClickHouse cluster is deployed.
    1. Log on to the VPC console.
    2. In the top navigation bar, select the region to which the VPC belongs.
    3. Select Instance ID from the drop-down list. In the search box, paste the VPC ID copied in the preceding step. Click the search icon.
    4. In the list, find the required CIDR block.
      VPC获取对应网段

What to do next

Add the CIDR block of the VPC where the ApsaraDB for ClickHouse cluster is deployed to the whitelist of the source database.