Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Continuous Delivery with CDK Pipelines

Continuous Delivery with CDK Pipelines

Avatar for Mahesh

Mahesh

June 23, 2021

More Decks by Mahesh

Other Decks in Programming

Transcript

  1. What is CDK? • Software development framework • JavaScript, TypeScript,

    java, GO, python, C#, F# • Provides high level object oriented abstraction of AWS services
  2. Why CDK? • CDK enables the usage of logic when

    defining architectures • Use object-oriented concepts to create a model of application infrastructure • CDK enables the project to be organized into logical modules • Share and reuse infrastructure as a library • All the advantages which your IDE provides
  3. CDK Application Components - Stack • Basic deployment unit in

    CDK • All constructs belong to a Stack construct • Implemented using a CloudFormation stack
  4. CDK Application Components - APP • Root of the construct

    tree • Used as the scope for stack constructs • Can have multiple stacks
  5. CDK Construct Library • Level 1 constructs • Represents an

    AWS resource • Level 2 constructs • Intent based constructs based around multiple AWS resources • Level 3 constructs • An application or a pattern of application infrastructure
  6. Pre requisites • Existing project with CDK • AWS CLI

    configured with a valid IAM user • GitHub account • CDK 1.51.0 or later • Personal access token to your GitHub account. • Personal access token should have repo and admin:repo_hook scopes. • Node.js >= 10.3.0 • Favorite IDE