Infrastructure as code with the
AWS Cloud Development Kit (AWS
CDK)
Cloud Accelerate Lab
Agenda
Intro and concepts
Lab: Build some infra
Questions
“The enabling idea of infrastructure as
code is that the systems and devices
which are used to run software
canbetreatedasifthey
,themselves,
aresoftware.”
Kief Morris, Author, CloudSpecialist
Sample Cloud
Infrastructure
WhyInfrastructureas
Code?
Repeatable
Automation Versioned
AWS Cloud Development Kit (AWSCDK)
A multi-language software development framework for modeling cloud
infrastructure as reusable components
AWS
s,Inc.or its affiliates. All rights reserved.
SU M M I T © 2019, Amazon Web Service
Cloud DevelopmentKit
Apps
• Executable program
• Used to render and deploy cfn templates
Stacks
• Deployable unit
• Knows about region andaccount
Constructs
• Representations of AWSresources
• Can form a hierarchical treestructure
AWS Cloud Development Kit (AWS CDK)
The big picture—from AWS CDK app to provisioned
infrastructure
AWS Construct Library
Framework CLI
CDKApplication
Stack(s)
Construct
Construct
Core Framework AWS CDK CLI
Containers CI/CD
Serverless Applicat ion Integration / Foundational
Autoscaling
AWS Cloud Development Kit (AWS
CDK)
Main components
CDK Workflow
Questions?

Infrastructure as Code and AWS CDK