Challenge 4: Online migration

< Previous Challenge - Home - Next Challenge >

Introduction

Perform an online migration using the Azure Database Migration Service

Description

In this challenge you will do a migration of the database by setting up a replication from the on-premises database to Azure DB.

For PostgreSQL, you will use Azure Data Migration Serice Tool to do this. For MySQL, you will not use Azure DMS and will use MySQL replication instead. Note: Online migration from Oracle to Azure DB for PostgreSQL is not supported.

In an actual production environment on-premises, you would need to have connectivity to your source databases to Azure using either a Site To Site VPN or Azure ExpressRoute. To simplify the DMS experience, you can choose to deploy Azure DMS in the same VNet as the on-premises PostgreSQL database and the private IP address of the database container(s). Alternatively, you can create a separate virtual network for Azure DMS and then establish a VNet peering to the source databases’ VNet.

To simplify MySQL data-in replication, you can use the public IP of the MySQL database container.

Success Criteria

Hints – PostgreSQL


kubectl describe service -n postgresql postgres-external | grep Endpoints

Hints – MySQL


kubectl describe service -n mysql  mysql-external | grep Endpoints

References