Skip to content

CDK pipelines example with cicd, dev, and prod AWS accounts setup from the ground up

Notifications You must be signed in to change notification settings

CatenaryCloudHQ/cdk-pipelines-example

Repository files navigation

Cdk Pipelines with accounts setup

This is CDK learning project that teaches how to setup AWS accounts for CDK Pipelines from ground up.

AWS Organizations

We assume one existing aws account with admin permissions. We are going to setup following structure.

There are three organization units (ou):

  1. Shared OU for CICD account with Codepipeline to deploy applications in target accounts
  2. ApplicationX OU for accounts to develop, test and deploy applicationX
flowchart TB
    subgraph root
        ma["master account"]
    end

    subgraph sharedou["Shared OU"]
        cicd["cicd account"]
    end

    subgraph appx["ApplicationX OU"]
        dev["AppX dev account"]
        prod["AppX prod account"]
    end

    ma --> sharedou

    cicd -->|trust| dev

    cicd -->|trust| prod
Loading

npm install -g aws-organization-formation

About

CDK pipelines example with cicd, dev, and prod AWS accounts setup from the ground up

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published