Sample CDK application for configure multi-region disaster recovery environment with AWS.
Requirements:
- Static IP addresses disclosure
- pt1-nlb: Configuration pattern using NLB
- pt2-ga: Configuration pattern using AWS GLobal Accelerator
- NLB Pattern
- AWS Global Accelerator Pattern
First, define the context as follows:
{
...
"context": {
...
"owner": "user",
"serviceName": "myapp",
"hostedZoneName": "your-domain.com"
}
}
Deploy resources with the following command:
npx cdk synth
npx cdk deploy