Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Les informations de connexion que vous devez fournir peuvent varier en fonction de la connectivité de destination que vous utilisez. Cette page explique comment créer des profils de connexion de destination pour chaque méthode de connectivité disponible :
Avant de créer un profil de connexion à une destination, assurez-vous d'effectuer les opérations suivantes :
Réfléchissez à la région dans laquelle vous souhaitez créer le profil de connexion de destination.
Database Migration Service est un produit entièrement régional. Cela signifie que toutes les entités liées à votre migration (profils de connexion source et de destination, jobs de migration, bases de données de destination, espaces de travail de conversion) doivent être enregistrées dans une seule région.
Les connexions aux bases de données de destination sont toujours chiffrées par Database Migration Service.
Vous n'avez pas besoin de configurer de certificats supplémentaires pour ces connexions.
Dans la section Définir la méthode de connectivité, sélectionnez Adresse IP publique dans le menu déroulant Méthode de connectivité.
Cliquez sur Enregistrer.
Le panneau des détails de la connexion se ferme.
(Facultatif) Dans la section Tester le profil de connexion, cliquez sur Exécuter le test.
Database Migration Service effectue une vérification rapide pour s'assurer que les informations de connexion que vous avez fournies sont suffisantes pour accéder à vos données.
Cliquez sur Créer en bas de la page.
La page Profils de connexion s'affiche, et le profil de connexion que vous venez de créer est visible.
Dans le champ Port, saisissez le numéro de port de la base de données. La valeur par défaut pour PostgreSQL est 5432.
Dans les champs Nom d'utilisateur et Mot de passe, saisissez les identifiants de connexion du compte utilisateur dédié à la migration.
Dans le champ Nom de la base de données, saisissez le nom de votre base de données de destination. Si vous n'en fournissez pas, Database Migration Service utilise le même nom que votre compte utilisateur de migration dédié.
(Facultatif) Dans la section Tester le profil de connexion, cliquez sur Exécuter le test.
Database Migration Service effectue une vérification rapide pour s'assurer que les informations de connexion que vous avez fournies sont suffisantes pour accéder à vos données.
Cliquez sur Créer en bas de la page.
La page Profils de connexion s'affiche, et le profil de connexion que vous venez de créer est visible.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/09/05 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Difficile à comprendre","hardToUnderstand","thumb-down"],["Informations ou exemple de code incorrects","incorrectInformationOrSampleCode","thumb-down"],["Il n'y a pas l'information/les exemples dont j'ai besoin","missingTheInformationSamplesINeed","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/09/05 (UTC)."],[],[],null,["# Create a destination connection profile\n\nThe connection details you need to provide can differ depending on what destination\nconnectivity you use. This page describes how to create destination connection profiles\nfor each available connectivity method:\n\n- [Destination connection profile for public IP connectivity](#public-ip-connectivity)\n\n- [Destination connection profile for private IP connectivity](#private-ip-connectivity)\n\nBefore you begin\n----------------\n\nBefore you create a destination connection profile, make sure you do the following:\n\n1. Consider in which region you want to create the destination connection profile.\n\n Database Migration Service is a fully-regional product, meaning all entities\n related to your migration (source and destination connection profiles,\n migration jobs, destination databases, conversion workspaces) must be\n saved in a single region.\n2. [Configure your destination database and create a dedicated migration user account](/database-migration/docs/oracle-to-postgresql/configure-your-destination-postgresql-database).\n\n3. [Choose and configure the destination connectivity method](/database-migration/docs/oracle-to-postgresql/networking-methods-destination).\n\n Destination database connections are always encrypted by Database Migration Service.\n You don't need to configure additional certificates for those connections.\n\nFor public IP connectivity\n--------------------------\n\nTo create a destination connection profile that uses the\n[public IP connectivity method](/database-migration/docs/oracle-to-postgresql/networking-methods-destination#public-ip), follow these steps:\n\n1. In the Google Cloud console, go to the **Connection profiles** page.\n\n [Go to Connection profiles](https://console.cloud.google.com/dbmigration/connection-profiles)\n2. Click **Create profile**.\n3. From the **Database engine** list, select **Cloud SQL for PostgreSQL**.\n4. In the **Specify connection profile details** section, provide the connection profile name, identifier, and region.\n5. In the **Define connection configurations** , in the **SQL Server or Oracle to PostgreSQL** card, click **Define** .\n\n The connectivity details panel opens.\n6. In the **Define connection details** panel, do the following:\n 1. From the **Instance ID** drop-down menu, select your Cloud SQL destination instance identifier.\n 2. In the **Hostname and IP** field, enter your destination instance's public IP address.\n 3. In the **Port** field, enter the database port number. The default for PostgreSQL is `5432`.\n 4. In the **Username** and **Password** fields, enter the login details for the dedicated migration user account.\n 5. In the **Database name** field, enter the name of your destination database.\n 6. You create the dedicated migration user account and the destination database during the [destination database preparation step](/database-migration/docs/oracle-to-postgresql/configure-your-destination-postgresql-database).\n 7. In the **Define connectivity method** section, from the **Connectivity method** drop-down menu, select **Public IP**.\n 8. Click **Save**.\n\n The connection details panel closes.\n7. (Optional) In the **Test connection profile** section, click **Run test** .\n\n Database Migration Service performs a quick check to verify that\n the connection details you supplied are sufficient to reach\n your data.\n8. Click **Create** at the bottom of the page.\n\n The **Connection profiles** page appears, and the newly\n created connection profile is displayed.\n\nFor private IP connectivity\n---------------------------\n\nTo create a destination connection profile that uses the\n[private IP with Private Service Connect connectivity method](/database-migration/docs/oracle-to-postgresql/networking-methods-destination#private-ip),\nfollow these steps:\n\n1. In the Google Cloud console, go to the **Connection profiles** page.\n\n [Go to Connection profiles](https://console.cloud.google.com/dbmigration/connection-profiles)\n2. Click **Create profile**.\n3. From the **Database engine** list, select **Cloud SQL for PostgreSQL**.\n4. In the **Specify connection profile details** section, provide the connection profile name, identifier, and region.\n5. In the **Define connection configurations** , in the **SQL Server or Oracle to PostgreSQL** card, click **Define** .\n\n The connectivity details panel opens.\n6. In the **Define connection details** panel, do the following:\n 1. From the **Instance ID** drop-down menu, select your Cloud SQL destination instance identifier.\n 2. In the **Hostname and IP** field, enter the [DNS name configured for your instance](/sql/docs/postgres/about-private-service-connect#dns-name-record).\n 3. In the **Port** field, enter the database port number. The default for PostgreSQL is `5432`.\n 4. In the **Username** and **Password** fields, enter the login details for the dedicated migration user account.\n 5. In the **Database name** field enter the name of your destination database. If you don't provide a name, Database Migration Service uses the same name as your dedicated migration user account.\n 6. You create the dedicated migration user account and the destination database during the [destination database preparation step](/database-migration/docs/oracle-to-postgresql/configure-your-destination-postgresql-database).\n 7. In the **Define connectivity method** section, do the following:\n 1. From the **Connectivity method** drop-down menu, select **Private IP**.\n 2. From the **Service attachment name** select the service attachment [you created for the destination instance Private Service Connect\n connection](/database-migration/docs/oracle-to-postgresql/configure-dst-connection-private-ip#non-psc).\n 8. Click **Save**.\n\n The connection details panel closes.\n7. (Optional) In the **Test connection profile** section, click **Run test** .\n\n Database Migration Service performs a quick check to verify that\n the connection details you supplied are sufficient to reach\n your data.\n8. Click **Create** at the bottom of the page.\n\n The **Connection profiles** page appears, and the newly\n created connection profile is displayed."]]