Azure DB for PostgreSQL Migration Move Public IP Address

Vision Intelligence 60 Reputation points
2025-01-21T21:28:24.9666667+00:00

Need to migrate an existing Azure Database for PostgreSQL - Single Server over to Azure Database for PostgreSQL - Flexible Server. The single server has a standard azure "Public (FQDN) address" of xxxxx.postgres.database.azure.com. How can I move / point this FQDN to the new Flexible server after migration has completed so that all of the database clients now connect to the Flexible server without configuration change?

Azure Database Migration service
Azure Database for PostgreSQL
{count} votes

1 answer

Sort by: Most helpful
  1. RahulRandive 10,146 Reputation points
    2025-01-21T23:26:45.4233333+00:00

    Hi @Vision Intelligence

    I believe After the migration is complete, you can update the DNS records to point the existing FQDN (e.g., xxxxx.postgres.database.azure.com) to the new Flexible Server's IP address.
    Or If your Flexible Server is behind a custom DNS server or uses custom DNS namespaces, you can set up a DNS entry to resolve the new Flexible Server to the same FQDN that was previously used by the Single Server

    Here is related information from the migration document https://learn.microsoft.com/en-us/azure/postgresql/migrate/migration-service/tutorial-migration-service-single-to-flexible?tabs=portal%2Coffline#select-migration-target

    Select migration target

    The Select migration target section displays metadata for the Flexible Server target, such as Subscription, Resource group, Server name, Location, and PostgreSQL version.

    The Custom FQDN/IP field is optional and can be used when the target is behind a custom DNS server or has custom DNS namespaces, making it accessible only via specific FQDNs or IP addresses. For example, this could include entries like flexibleserver.example.com, 198.1.0.2, or a PostgreSQL FQDN such as flexibleserver.postgres.database.azure.com, if the custom DNS server contains the DNS zone postgres.database.azure.com or forwards queries for this zone to 168.63.129.16, where the FQDN is resolved in the Azure public or private DNS zone.

    Thank You


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.