简体   繁体   English

是否可以使用 AWS PYTHON CDK 或最糟糕的 Cloud Formation 启用跨区域自动备份复制

[英]Is it possible to enable Cross-Region Automated Backup Replication using AWS PYTHON CDK or at worst Cloud Formation

Summarizing, I'm looking for a way to enable in AWS, automated cross-region backup replication.总而言之,我正在寻找一种在 AWS 中启用自动跨区域备份复制的方法。 This is not a question about Multi-AZ databases or Read-Replicas.这不是关于多可用区数据库或只读副本的问题。

I've looked at the documentation and have not seen a way to do this using the Python CDK or at worst CloudFormation.我查看了文档,但没有看到使用 Python CDK 或最糟糕的是 CloudFormation 的方法。

The overview of the task is Basic Description任务概述是基本描述

The CLI appears to offer the ability to do this. CLI似乎提供了执行此操作的能力。

I've looked at Cloud Formation and CDK but did not see this ability.我看过Cloud FormationCDK但没有看到这种能力。

Having researched the documentation thoroughly I have concluded this is not possible with the current offers;在彻底研究了文档后,我得出结论,目前的报价不可能做到这一点; as of time of writing.截至撰写本文时。

My solution for this was to implement custom cdk resources我的解决方案是实现自定义 cdk 资源

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-custom-resources.html https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/template-custom-resources.html

https://docs.aws.amazon.com/cdk/api/v1/python/aws_cdk.custom_resources/AwsCustomResource.html https://docs.aws.amazon.com/cdk/api/v1/python/aws_cdk.custom_resources/AwsCustomResource.html

https://github.com/aws/aws-cdk/tree/master/packages/@aws-cdk/custom-resources https://github.com/aws/aws-cdk/tree/master/packages/@aws-cdk/custom-resources

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM