Create a PolarDB-X 2.0 data source

Updated at: 2025-02-26 01:36

You must configure data sources before you create a data migration or synchronization task. This topic describes how to create a PolarDB-X 2.0 data source by using the data transmission service.

PolarDB-X is a cloud-native distributed database independently developed by Alibaba Group. It provides cloud database services with high throughput, high storage capacity, low latency, high scalability, and ultrahigh availability. For more information, see What is PolarDB for Xscale?

Security risks

You can choose to automatically or manually add public CIDR blocks for the data transmission service, but security risks exist. Your use of the data transmission service indicates that you have understood and acknowledged the possible security risks. You must take basic security protection measures, such as setting a complex password for your account, limiting the open port numbers of CIDR blocks, enabling authentication for communication among internal APIs, and regularly check for and limit CIDR blocks that are not required.

The data transmission service will add or delete the CIDR blocks automatically added to a whitelist or security group based on business needs and security risks. Do not use the CIDR blocks in a whitelist or security group for business needs other than the data transmission service. If you use such CIDR blocks for other business needs, the issues thus incurred are beyond the guarantee scope of the SLA of the data transmission service. For more information about how to add an IP address to a whitelist or security group for the data transmission service, see Add a whitelist.

Prerequisites

You have created a PolarDB-X 2.0 instance. For more information, see Create an instance.

Procedure

  1. Log on to the ApsaraDB for OceanBase console.

  2. In the left-side navigation pane, choose Data Transmission > Data Source Management.

  3. In the Data Sources section, click New Data Source in the upper-right corner.

    image.png

  4. In the New Data Source dialog box that appears, select PolarDB-X 2.0 for Data Source Type and configure the following parameters.

    image.png

    Parameter

    Description

    Parameter

    Description

    Instance Type

    The type of the instance. At present, only Alibaba Cloud PolarDB-X 2.0 instance is supported.

    Data Source Identifier

    The data source identifier, which must contain less than 32 characters in length and cannot contain spaces. Supported characters are letters, digits, hyphens (-), commas (,), and underscores (_).

    PolarDB-X 2.0 Instance ID

    Select the ID of the target PolarDB-X 2.0 instance from the drop-down list.

    Username

    The username of the PolarDB-X 2.0 database user created for data migration.

    We recommend that you create a separate database user for data migration or synchronization. For more information, see Manage database accounts for a cluster.

    Password

    The password of the database user.

    Remarks (Optional)

    Additional information about the data source.

  5. Click Test Connection to verify the network connection between the data transmission service and the data source, as well as the validity of the username and password.

  6. After the test is passed, click OK.

  • On this page (0, O)
  • Security risks
  • Prerequisites
  • Procedure
Feedback