AWS Prescriptive Guidance
Patterns

Migrate an on-premises MariaDB database to Amazon RDS for MariaDB using native MySQL tools

R Type :RePlatform

source :Databases: Relational

target :Amazon RDS for MariaDB

tags :mariadb, amazon rds

Summary

This pattern provides guidance for migrating an on-premises MariaDB database to Amazon Relational Database Service (Amazon RDS) for MariaDB using native MySQL tools.

Assumptions and Prerequisites

Prerequisites

  • An active AWS account

  • A MariaDB version 10.0.17-10.1.23 source database in an on-premises data center

Limitations

  • Database size limit: 16 TB

Architecture

Source technology stack

  • MariaDB version 10.0.17-10.1.23 database in an on-premises data center

Target technology stack

  • Amazon RDS for MariaDB DB instance

Target architecture

AWS data migration architecture

Tools Used

Native MySQL tools

Epics

Plan the migration

Tasks

Title Description Skills Predecessor
Validate source and target database versions and engines. DBA
Identify hardware requirements for the target server instance. DBA, SysAdmin
Identify storage requirements (storage type and capacity). DBA, SysAdmin
Choose the proper instance type based on capacity, storage features, and network features. DBA, SysAdmin
Identify the network access security requirements for source and target databases. DBA, SysAdmin
Identify the application migration strategy. DBA, SysAdmin, AppOwner

Configure the infrastructure

Tasks

Title Description Skills Predecessor
Create a virtual private cloud (VPC). SysAdmin
Create security groups. SysAdmin
Configure and start an Amazon RDS DB instance running MariaDB. SysAdmin

Migrate data

Tasks

Title Description Skills Predecessor
Use native MySQL tools or third-party tools to migrate database objects and data. DBA

Migrate the application

Tasks

Title Description Skills Predecessor
Follow the application migration strategy. DBA, SysAdmin, AppOwner

Cut over

Tasks

Title Description Skills Predecessor
Switch the application clients over to the new infrastructure. DBA, SysAdmin, AppOwner

Close the project

Tasks

Title Description Skills Predecessor
Shut down the temporary AWS resources. SysAdmin
Review and validate the project documents. DBA, SysAdmin, AppOwner
Gather metrics around time to migrate, % of manual vs. tool cost savings, etc. DBA, SysAdmin, AppOwner
Close out the project and provide feedback. DBA, SysAdmin, AppOwner

References and Help

References:

Tutorials and videos

Contact and help

Pattern Library Support: aws-mpl@amazon.com