How do I use AWS DMS to create source or target endpoints?

2 minute read
0

I want to specify a source and a target database endpoint for my AWS Database Migration Service (AWS DMS) task.

Resolution

Note: If you receive errors when you run AWS Command Line Interface (AWS CLI) commands, then see Troubleshoot AWS CLI errors. Also, make sure that you're using the most recent AWS CLI version.

Before you run an AWS DMS task, you must create a replication instance, a source endpoint, and a target endpoint. You can use any of these methods to create source and target endpoints:

  • Use the AWS DMS console when you create a replication instance
  • Use the AWS DMS console after you create a replication instance
  • Use the AWS CLI

Create endpoints when you create a replication instance

  1. Open the AWS DMS console.
  2. From the navigation pane, choose Replication instances.
  3. Choose Create replication instance, and then enter your replication instance information.
  4. On the Connect source and target database endpoints page, specify your source and target endpoints.

Create source and target endpoints after you create a replication instance

  1. Open the AWS DMS console.
  2. From the navigation pane, choose Endpoints, and then choose Create endpoint.
  3. Select Source endpoint, and then enter the source endpoint information.
  4. Choose Create endpoint.
  5. From the Endpoints pane, choose Create endpoint.
  6. Select Target endpoint, and then enter the target endpoint information.
  7. Choose Create endpoint.
    Note: When you create a password for your PostgreSQL endpoint, you can't use the following special characters: + (plus), % (percent), or ; (semicolon). For MySQL endpoint passwords, you can't use ; (semicolon).

Use the AWS CLI to create endpoints

After you install and configure the latest version of the AWS CLI, run the create-endpoint command.

Related information

Sources for data migration

Targets for data migration

Working with an AWS DMS replication instance

Migration strategy for relational databases

AWS OFFICIAL
AWS OFFICIALUpdated 6 months ago