Infrastructure as Code

Build Cloud Infrastructure
with Python

A technical reference for DevOps engineers and cloud architects adopting Python-based IaC. In-depth guides on Pulumi and CDKTF across AWS, Azure, GCP and Kubernetes — state management, secrets, testing, cost governance and CI/CD automation.

Explore the Guides

Structured learning paths covering Python IaC from fundamentals to production-grade patterns.

Python IaC Fundamentals

Strategy, design principles, toolchain setup, and why Python is replacing HCL for modern infrastructure.

  • Dev environment setup
  • IaC design principles
  • Python vs Terraform
  • Testing Python IaC
  • Security & compliance basics
  • Cost & governance
Explore section

CDKTF Workflows

Synthesize Terraform HCL from Python constructs. Provider bridging, state backends, and CI/CD pipelines.

  • Python constructs & modules
  • Provider bridging
  • Remote state backends
  • Importing existing infrastructure
  • Testing & CI/CD pipelines
Explore section

Pulumi Patterns

ComponentResource patterns, provider lifecycle across AWS, Azure, GCP and Kubernetes, secrets handling, and policy enforcement.

  • AWS, Azure & GCP providers
  • Kubernetes with Python
  • Secrets & configuration
  • Stack architecture
  • Policy as code (CrossGuard)
  • Automation API
Explore section

Start Here

The pages most teams need first when moving infrastructure to Python.

Syntax-highlighted code examples
Security-first design patterns
Real-world test patterns
CI/CD pipeline guides