What you'll learn:
- Define and deploy Infrastructure as Code (IaC) using AWS CDK v2 with Python.
- Understand the CDK app lifecycle — from initialization to synthesis, deployment, and cleanup.
- Use L1, L2, and L3 constructs effectively, and know how to select the right abstraction level.
- Configure networking and assets with CDK, including VPCs, connections, and S3 buckets.
- Work with cross-stack references and nested stacks for multi-stack architectures.
- Apply CDK Aspects for tagging, validation, and automated compliance checks.
- Write unit tests in Python using Pytest and CDK Assertions.
- Learn to use AWS CDK Construct Library as a reference to find the constructs for your solution.
- Deploy and connect real AWS resources such as Lambda, DynamoDB, API Gateway, and EC2.
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.