Network Communication Mode
If you want to connect an on-premises database to eSurfing Cloud, both the on-premises database instance and the DTS instance must be separately configured with a public IP address to enable connectivity over the Internet.
Preparation
Purchase a public IP address.
You can directly use an available public IP address in eSurfing Cloud. If no public IP address is available, you need to purchase a public IP address to enable Internet access for the DTS instance.Allow access to on-premises databases over the Internet.
You need to allow access to your on-premises database over the Internet. In addition, your on-premises database must be configured with a public IP address or domain name.Configure the IP address trustlist for the database.
You need to allow the public IP address you configured for the DTS data migration instance to remotely access the database. The method to configure an IP address trustlist for a database may vary depending on the database type. For more information, see the relevant official database documentation.
Preparing for Your Source Database
Log in to the server on which your self-managed PostgreSQL database is hosted.
Set the value of the wal_level parameter in the postgresql.conf file to logical.
Add the IP address of your DTS instance to the pg_hba.conf file of the self-managed PostgreSQL database. If you specify 0.0.0.0/0 as the trusted IP address as showing in the following figure, skip this step.
If the task includes incremental data migration, you must install decoderbufs, a PostgreSQL logical decoder output plugin. It is recommended that you install a decoderbufs version later than v2.1.1.Final. An earlier version may lead to core dump errors on the PostgreSQL database. For information about how to install decoderbufs, see Official Website.