CC Open Source Blog

Migrating from MariaDB 10.4 to 10.11 on AWS RDS

author's gravatar

by Shafiya Heena on 2025-03-24

As part of AWS’s request to migrate the RDS DB engine from MariaDB 10.4 to 10.11, this blog post provides a detailed, step-by-step guide to ensure a smooth transition. We’ll cover the pre-migration steps, the actual upgrade process, and post-migration verification to minimize downtime and potential issues.

Let’s dive in!

Pre-Migration Steps

Before performing the upgrade, it’s essential to ensure a structured migration plan, especially if your environment has customized database parameters. Follow these preliminary steps:

Create a DB Parameter Group

RDS DB Parameter Groups allow you to configure database-specific parameters, such as memory, cache, and other DB settings. You need to create a custom DB Parameter Group for MariaDB 10.11 because different versions require different settings.

How to Create a DB Parameter Group

Create an Option Group

Option Groups are a collection of database options (such as replication, backups, and logging) that you can apply to RDS instances. To migrate from 10.4 to 10.11, you need to create and associate an Option Group with the new engine version.

How to Create an Option Group

Perform the MariaDB Version Upgrade

Once you’ve created the required DB Parameter Group and Option Group, you’re ready to perform the migration from MariaDB 10.4 to 10.11.

How to Perform the Migration

Verify the Migration

After the upgrade is complete, it’s time to verify the migration.

Post-Migration Clean-Up

Conclusion

Migrating from MariaDB 10.4 to 10.11 on AWS RDS is a straightforward process, but it requires careful planning, especially around DB Parameter Groups and Option Groups. By following the steps outlined in this blog post, you can ensure a smooth transition to the latest MariaDB version, improving the performance, security, and scalability of your application. Remember to always perform proper backups, test the migration in a staging environment, and monitor post-migration performance to ensure everything is functioning as expected.

Best Practices

By implementing these best practices, you can enhance performance, security, and scalability while ensuring a successful migration.

🚀 Happy migrating!

References