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

New serverless pattern - Amazon Aurora Serverless V2 Primary to Secondary Global Database #1716

Conversation

nihilg
Copy link
Contributor

@nihilg nihilg commented Oct 6, 2023

Issue #, if available:

Description of changes:

The pattern creates a serverless global database cluster enabling data replication from the primary to secondary cluster. The regional primary cluster contains a serverless db instance supporting both writes and reads. The regional secondary cluster contains a serverless db instance supporting only reads. In the unlikely event of a regional degradation or outage, the secondary region can be promoted to read and write capabilities in less than 1 minute. A fargate based application is also provisioned to test the replication. Also the pattern adopts the multiple stack capability of CDK to provision the resources across the primary and secondary regions. You can deploy each stack individually or deploy all the stacks using --all option.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@nihilg nihilg changed the title New serverless pattern - aurora-serverless-global-db-cdk New serverless pattern - Amazon Aurora Serverless V2 Primary to Secondary Global Database Oct 6, 2023
nihilg and others added 2 commits October 6, 2023 16:27
added -X POST to test commands in readme.
@github-actions
Copy link

github-actions bot commented Oct 9, 2023

@nihilg your 'example-pattern.json' is missing some key fields, please review below and address any errors you have

  1. language: language is not one of enum values: TypeScript,Node.js,Python,Java,Go,Rust,.NET,OpenAPI,YAML,

If you need any help, take a look at the example-pattern file.

Make the changes, and push your changes back to this pull request. When all automated checks are successful, the Serverless DA team will process your pull request.

@mavi888 mavi888 merged commit bad7967 into aws-samples:main Oct 9, 2023
@nihilg nihilg deleted the nihilg-feature-aurora-serverless-global-db-cdk branch October 9, 2023 14:19
@mavi888
Copy link
Contributor

mavi888 commented Oct 10, 2023

Thanks for submitting your pattern.
Now this pattern is public in Serverless land

https://serverlessland.com/patterns/aurora-serverless-global-db-cdk

You can share your pattern using this link :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants