Member-only story
Automating AWS Infrastructure with Python: My PyCon 2025 CDK Demo
At PyCon 2025 Singapore, I had the opportunity to present a live demo on how to automate AWS infrastructure using AWS CDK (Cloud Development Kit) with Python.
As promised during the session at SIT Singapore, I’ve open-sourced the full codebase here:
👉 GitHub: sreedharbukya/pycon-cdk-demo
This article walks through the project’s purpose, architecture, key constructs, and what I learned along the way — with guidance for you to get started.
💡 Why This Project?
Cloud infrastructure has become complex, and many teams still rely on a patchwork of manual setups, scripts, or tools like Terraform with steep learning curves.
This project was built to demonstrate how:
- You can define AWS infrastructure in Python — a language most developers already know.
- CDK lets you encapsulate best practices into reusable constructs.
- IaC (Infrastructure as Code) can be readable, testable, and version-controlled.
Whether you’re a Python developer curious about DevOps, or a cloud engineer looking to simplify deployments, this project can be your quick start.
🔍 What It Does
The pycon-cdk-demo
repository defines a simple but realistic AWS architecture using CDK. Here's what it includes: