Before you create a data migration or synchronization project, you must create the data sources. This topic describes how to create a DataHub data source by using the data transmission service.
Procedure
Log on to the ApsaraDB for OceanBase console.
In the left-side navigation pane, choose Data Transmission > Data Source Management.
On the Data Sources page, click New Data Source in the upper-right corner.
In the Create Data Source dialog box, select DataHub for Data Source Type.
Configure the following parameters. Select an instance type from the Instance Type drop-down list. The corresponding configuration section automatically appears.
Parameter
Description
Instance Type
The instance type. Valid values: Alibaba Cloud DataHub Instance, Self-managed DataHub Instance in VPC, and Public Network DataHub Instance.
Data Source Identifier
The data source identifier. We recommend that you set it to a combination of digits and letters. It must not contain any spaces and cannot exceed 32 characters in length.
Cross Alibaba Cloud Account
The data transmission service allows you to configure a data migration or synchronization project between instances under different Alibaba Cloud accounts to migrate or synchronize data across Alibaba Cloud accounts.
You can choose whether to select this option based on business needs. If you select this option, enter the Alibaba Cloud account of the destination instance. If you do not have permissions on this Alibaba Cloud account, request for authorization first. For more information, see Apply for cross-account authorization.
ImportantThis parameter is not displayed when Public Network DataHub Instance is selected as the instance type.
VPC
Select the desired virtual private cloud (VPC) from the VPC drop-down list.
ImportantThis parameter is displayed only when you set the instance type to Self-managed DataHub Instance in VPC.
DataHub Endpoint
The information about the DataHub instance.
Project
The name of the DataHub instance.
AccessKey
The AccessKey ID that you created in the Resource Access Management (RAM) console for identity authentication.
SecretKey
The AccessKey secret that you created in the RAM console for identity authentication.
Remarks
Optional. Additional information about the data source.
Click Test Connection to test the network connection between the data transmission system and the source database.
After the test is passed, click OK.