Create a destination connection profile

The connection details you need to provide can differ depending on what destination connectivity you use. This page describes how to create destination connection profiles for each available connectivity method:

Before you begin

Before you create a destination connection profile, make sure you do the following:

  1. Consider in which region you want to create the destination connection profile.

    Database Migration Service is a fully-regional product, meaning all entities related to your migration (source and destination connection profiles, migration jobs, destination databases, conversion workspaces) must be saved in a single region.

  2. Configure your destination database and create a dedicated migration user account.

  3. Choose and configure the destination connectivity method.

    Destination database connections are always encrypted by Database Migration Service. You don't need to configure additional certificates for those connections.

For public IP connectivity

To create a destination connection profile that uses the public IP connectivity method, follow these steps:

  1. In the Google Cloud console, go to the Connection profiles page.

    Go to Connection profiles

  2. Click Create profile.
  3. On the Create a connection profile page, from the Profile role list, select Destination.
  4. From the Database engine list, select AlloyDB for PostgreSQL.
  5. In the Specify connection profile details section, provide the connection profile name, identifier, and region.
  6. In the Connection details section, do the following:
    1. From the Cluster ID drop-down menu, select your AlloyDB for PostgreSQL destination cluster identifier.
    2. In the Hostname and IP field, enter the DNS name configured for your instance.
    3. In the remaining fields, enter the port number and the login details for the dedicated migration user account (name and password).
  7. In the Define connectivity method section, from the Connectivity method drop-down menu, select Public IP.
  8. (Optional) In the Test connection profile section, click Run test.

    Database Migration Service performs a quick check to verify that the connection details you supplied are sufficient to reach your data.

  9. Click Create at the bottom of the page.

    The Connection profiles page appears, and the newly created connection profile is displayed.

For private IP connectivity

To create a destination connection profile that uses the private IP with Private Service Connect connectivity method, follow these steps:

  1. In the Google Cloud console, go to the Connection profiles page.

    Go to Connection profiles

  2. Click Create profile.
  3. On the Create a connection profile page, from the Profile role list, select Destination.
  4. From the Database engine list, select AlloyDB for PostgreSQL.
  5. In the Define connection settings section, provide the connection profile name, identifier, and region.
  6. In the Connection details section, do the following:
    1. From the Cluster ID drop-down menu, select your AlloyDB for PostgreSQL destination cluster identifier.
    2. Use the Hostname and IP field to enter one of the following values:
      • For psc-enabled clusters: Use the DNS name configured for your cluster. If your cluster has only a private IP configured, the Hostname and IP field is automatically populated with the required DNS name. If your cluster has both the public and private IP addresses assigned, click the Hostname and IP field and select the DNS record from the menu.
      • For non-psc-enabled clusters: Enter the private IP assigned for your destination cluster.
    3. In the remaining fields, enter the port number and the login details for the dedicated migration user account (name and password).
  7. In the Define connectivity method section, do the following:
    1. From the Connectivity method drop-down menu, select Private IP.
    2. For non-psc-enabled clusters: From the Service attachment name select the service attachment you created for the destination cluster Private Service Connect connection.
  8. (Optional) In the Test connection profile section, click Run test.

    Database Migration Service performs a quick check to verify that the connection details you supplied are sufficient to reach your data.

  9. Click Create at the bottom of the page.

    The Connection profiles page appears, and the newly created connection profile is displayed.