This project is published as a solution in the Amazon Web Services Solutions Library. For more information, including how to deploy it into your AWS account, please visit:
This package contains classes for AWS Cloud Development Kit (CDK) based deployment for Disaster Recovery Factory.
It also contains several bash scripts under bash/
folder to facilitate resource provisioning.
Note that as an end user, you do not need to directly use this package.
Deploy this project into your AWS account through the one-click button in the solution page.
The following environmental parameters are checked during synthesizing CloudFormation templates:
Parameter | Value | Notes |
---|---|---|
REGION |
AWS region, such as cn-north-1 |
If it starts with cn- , a China-specific endpoint is used for VPC endpoints. |
DBDUMP_MYSQL_DUMP_IMAGE |
Public ECR image URL | If undefined, it creates a ECR repository and refers there. |
DYNAMO_IMAGE |
Public ECR image URL | If undefined, it creates a ECR repository and refers there. |
S3_IMAGE |
Public ECR image URL | If undefined, it creates a ECR repository and refers there. |
The cdk.json
is defined as
{
"app": "java -jar $CDK_JAR"
}
Therefore, you need to export the path to the executable jar
file before running cdk
, such as
export CDK_JAR=build/BCSDisasterRecoveryPortalFormation-1.0-exe.jar
The following blog articles introduce in depth how this solution works and how to make the most out of it.