Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AWS CDK Aurora: Migrating from v1 to v2 with AWS CDK #32486

Open
TejasRGitHub opened this issue Dec 11, 2024 · 3 comments
Open

AWS CDK Aurora: Migrating from v1 to v2 with AWS CDK #32486

TejasRGitHub opened this issue Dec 11, 2024 · 3 comments
Labels
@aws-cdk/aws-rds Related to Amazon Relational Database aws-cdk-lib Related to the aws-cdk-lib package documentation This is a problem with documentation. guidance Question that needs advice or information. p2

Comments

@TejasRGitHub
Copy link

Describe the issue

We have a deployment made with aws cdk and are using aurora serverless v1. We use the cdk code in our deployment pipeline and since it is a part of our deployment pipeline, our infrastructure changes happen through it.

We are getting Aurora V1 deprecation notices and it is planned to be deprecated in March 2025.

Can you please provide information about if there is aws cdk support to migrate to a serverless / provisioned aurora RDS with v2 . Can you please provide any example ?

Currently we are using AWS CDK version - 2.115.0.

Links

I can see there is some work done here - https://github.com/aws/aws-cdk/blob/main/packages/aws-cdk-lib/aws-rds/adr/aurora-serverless-v2.md but I don't know if its available in aws cdk aurora code.

@TejasRGitHub TejasRGitHub added documentation This is a problem with documentation. needs-triage This issue or PR still needs to be triaged. labels Dec 11, 2024
@github-actions github-actions bot added the aws-cdk-lib Related to the aws-cdk-lib package label Dec 11, 2024
@ashishdhingra
Copy link
Contributor

Following links provide some general guidance for migration:

CCing @pahud for any CDK specific guidance.

@ashishdhingra ashishdhingra added p2 and removed needs-triage This issue or PR still needs to be triaged. labels Dec 11, 2024
@pahud
Copy link
Contributor

pahud commented Dec 12, 2024

Hi

Aurora Serverless V1 and V2 are very different by design and we don't have official CDK guidance on migrating this and I doubt it's possible to just in-place migrate it from CDK.

Please consult the document links above by @ashishdhingra thank you.

@pahud pahud added @aws-cdk/aws-rds Related to Amazon Relational Database guidance Question that needs advice or information. labels Dec 12, 2024
@TejasRGitHub
Copy link
Author

TejasRGitHub commented Dec 12, 2024

Hi @pahud , @ashishdhingra , thanks a lot for the info

We have our entire pipeline's CF template generated with aws cdk. There are cross references from our aurora cdk code to other parts of infrastructure.

Could you please recommend a path in which we can migrate to aurora v2 and also keep on using the aws cdk ( in our code pipeline ) to perform deployments ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
@aws-cdk/aws-rds Related to Amazon Relational Database aws-cdk-lib Related to the aws-cdk-lib package documentation This is a problem with documentation. guidance Question that needs advice or information. p2
Projects
None yet
Development

No branches or pull requests

3 participants