Creating source and target endpoints - AWS Database Migration Service

Creating source and target endpoints

You can create source and target endpoints when you create your replication instance or you can create endpoints after your replication instance is created. The source and target data stores can be on an Amazon Elastic Compute Cloud (Amazon EC2) instance, an Amazon Relational Database Service (Amazon RDS) DB instance, or an on-premises database. (Note that one of your endpoints must be on an AWS service. You can't use AWS DMS to migrate from an on-premises database to another on-premises database.)

The procedure following assumes that you have chosen the AWS DMS console wizard. Note that you can also do this step by selecting Endpoints from the AWS DMS console's navigation pane and then selecting Create endpoint. When using the console wizard, you create both the source and target endpoints on the same page. When not using the console wizard, you create each endpoint separately.

To specify source or target database endpoints using the AWS console

  1. On the Connect source and target database endpoints page, specify your connection information for the source or target database. The following table describes the settings.

    For this option Do this

    Endpoint type

    Choose whether this endpoint is the source or target endpoint.

    Select RDS DB Instance

    Choose this option if the endpoint is an Amazon RDS DB instance.

    Endpoint identifier

    Type the name you want to use to identify the endpoint. You might want to include in the name the type of endpoint, such as oracle-source or PostgreSQL-target. The name must be unique for all replication instances.

    Source engine and Target engine

    Choose the type of database engine that is the endpoint.

    Server name

    Type the server name. For an on-premises database, this can be the IP address or the public hostname. For an Amazon RDS DB instance, this can be the endpoint (also called the DNS name) for the DB instance, such as


    Type the port used by the database.

    SSL mode

    Choose an SSL mode if you want to enable connection encryption for this endpoint. Depending on the mode you select, you might be asked to provide certificate and server certificate information.

    User name

    Type the user name with the permissions required to allow data migration. For information on the permissions required, see the security section for the source or target database engine in this user guide.


    Type the password for the account with the required permissions.

    Database name

    The name of the database you want to use as the endpoint.

  2. Choose the Advanced tab to set values for Extra connection attributes and KMS master key if you need them. You can test the endpoint connection by choosing Run test. The following table describes the settings.

    For this option Do this

    Extra connection attributes

    Type any additional connection parameters here. For more information about extra connection attributes, see the documentation section for your data store.

    KMS master key

    Choose the encryption key to use to encrypt replication storage and connection information. If you choose (Default) aws/dms, the default AWS Key Management Service (AWS KMS) key associated with your account and AWS Region is used. For more information on using the encryption key, see Setting an encryption key and specifying AWS KMS permissions.

    Test endpoint connection (optional)

    Add the VPC and replication instance name. To test the connection, choose Run test.