Skip to main content

Python and Pulumi

Tutorials, templates, examples, blog posts, and workshops to help you build and manage your infrastructure with Python.

Browse all
Tutorials

Learn by doing

View all 32
Tutorial

ChatGPT clone with Pulumi ESC managed secrets

Use the Pulumi CLI and ESC SDK to manage secrets for a basic OpenAI-based ChatGPT clone.
15 min
Tutorial

Evaluate Compliance of Terraform Resources

Learn how to use Pulumi Insights to evaluate compliance of resources that are deployed with Terraform.
15 min
TutorialAWS

Importing Infrastructure

Learn how to import existing cloud resources into your Pulumi programs in this tutorial.
15 min
TutorialAzure

Importing Infrastructure

Learn how to import existing cloud resources into your Pulumi programs in this tutorial.
15 min
TutorialGoogle Cloud

Importing Infrastructure

Learn how to import existing cloud resources into your Pulumi programs in this tutorial.
15 min
Tutorial

Install Helm Charts using the Chart resource

Learn how to use the `Chart` resource from the Pulumi Kubernetes provider to install Helm charts on Kubernetes.
10 min
Tutorial

Install Helm Charts using the Release resource

Learn how to use the `Release` resource from the Pulumi Kubernetes provider to install Helm charts on Kubernetes.
10 min
Tutorial

Integrate Pulumi with Secret Store CSI Driver in Kubernetes

Learn how to integrate the Secret Store CSI Driver with Pulumi ESC to securely manage your secrets in Kubernetes.
15 min
Tutorial

Integrate with External Secrets Operator (ESO)

Pulumi ESC integrates with the External Secrets Operator (ESO) to manage and deliver secrets in Kubernetes clusters.
15 min
Tutorial

Pulumi Fundamentals

Learn how to use Pulumi to build, configure, and deploy a real-world application.
3 topics
25 min
Tutorial

Managing Configuration and Secrets

Learn how to manage plain-text and encrypted configuration values in Pulumi.
10 min
Tutorial

Move Resources Between Stacks

Learn how to move resources between stacks or projects.
15 min
Templates

Bootstrap new projects

View all 36
Examples

Browse real-world programs

View all 71
From the blog

Keep your skills current

View all 15
Blog PostApr 2023

Advanced AWS Networking: Part 1

Learn how to create a hub-and-spoke architecture in AWS using Pulumi with Python. This is Part 1 of a 2 Part series.
Josh Kodroff +2
Blog PostApr 2023

Advanced AWS Networking: Part 2

Learn how to create a hub-and-spoke architecture in AWS using Pulumi with Python. This is Part 2 of a 2 part series.
Josh Kodroff +2
Blog PostAug 2020

Creating a Python AWS Application Using Flask and Redis

A tutorial on how to create a Python AWS application using Flask, Redis, and Pulumi.
Vova Ivanov
Blog PostMar 2021

Data Science in the Cloud

With Pulumi Automation API, deploy and manage infrastructure such as websites, storage, and databases within a Jupyter notebook.
Sophia Parafina
Blog PostJun 2026

Deploy a Private Hermes Agent on Render Securely with Pulumi, Modal, and Tailscale

Deploy a self-hosted Hermes agent as one Pulumi program across Render, Modal, and Tailscale — a code-executing AI agent with nothing on the public internet.
Engin Diri
Blog PostAug 2020

How to Deploy a Django Application to AWS

Learn how to deploy a secure Django app to AWS using Pulumi and Docker. This tutorial covers MySQL setup, Fargate deployment, and secret management.
Vova Ivanov
Blog PostAug 2020

Deploying a MySQL schema using Dynamic Providers

Leveraging Pulumi Dynamic Providers to expand opportunities in cloud architecture design
Vova Ivanov
Blog PostSep 2023

Deploy AI Models on Amazon SageMaker using Pulumi Python IaC

Guided short tutorial on starting a Pulumi infrastructure as code project to deploy Hugging Face LLMs on Amazon SageMaker machine learning platform with Python
Kat Morgan
Blog PostAug 2023

The Real AI Challenge is Cloud, not Code!

Accelerating AI/ML innovation with infrastructure as code through a hands-on journey to deploy your own chatbot
Kat Morgan
Blog PostFeb 2026

How We Load Data into Snowflake in Seconds with Pulumi

Learn how we load data into Snowflake in seconds using Firehose direct streaming and reusable Pulumi ComponentResources.
Pablo Seibelt and Lucas Crespo
Blog PostApr 2019

Programming the Cloud with Python

See how to use Pulumi and Python to automate provisioning of cloud infrastructure and delivery of applications.
Sean Gilespie
Blog PostFeb 2021

Zero Downtime InfluxDB Migration with Pulumi and Aiven

Zero downtime Pulumi in Aiven when transferring InfluxDB from cloud to cloud.
Trevor Kennedy
Workshops

Get hands-on live — or catch a recording

WorkshopOn demand

Build an ETL pipeline with Amazon Redshift and AWS Glue

Learn how to combine AWS Glue and Amazon Redshift to build a fully-automated ETL pipeline with Pulumi. We'll use three components to complete our example.
Aaron Kao
WorkshopOn demand

Building a Developer Platform with AKS and Cosmos DB

Set up a platform that includes Azure Kubernetes Service (AKS) with storage by Azure Cosmos DB with API support for MongoDB – using Python and Pulumi.
Mitch Gerdisch
WorkshopOn demand

Deploying LLMs on GKE with NVIDIA GPUs & Google Cloud

Deploy a Mixtral 8x7B LLM on GKE with NVIDIA GPUs using Pulumi and Python. Learn to build scalable, GPU-enabled AI workloads on Google Cloud.
Engin Diri and Jason Smith
WorkshopOn demand

Policy as Code on AWS

In this session, we will show you how to enforce best practices by creating policies that scale from a single infrastructure stack to your entire organization
Josh Kodroff and Marina Novikova
WorkshopOn demand

Getting started on AWS with Python

Learn how Pulumi makes working with AWS easier by using general-purpose languages like Python to manage infrastructure resources.
Engin Diri
WorkshopOn demand

Getting Started with Infrastructure as Code on Google Cloud

Workshop on infrastructure as code for Google Cloud, showing how to define, deploy, and manage GCP resources using general-purpose programming languages.
Adam Bell
WorkshopOn demand

Production-Ready Networking on AWS with Python

Hands-on Workshop: Learn to apply Infrastructure as Code concepts to build a hub and spoke network topology with an inspection VPC.
Josh Kodroff
WorkshopOn demand

Serverless Apps with Google Cloud Run and Pulumi

Learn how to deploy applications effortlessly on Cloud Run with Pulumi, use containerization with Docker, and manage Google Cloud resources with code.
Monica Rodriguez

The infrastructure as code platform for any cloud.