This section is optional and for informational only. All settings are already updated for this workshop for you. But you can sill login to DB server and review below listed the configurations.
To ensure minimal downtime for the database migration, you’re going to use continuous replication of changes (also known as Change Data Capture (CDC)) from the source database to the target database. For more information about CDC and native CDC support of AWS DMS see this article.
For AWS DMS continuous replication from PostgreSQL database, you need to update the following parameters in the postgresql.conf configuration file.
Set wal_level = logical
Set max_replication_slots to a value greater than 1.
Set max_wal_senders to a value greater than 1.
Set wal_sender_timeout =0
You can review the PostgreSQL configuration settings with below command after you’ve logged into DB Server.
|Public DNS Name||JavaDBServerDNSName|
|SSHKey||SSHKeyURL (You need to create .pem file from this key)|
For SSH key, you need to create a .pem file via copying the key from the URL to your text editor and save it as .pem file.
Connect to the Source Java DB Server where your Source Database runs.
check this article for more detail on how to connect to your Linux instance.
Run the below command to go through the postgresql configuration file.