Migrating a MariaDB Database to Amazon RDS for MySQL or Amazon Aurora MySQL
You can migrate data from existing on-premises MariaDB or Amazon RDS for MariaDB
Some key features offered by Aurora MySQL are the following:
-
High throughput with low latency
-
Push-button compute scaling
-
Storage autoscaling
-
Custom database endpoints
-
Parallel queries for faster analytics
In the following sections, we demonstrate migration from MariaDB as a source database to an Aurora MySQL database as a target using AWS DMS. At a high level, the steps involved in this migration are:
-
Provision MariaDB as a source DB instance and load the data
-
Provision Aurora Mysql as target DB instance
-
Provision DMS replication instance and create DMS endpoints
-
Create DMS task, migrate data and perform validation
For the purpose of this section, we are using the AWS CloudFormation templates for creating Amazon RDS for MariaDB, Aurora MySQL database and AWS DMS replication instance with their source and endpoints. We will be loading sample tables and data in MariaDB located on GitHub
To estimate what it will cost to run this walkthrough on AWS, you can use the AWS Pricing Calculator. For more information, see https://calculator.aws/