Migration of Database using DMS

Lab Details

  1. This lab walks you through the step by step procedure on how to migrate an existing MySQL database on an EC2 instance to an AWS RDS instance with AWS Database Migration Service.

  2. Duration: 1 Hour 30 minutes

  3. AWS Region: N. Virginia (us-east-1)

Architecture Diagram

Task Details

  1. Log into the AWS Management Console.

  2. Create a Source Database on EC2 (Ubuntu) instance and install MySQL server.

  3. Create an AWS RDS instance which will act as the Destination Database. 

  4. In DMS, create endpoints for your Source & destination databases.

  5. Create a Replication Instance and Database Migration Task.

  6. Start the Database migration task to replicate the MySQL database on the EC2 instance (source database) to AWS RDS (Destination Database).

  7. Validation of the lab.