---
title: "Hands-on Infrastructure as Code with AWS CDK - the book is available"
author: "Erik Lundevall-Zara"
date: "2025-04-25"
date-modified: "2025-04-25"
categories:
    - productivity
    - book
    - aws
    - awscdk
    - python

image: hands_on_cdk_book.png
---

If are looking for a useful option to managed AWS infrastructure from code, and you are happy to use Python for that, then this little online e-bookm may be for you!

This book is an introduction to use the AWS Cloud Development Kit (AWS CDK) using Python as the language of choice.
The AWS CDK is a nice tool that provides a much nicer experience to set up infrastructure as code on AWS, compared to CloudFormation.
It is essentially a transpiler that will use a programming language to define your AWS infrastructure, and also provides a much nicer developer experience than you get if you work with CloudFormation.

The AWS CDK is written in TypeScript, but supports defining infrastructure in multiple programming languages.
Python is the second most popular language for AWS CDK, after TypeScript.

For many people, Python will fit better, since it may be more widely used for infrastructure and operations tasks compared to TypeScript.

The online book is available at [https://cloudgnosis.com/hands-on-iac-awscdk/](https://cloudgnosis.com/hands-on-iac-awscdk/) for free, just jump there and read it!
There is also a Codeberg repository with the code from the different chapters in the book as well, at
[https://codeberg.org/eriklz/hands-on-iac-awscdk-code](https://codeberg.org/eriklz/hands-on-iac-awscdk-code).

The book is based on a series of blog posts I wrote before for TypeScript.
The book is updated with some newer material compared to the blog posts, and focused on Python.

I hope you will like it!

/Erik


