Get Started with AWS CDK

GETTING STARTED GUIDE

Introduction

Follow step-by-step instructions to learn all about the AWS Cloud Development Kit (CDK)

Overview

In this guide, we will take you though setting up and configuring the AWS Cloud Development Kit (CDK) on your workstation, and getting you up and running to create your first AWS resources with Infrastructure as Code. 

AWS CDK is an open source software development framework that allows you to define your cloud application resources using familiar programming languages, like JavaScript, TypeScript, Python, Java, C#, and Go. The code you write gets transpiled into CloudFormation (CFN) templates, and creates the infrastructure using AWS CloudFormation.

What You Will Learn

In this guide, you will learn how to:

  • Install and configure the AWS CDK CLI
  • Create your first CDK project
  • Deploy your first infrastructure

Prerequisites

Before Starting this guide, you will need

  • An AWS account. If you don't already have one follow the Setup Your Environment getting started guide for a quick overview.

 AWS Experience

Beginner

 Time to Complete

 

25 minutes

 Cost to Complete

Free Tier eligible

 Requires

  • AWS Account with administrator-level access**
  • Recommended browser: The latest version of Chrome or Firefox

[**]Accounts created within the past 24 hours might not yet have access to the services required for this tutorial.

Modules

This tutorial is divided into the following short modules. You must complete each module before moving to the next one.

  1. Understanding CDK Requirements (5mins): Understand what is needed to run CDK on your workstation.
  2. Installing the CDK CLI (5mins): Install and configure the AWS CDK CLI on your Workstation and on Cloud9.
  3. Creating your first CDK project (15mins): Initializing your first CDK project and deploying your first bit of Infrastructure to AWS.

Understand CDK Requirements