AWS CDK with Python – Step by Step
Course Description
A clear, hands-on path to understanding AWS CDK v2 with Python — from fundamentals to multi-stack architectures and testing.
Infrastructure as Code (IaC) is now essential for modern cloud development, and the AWS Cloud Development Kit (CDK) allows you to define AWS infrastructure using familiar programming languages. In this course, you’ll learn to build real AWS architectures using Python and AWS CDK v2 — the latest version of the Cloud Development Kit, built natively on v2 from the start.
You’ll start by setting up your CDK environment and understanding how CDK translates your Python code into CloudFormation templates. Then, you’ll move beyond the basics to explore constructs, networking, assets, and multi-stack applications, applying each concept with hands-on AWS examples including Lambda, DynamoDB, API Gateway, EC2, and S3.
You'll also learn how to test and validate your infrastructure code using Pytest and CDK Assertions, and apply Aspects to automate tagging, validation, and compliance checks — ensuring your deployments are consistent and secure.
Each lesson is designed to be clear, structured, and practical, showing not only how to use CDK but why each configuration behaves the way it does. By combining theory with guided demonstrations, you’ll gain the skills and confidence to build and manage AWS infrastructure programmatically using Python — step by step.