When a public IP address is required

Updated at:

Only cross-region data migration tasks in DTS require a public IP address for the data source instance. Learn which endpoint needs the address and how to resolve related errors.

Core rule

Only cross-region data migration tasks require a public IP address for the data source instance. This requirement does not apply to Data Synchronization tasks or tasks within the same region.

When a public IP address is required

  • The task type is Data Migration.

  • The source and destination instances are in different regions. For example, the source instance is in China (Hangzhou) and the destination instance is in China (Beijing).

Which endpoint requires a public IP address

Source access methodAccess Method

Endpoint

Description

Alibaba Cloud Instance (such as RDS, PolarDB, ApsaraDB for MongoDB, or a Self-managed Database on ECS)

Source instance

For cross-region tasks, DTS reads data from the source database over the internet, so the source instance must have a public IP address.

Database Gateway

Destination instance

The source instance connects through Database Gateway, so the destination instance needs a public IP address to receive data.

Cloud Enterprise Network (CEN)

Destination instance

The source instance connects through Cloud Enterprise Network, so the destination instance needs a public IP address to receive data.

Express Connect, VPN Gateway, or Smart Access Gateway

Destination instance

The source instance connects over a private connection, so the destination instance needs a public IP address to receive data.

Error information

If the required public IP address is not enabled, DTS returns the following error:

  • Error code: DTS.Msg.SrcLink.InternetAddressNotFound

  • Error message: A public IP address is required for the source database instance for cross-region data migration tasks. Enable a public IP address for the instance or use a data synchronization task instead.

Solutions

  • Enable a public IP address: Enable a public IP address for the database instance from its management console.

  • Switch to a Data Synchronization task: Data Synchronization tasks do not require a public IP address and are suitable for cross-region scenarios.