Skip to content

nekrassov01/cdk-dr-sample

Repository files navigation

cdk-dr-sample

Sample CDK application for configure multi-region disaster recovery environment with AWS.

Requirements:

  • Static IP addresses disclosure

Branch

  • pt1-nlb: Configuration pattern using NLB
  • pt2-ga: Configuration pattern using AWS GLobal Accelerator

Diagram

  • NLB Pattern

diagram_pt1

  • AWS Global Accelerator Pattern

diagram_pt2

Prerequisites

First, define the context as follows:

{
  ...
  "context": {
    ...
    "owner": "user",
    "serviceName": "myapp",
    "hostedZoneName": "your-domain.com"
  }
}

Usage

Deploy resources with the following command:

npx cdk synth
npx cdk deploy

About

Multi-region stacks included VPC, ALB, EC2, and RDS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published