Member-only story

Database Migration-2: Migrating MySQL Database to Amazon RDS by using AWS Database Migration Services (AWS DMS).

We will migrate a MySQL Database of a real web application to Amazon RDS by using AWS DMS. To do this, firstly, we will create a new “RDS MySQL Database” for the target Database. Then, we will create a replication instance, target and source endpoints, and a migration task. When we run the migration task, we will migrate the MySQL database to the Amazon RDS MySQL Database that we have just created. Finally, we will monitor our database migration by using MySQL Workbench, AWS DMS, and Amazon Cloudwatch logs. We will do all the subjects practically (Hands-on) and step by step.

Cumhur M. Akkaya
13 min readSep 26, 2023

Topics we will cover in this article:

  1. Migrating MySQL Database to Amazon RDS by using AWS DMS
    1. a. Creating an RDS MySQL Database for the target Database
    1. b. Creating a Replication Instance
    1. c. Creating Target and Source Endpoints
    1. d. Creating and Running a Migration Task
  2. Monitoring and Checking The Migration Task’s Output
    2. a. By Using MySQL Workbench 8.0 CE
    2. b. By Using Amazon Cloudwatch Logs
    2. c. By Using AWS DMS
  3. As a result
  4. Next post: “Database Migration-3: Migrating a MySQL DB to The Amazon RDS by using S3 bucket and MySQL dump
  5. References

If you like the article, I will be happy if you click on the Medium Follow button to encourage me to write more, and not miss future articles.

Your clap, follow, or subscribe, they help my articles to reach the broader audience. Thank you in advance for them.

In the previous article of this “Database Migration” series, we learned the database migration strategies, terms, and solutions. Then we examined the AWS Database Migration Service in detail. Finally, we looked at the types of migration/transfer services in AWS and other most…

--

--

Cumhur M. Akkaya
Cumhur M. Akkaya

Written by Cumhur M. Akkaya

✦ Multi-Cloud & DevOps Engineer, ✦Technical Writer, ✦AWS Community Builder, ✦LinkedInTop Voice, ✦Believes in learning by doing, ✦ linkedin.com/in/cumhurakkaya

Responses (1)