aws / aws-cdk

The AWS Cloud Development Kit is a framework for defining cloud infrastructure in code
https://aws.amazon.com/cdk
Apache License 2.0
11.48k stars 3.83k forks source link

neptune: Add replica for multi region on AWS Neptune #27988

Open hugo-alvarez-bold opened 9 months ago

hugo-alvarez-bold commented 9 months ago

Describe the feature

We need a feature on CDK to add replica data on Neptune for my services that use multiple regions

Use Case

We need to implement a multi region services in our architecture for regulations purpose on our fintech company, and we use this service to avoid fraud in our transactions.

Proposed Solution

No response

Other Information

No response

Acknowledgements

CDK version used

2.83.1

Environment details (OS name and version, etc.)

python 3.7.6

pahud commented 9 months ago

Makes sense. At this moment, aws-neptune does not have L2 constructs. If cloudformation has native support that, we can build a L2 with the support, otherwise the custom resources might be required.

hugo-alvarez-bold commented 9 months ago

looking in the docs on Cloudformation Neptune, there is not an attribute or class like dynamoDB GlobalTable can help with this either

triggan commented 8 months ago

Amazon Neptune has a feature called Neptune Global Database which allows you to have read-only secondary clusters in separate regions from the primary cluster. At present, this feature does not have CloudFormation support. You would need to use a CustomResource construct to implement this in CDK.