| | |
| | Optional. Customize the task name. The length must be within 256 characters. tip If not set, the system generates a task name by default according to the naming rule, starting with dts-. |
| | Select the link specifications for the synchronization task as needed. Compact, Medium, and Standard are supported. tip The link specification can not be modified after the task is successfully created. For details on the link specifications, refer to Product specifications. |
| Synchronization topology | Select a synchronization topology based on your business needs. Only Unidirectional synchronization is currently supported. |
Source database configuration | Select an existing data source | You can choose whether to use an existing instance as needed: - Use existing instances: Click Select an existing data source, then in the Select data source control panel, choose the target region from the Region drop-down list, and select the target data source. Supports selecting data sources by data source name and ID. For methods to create data sources, refer to Data source management.
- Do not use existing instances: If not using an existing instance, you need to configure the following database instance information.
|
| | |
| | Select Public network MongoDB. tip When synchronizing MongoDB connected over public network instances, add DTS IP segment access permission in the source end whitelist or security group policies in advance. Click View DTS CIDR blocks to view and copy the CIDR block. |
| | Select the region where the target instance is located. |
| | Select the architecture type of the target MongoDB instance as needed, currently supporting Replica set, Sharded cluster, and Single node. |
| Incremental data acquisition method | When selecting Architecture as Sharded cluster, you can set the Incremental data acquisition method Select the incremental data acquisition method as needed. The following options are supported: - ChangeStream: This method provides a way to obtain change events of specific types of modified data from a data set (database, collection, or pipeline). For example, insert, update, or delete events. If this acquisition method is selected, the instance version must be 3.6 or higher.
- Oplog: This acquisition method means directly obtaining the operation log of the MongoDB. For MongoDB sharded clusters, all sharding addresses must be entered after selecting this acquisition method. This method offers better synchronization performance compared to ChangeStream.
|
| When Incremental data acquisition method is set to ChangeStream, configure the parameters of Address, Account verification database, Database account, and Database password. | |
| | Enter the host address and port, or domain name and port, of the target self-managed instance in the format of IP: port or DomainName: port. If multiple addresses exist, separate them with commas (,). Up to 5 addresses are supported. |
| Account verification database | Enter the database name to which the account belongs. |
| | Enter the database account of the target instance. |
| | Enter the password corresponding to the database account of the target instance. |
| When Incremental data acquisition method is set to Oplog, configure the parameters of Mongos information and sharding information. | |
| | - Click Modify mongos information.
- In the Modify mongos information control panel.
- Configure the following parameters:
- Address: Enter the mongos address, for example, IP: port or Domain name: port. If multiple addresses exist, separate them with commas (,). Up to 5 addresses are supported.
- Account verification database: Enter the database name to which the account belongs.
- Database account: Enter the database account of the target instance.
- Database password: Enter the password corresponding to the database account of the target instance.
|
| | - Click Modify sharding information.
- In the Modify sharding information control panel, configure the shard's address, account verification database, account, and password.
- Address: Enter the sharding address, for example, IP: port or Domain: port. If multiple addresses exist, separate them with commas (,). Up to 5 addresses are supported.
- Account verification database: Enter the database name to which the account belongs.
- Account: Enter the target sharding account information.
- Password: Enter the password corresponding to the target sharding account.
- Optional. Click Add a row to add up to 32 sharding information entries to set more sharding details.
|
| | Click Test connection to verify the connection to the instance. If the test connection fails, modify the configuration based on the failure prompt, and then click Test connection again to verify the connection. The details are as follows: - Connection authentication failed. Check the network: When this error prompt appears, confirm network connectivity.
- Connection authentication failed. Check the username and password: When this error prompt appears, verify your username and password.
- Invalid IP address: When this error prompt appears, verify the accuracy of the IP address.
|
Target database configuration | Select an existing data source | You can choose whether to use an existing instance as needed: - Use existing instances: Click Select an existing data source, then in the Select data source control panel, choose the target region from the Region drop-down list, and select the target data source. Supports selecting data sources by data source name and ID. For methods to create data sources, refer to Data source management.
- Do not use existing instances: If not using an existing instance, you need to configure the following database instance information.
|
| | |
| | Select MongoDB connected over express network. |
| | Select the architecture type of the target MongoDB instance as needed. Currently supported options are Replica set and Sharded cluster. |
| | Select the region of the virtual private cloud. |
| | Enter the host address and port of the target self-managed instance in the format of IP:Port. If multiple addresses exist, separate them with commas (,). Up to 5 addresses are supported. tip Currently, only IPv4 addresses are supported for access. IPv6 addresses are not yet supported. |
| Account verification database | Enter the database name to which the account belongs. |
| | Select the target VPC from the drop-down list as follows: - Direct connect: Select any VPC under the CEN when achieving data connectivity through a dedicated line CEN.
- VPN connection: Select the VPC bound to the VPN gateway when achieving data connectivity through VPN.
|
| | Select a subnet within the VPC from the drop-down list. tip When synchronizing a MongoDB instance connected over express network, you need to add subnet CIDR block access permissions in the allowlist or security group policy on the source end in advance. Click View subnet CIDR blocks to view and copy CIDR blocks. |
| | Enter the database account of the target instance. |
| | Enter the password corresponding to the database account of the target instance. |
| | Click Test connection to verify the connection to the instance. If the test connection fails, modify the configuration based on the failure prompt, and then click Test connection again to verify the connection. The details are as follows: - Connection authentication failed. Check the network: When this error prompt appears, confirm network connectivity.
- Connection authentication failed. Check the username and password: When this error prompt appears, verify your username and password.
- Connection authentication failed, unable to create connection normally, contact customer service: When this error prompt appears, submit a ticket to contact technical staff.
- Invalid IP address: When this error prompt appears, verify the accuracy of the IP address.
- The Express network requires the subnet to have * available IPs. The current number of available IPs in the subnet is insufficient, and the task can not be created. Check the subnet resources in the VPC: When this error prompt appears, adjust the number of available IPs in the VPC subnet to ensure enough IPs in the target VPC subnet.
|
| | Optional. Select the affiliated project for the task from the drop-down list. By default, it is under default (default project). You can also click Create new project to create a new project. For more information, refer to Creating a new project. tip - After a task is created successfully, if you need to change its affiliated project, you can move the resource to another project. For more information, refer to Moving resources to a project.
- A project is a virtual concept that includes a set of resources, users, and roles. A project allows for a unified view and management of a set of resources, and controls the permissions of users and roles within the project for those resources.
|
| | (Optional) Click Add tag to add a tag to the instance. Tags can help you categorize cloud resources, control access to them, and allocate bills and costs. A tag is a key-value pair that identifies a cloud resource. You can use tags to categorize resources with the same characteristics from different dimensions, such as purpose or owner, making it easier to filter, aggregate, and manage your cloud resources. For more details about tags, refer to Tag overview. The rules for tag key-value pairs are as follows: - Supports any language, characters, numbers, spaces, or symbols (_.:/=+-@).
- Case-sensitive, and the length is 1 to 128 characters.
- In UTF-8 encoded Unicode format.
- Keys cannot start with any form of volc:, such as Volc: or VOLC:.
- Supports any language, character, digit, space, or symbol (_.:/=+-@).
- Case-sensitive, and the length is 0 to 256 characters.
- In UTF-8 encoded Unicode format.
tip - Support fuzzy search for selecting existing tag keys and tag values.
- A maximum of 20 tags can be associated with a task in a single operation. A maximum of 50 tags can be associated with a single task.
- For a single resource, tag keys must be unique, and each tag key can have only one value.
|
| | Select a billing method: Pay-as-you-go or Subscription. |
| | Select the duration of the subscription as needed. tip When selecting Subscription in Billing method, you can set the purchase time and also check Automatic renewal. The system automatically renews before task expiration. |