Aurora (PostgresSQL compatible) target

  1. Open pgAdmin from within the EC2 server task bar at the bottom of the screen (look for elephant), and click on that/open it. Close the warning about a new version of pgAdmin if it pops up. Note the order of icons on your instance maybe different than image below.

  2. Click on Add Server > New server button or on word Servers in the left pane then right Click and highlight Register then highlight Server and create a new database connection for the target Aurora PostgreSQL database using the following values. You will need to complete General tab and Connection tab separately. Please note the password is not provided below you need to goto Secrets Manager and open DMSDBSecret and reveal the password. It is also on the lab’s Cloudformation Stack’s Output tab:

    ParameterValue
    General -> NameTarget Aurora RDS (PostgreSQL)
    Connection -> Host Name/Address< TargetAuroraPostgreSQLEndpoint > you can find this on Cloudformation > stack > output tab or you can goto RDS in the AWS console and find your Postgresql Target instance
    Connection -> Port5432
    Connection -> Maintenance DatabaseAuroraDB
    Connection -> Usernamedbadmin
    Connection -> PasswordSee Cloudformation Output tab & DMSDBSecretP or look it up in AWS Secrets Manager for Postgresql
    Connection -> Save PasswordCheck or turn on/slide on

    After that, you can click Save and it will connect you.

  3. Right-click on the AuroraDB database from left-hand menu, and then select Query Tool. Note: you can click through the list of objects on the left to see your converted tables if you’d like but not required.

  4. In this step you are going to drop the foreign key constraint from the target database for full load to occur since DMS isn’t aware of constraints:

  5. In this step you are going to drop the foreign key constraint from the target database. This step varies by source database so find your source database below and follow the steps appropriately. Note you do not need to run scripts for sources that you didn’t select earlier:

    For Oracle Source expand this
    For SQL Server Source expand this