Skip to content
Jorge Castro edited this page Mar 27, 2022 · 8 revisions
160211479 26b3a741 56a2 4cdd ab3a 7c7bf36ff747

1. What do I want to accomplish and how?

In this mini-project I will be migrating a MySQL on-premises schema to a AWS MySQL instance and automate the process to make it fast with little downtime.

There are a few options available:

  1. Use the mysqldump utility to export your database to a SQL file, then import that file into your RDS instance using the MySQL command-line tool.

  2. Use the AWS Database Migration Service (DMS) to migrate your data. DMS can handle complex migrations with minimal downtime.

  3. Restoring our database using an S3 bucket, which is integrated with RDS.

  4. When having small databases, you can simply create a new RDS instance and manually import your data using the MySQL command-line tool.

  5. Similar to the mysqldump utility, the Dump & Load utilities from MySQL shell can be used, especially for loading databases of large sizes as this tool was built thinking on performance speed and ease of use.

Here I will focus on using the Dump & Load utilities from MySQL Shell.