Cloud Technology

What is the best strategy for migrating legacy RDS databases to Amazon Aurora Serverless v2?

JE Asked by Jessica Williams · 12-05-2023
0 upvotes 10,968 views 0 comments
The question

Our team is planning a migration from a standard RDS MySQL instance to Aurora Serverless v2 to handle unpredictable traffic. I’m concerned about the scaling speed and potential downtime during the cutover. Are there specific tools beyond AWS DMS that can ensure a smooth transition while keeping our data consistency intact during the 2024 peak season? 

3 answers

0
EM
Answered on 14-05-2023

Aurora Serverless v2 is a game-changer because it scales in fractions of a second. For the migration, the most robust path is creating an Aurora Read Replica of your existing RDS instance. Once the replication lag is near zero, you can promote the replica to a standalone cluster. This minimizes downtime to just a few minutes. Make sure to set your "Minimum Capacity" to at least 0.5 ACUs to avoid the latency of a "warm-up" when the first query hits after a period of inactivity. Also, verify that your application's connection pooling is compatible with rapid scaling. 

0
J
Answered on 16-05-2023

The Read Replica method is definitely the cleanest. However, how are you handling the "Maximum Capacity" settings? If you leave it too high, a sudden bug or runaway query could scale your ACUs to the max and blow your budget before you can even react. 

WI 17-05-2023

James, we solve that by setting strict CloudWatch Alarms on the 'ServerlessDatabaseCapacity' metric. If it stays above a certain threshold for more than 15 minutes, it triggers an SNS notification to our On-Call team so we can investigate if it's real traffic or a malicious bot attack.

0
J
Answered on 18-05-2023

Definitely look into using "Blue/Green Deployments" in RDS. It allows you to test the Aurora environment in a separate staging area before flipping the switch on production. 

JE 19-05-2023

Jennifer is right. The Blue/Green feature significantly reduces risk. It’s the safest way to ensure that your schema changes and performance benchmarks are met before any users are actually moved over.

Share your thoughts

Your email address will not be published. Required fields are marked (*)

Professional Counselling Session

Still have questions?
Schedule a free counselling session

Our experts are ready to help you with any questions about courses, admissions, or career paths. Get personalized guidance from industry professionals.

Request a Call Back

Search Online

We Accept

We Accept

Follow Us

"PMI®", "PMBOK®", "PMP®", "CAPM®" and "PMI-ACP®" are registered marks of the Project Management Institute, Inc. | "CSM", "CST" are Registered Trade Marks of The Scrum Alliance, USA. | COBIT® is a trademark of ISACA® registered in the United States and other countries.

Book Free Session