Harness the Power of the Migration Service in Azure Database for PostgreSQL

This post has been republished via RSS; it originally appeared at: New blog articles in Microsoft Community Hub.

The migration service in Azure Database for PostgreSQL simplifies the process of moving your PostgreSQL databases to Azure, offering both offline and online migration options from an on-premises servers, AWS RDS for PostgreSQL, Azure Virtual Machines (VMs), and Azure Database for PostgreSQL - Single Server. The migration service is designed to help you move to Azure Database for PostgreSQL - Flexible Server with ease and confidence.

 

Advantages of Azure Database for PostgreSQL - Flexible Server

 

By migrating to Azure Database for PostgreSQL - Flexible Server, you can take advantage of:

  • Cost-Effective Scaling and Performance: Azure Database for PostgreSQL - flexible server offers built-in high availability with no additional cost, and the ability to scale compute and storage resources independently, allowing for more precise control over performance and cost management.
  • Improved Control and Customization: Users gain more control over the database server's maintenance windows and can choose when to apply patches, ensuring minimal disruption to their applications.
  • Enhanced Security Features: With Azure Database for PostgreSQL - flexible server, users benefit from Azure’s advanced security features, including the ability to restrict network access using firewalls and VNet integration. Data is protected with encryption at rest and in transit, and users can leverage Azure Active Directory (Azure AD) for authentication, enhancing overall security posture.
  • Simplified Management and Migration: Simplifies the management of PostgreSQL databases with features like automatic backups, point-in-time restore, and migration services.
  • Global Availability and Reliability: Azure Database for PostgreSQL - flexible server is available in multiple regions worldwide, ensuring that users can deploy their databases close to their users to reduce latency. The built-in high availability with zone-redundant deployment options ensures that databases remain operational even in the event of zone failures, providing enterprise-level reliability.
  • Vector Search + Azure AI Extension: With the integration of Vector Search and Azure AI extension for PostgreSQL, users can perform advanced search operations and leverage AI-driven insights directly within the database, further enhancing query capabilities and application intelligence.

 

Migration Options with the Migration Service in Azure Database for PostgreSQL

 

The service caters to various migration needs, accommodating different source environments. Below is a table summarizing the migration support provided by the service:

Source Environment

Offline Migration

Online Migration

Azure Database for PostgreSQL – Single Server

Supported

Supported

AWS RDS for PostgreSQL

Supported

Planned within next 6 months.

On-Premises

Supported

Azure VM

Supported

 

select-source.png

 

Key Benefits of Using the Migration Service in Azure Database for PostgreSQL

 

When it comes to migrating your PostgreSQL databases to the cloud, Azure offers a robust and user-friendly solution with the migration Service in Azure Database for PostgreSQL. This service is designed to streamline the migration process, offering a range of benefits that cater to the needs of businesses looking to leverage the advantages of a managed cloud database environment.

 

Managed Migration Service

The migration Service in Azure Database for PostgreSQL is a fully managed service, meaning that we handle the complexities of the migration process.

 

Support for Schema and Data Migrations

The migration service isn't limited to just data migrations; it also supports schema migrations. This comprehensive approach ensures that both the structure and the content of your databases are accurately migrated in the target environment, maintaining the integrity and functionality of your applications.

 

No Complex Setup

One of the most significant advantages of using this migration service is the elimination of complex setup procedures.

 

Simple Portal-Based/CLI Migration Experience

Whether you prefer a graphical interface or command-line tools, the migration service offers a simple portal-based experience for those who prefer a visual approach, as well as a command-line interface (CLI) for those who are more comfortable with scripting and automation.

 

No Size Limitations

Unlike Azure DMS (classic), which can migrate only up to 1TB of data, the migration service in Azure Database for PostgreSQL can handle databases of any size. This means that whether you're dealing with a small database or a large-scale enterprise database, the migration service is equipped to manage the migration without issue.

 

Overcoming Azure DMS (classic) limitations

The new migration service overcomes many of the limitations of Azure DMS (classic) for PostgreSQL migrations, as documented in the Azure DMS (classic) PostgreSQL known issues. By addressing these challenges, the service provides a smoother and more reliable migration experience.

To ensure an optimal migration experience with enhanced capabilities, we highly recommend utilizing our newly introduced migration service for Azure Database for PostgreSQL. This service is designed to offer superior performance, greater flexibility, and support for larger databases compared to Azure DMS (classic).

 

Overview of the Migration Process

 

Before initiating the migration, it's crucial to perform pre-requisites and run pre-migration validations, to ensure a smooth migration between source and target.

 

Step 1: Prepare for Your Migration

  • Provision your target Azure Database for PostgreSQL - Flexible Server instance.
  • Set up the necessary network and security configurations to ensure connectivity between the source and target servers.
  • For detailed guidance on network configuration during database migration to Azure, refer to the documentation on Network configurations and Connectivity.

create-migration.png

 

Step 2: Pre-Migration Validations

  • Check the compatibility of your PostgreSQL version with Azure Database for PostgreSQL - Flexible Server.
  • Identify any unsupported features or extensions.
  • Verify that the target Azure Database for PostgreSQL can establish a connection to the source database.
  • For an overview of pre-migration validation steps to ensure a smooth transition to Azure Database for PostgreSQL, visit the documentation on Pre-Migration Validation.

 

Step 3: Launch Your Migration

  • In the Azure portal, find your Azure Database for PostgreSQL - flexible server instance and start the migration process using the migration service.
  • Input the required details for your source, target database, including connection strings and access credentials.

 

Step 4: Monitor and Validate the Migration

  • Keep track of the migration's progress via the Azure portal/CLI.
  • Post-migration, verify that all data has been successfully migrated and is intact on the target server.

    adityaduvuri_0-1706538699100.png

     

 

Step 5: Finalize Your Migration

  • Update your application's connection strings to point to the new Azure Database for PostgreSQL - Flexible Server.
  • Conduct comprehensive testing to confirm that your applications are fully operational with the new target database server i.e. Azure Database for PostgreSQL – Flexible server.

 

New_UI.gif

 

 

Conclusion

The migration Service in Azure Database for PostgreSQL is transforming the way businesses migrate their databases to the cloud. With its migration options and the robust capabilities of Azure Database for PostgreSQL - Flexible Server, you can elevate your database management, ensuring scalability, availability, and security. Embrace this service to streamline your migration journey and unlock the full potential of your data in the cloud.

 

Next Steps

We’re always eager to hear customer feedback, so please reach out to us at Ask Azure DB for PostgreSQL.

 

 

 

Leave a Reply

Your email address will not be published. Required fields are marked *

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.