Skip to content

Migration from Aurora Serverless v1 to v2: Key Questions and Clarifications

0

Hello,

We currently have Aurora Serverless v1 clusters scheduled to automatically upgrade to Aurora Serverless v2. I have several questions regarding this migration:

1. Timing and Maintenance Window:

  • If we wait for AWS to automatically perform the upgrade, will this occur specifically during our defined maintenance window? It looks like this process will start on our maintenance window after "April 7, 2025"
  • Will we get notified when they start the upgrade? of will it be just at some point during our maintenance window?

2. Impact and Downtime:

  • Have other customers reported any issues during their migration from v1 to v2?
  • How long does the upgrade typically take, and what is the expected downtime for our database during this transition?

3. Identifiers and Configuration:

  • Will the ARN or database hostname remain the same after migration, or should we expect changes? username and password stay the same?
  • Are there specific items or common pitfalls we should watch out for in our AWS CDK scripts that will require updates related to this migration?

4. Snapshots and Engine Version:

  • Does AWS create an automatic snapshot before initiating the upgrade?
  • Can we be assured that our existing PostgreSQL version (13.12) will remain unchanged during the rollover?

Any clarification on these points would be greatly appreciated.

Thank you!

asked 2 years ago350 views

1 Answer
1

Thank you for your questions regarding the migration from Aurora Serverless v1 to v2. I'll address each of your concerns based on the available information:

  1. Timing and Maintenance Window: AWS has announced the end-of-life date for Aurora Serverless v1 as March 31, 2025. It's strongly recommended to upgrade any Aurora Serverless v1 DB clusters to Aurora Serverless v2 before that date. The upgrade process may involve a change in the major version number of the database engine. While AWS will likely try to perform the upgrade during your defined maintenance window, it's important to note that starting January 8, 2025, customers will no longer be able to create new Aurora Serverless v1 clusters or instances. It's unclear whether AWS will provide specific notifications for individual upgrades, so it's advisable to proactively plan and implement the switchover well before the end-of-life date.

  2. Impact and Downtime: The migration process from Aurora Serverless v1 to v2 can be designed to minimize downtime. However, some downtime is likely unavoidable during the final switchover. The exact duration can vary depending on your specific setup and the migration strategy used. A recommended approach involves creating a blue/green deployment, which allows for upgrading the engine version without affecting the original cluster. This method can significantly reduce downtime compared to directly converting the original cluster.

  3. Identifiers and Configuration: Regarding ARNs, hostnames, usernames, and passwords, it's best to assume that some changes may be necessary. While the goal is typically to maintain continuity, it's crucial to review and test these elements as part of your migration plan. For AWS CDK scripts, pay close attention to any references to Aurora Serverless v1 specific configurations or features that might not be directly compatible with v2.

  4. Snapshots and Engine Version: It's a standard practice for AWS to create automatic snapshots before major changes, but it's always a good idea to create your own snapshot as an additional precaution. Regarding your PostgreSQL version (13.12), while efforts are made to maintain version compatibility, it's important to verify the supported versions for Aurora Serverless v2 in your region. You may need to upgrade to a more recent version that supports both Aurora Serverless v2 and the features you require.

Given the complexity of this migration and its potential impact on your systems, it's highly recommended to plan and execute the upgrade well before the end-of-life date. This allows time for thorough testing and addressing any unforeseen issues. Consider creating a detailed migration plan, including a testing phase in a non-production environment, to ensure a smooth transition to Aurora Serverless v2.
Sources
Migrating to Aurora Serverless v2 - Amazon Aurora
Aurora Serverless v1 and Aurora database engine versions - Amazon Aurora
Migrate Aurora Serverless v1 cluster to v2 | AWS re:Post
Aurora Serverless v1 - Amazon Aurora

answered 2 years ago

EXPERT

reviewed 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.