---
title: "Python and Pulumi"
description: "Tutorials, templates, examples, blog posts, and workshops to help you build and manage your infrastructure with Python."
url: "https://www.pulumi.com/dev/language/python/"
image: "https://www.pulumi.com/assets/og/dev/language/python.png"
---

# Python and Pulumi

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

## Tutorials

- [ChatGPT clone with Pulumi ESC managed secrets](https://www.pulumi.com/dev/tutorials/esc-managed-chatapp.md): Use the Pulumi CLI and ESC SDK to manage secrets for a basic OpenAI-based ChatGPT clone. — Python, YAML
- [Evaluate Compliance of Terraform Resources](https://www.pulumi.com/dev/tutorials/eval-compliance-terraform.md): Learn how to use Pulumi Discovery and Pulumi Policies to evaluate compliance of resources that are deployed with Terraform. — Python
- [Importing Infrastructure](https://www.pulumi.com/dev/tutorials/importing-aws-infrastructure.md): Learn how to import existing cloud resources into your Pulumi programs in this tutorial. — AWS · TypeScript, Python, Go, .NET, YAML
- [Importing Infrastructure](https://www.pulumi.com/dev/tutorials/importing-azure-infrastructure.md): Learn how to import existing cloud resources into your Pulumi programs in this tutorial. — Azure · TypeScript, Python, Go, .NET, YAML
- [Importing Infrastructure](https://www.pulumi.com/dev/tutorials/importing-gcp-infrastructure.md): Learn how to import existing cloud resources into your Pulumi programs in this tutorial. — Google Cloud · TypeScript, Python, Go, .NET, YAML
- [Install Helm Charts using the Chart resource](https://www.pulumi.com/dev/tutorials/kubernetes-helm-part-two.md): Learn how to use the `Chart` resource from the Pulumi Kubernetes provider to install Helm charts on Kubernetes. — Kubernetes · TypeScript, Python, Go, .NET, YAML
- [Install Helm Charts using the Release resource](https://www.pulumi.com/dev/tutorials/kubernetes-helm-part-one.md): Learn how to use the `Release` resource from the Pulumi Kubernetes provider to install Helm charts on Kubernetes. — Kubernetes · TypeScript, Python, Go, .NET, YAML
- [Integrate Pulumi with Secret Store CSI Driver in Kubernetes](https://www.pulumi.com/dev/tutorials/esc-secret-store-csi-driver.md): Learn how to integrate the Secret Store CSI Driver with Pulumi ESC to securely manage your secrets in Kubernetes. — Kubernetes · TypeScript, JavaScript, Python, Go, .NET, YAML
- [Integrate with External Secrets Operator (ESO)](https://www.pulumi.com/dev/tutorials/esc-external-secret-operator.md): Pulumi ESC integrates with the External Secrets Operator (ESO) to manage and deliver secrets in Kubernetes clusters. — Kubernetes · TypeScript, Python, Go, YAML
- [Pulumi Fundamentals](https://www.pulumi.com/dev/tutorials/pulumi-fundamentals/): Learn how to use Pulumi to build, configure, and deploy a real-world application. — TypeScript, Python, YAML
- [Managing Configuration and Secrets](https://www.pulumi.com/dev/tutorials/managing-config-and-secrets.md): Learn how to manage plain-text and encrypted configuration values in Pulumi. — TypeScript, Python, Go, .NET, Java, YAML
- [Move Resources Between Stacks](https://www.pulumi.com/dev/tutorials/move-resources-between-stacks.md): Learn how to move resources between stacks or projects. — TypeScript, JavaScript, Python, Go, .NET, YAML
- [Inspecting Infrastructure](https://www.pulumi.com/dev/tutorials/inspecting-infrastructure.md): Learn how to inspect your Pulumi resources in this tutorial. — TypeScript, Python, Go, .NET, Java, YAML
- [Building with Pulumi](https://www.pulumi.com/dev/tutorials/building-with-pulumi/): Learn how to use Pulumi for more complex configurations with multiple environments. — TypeScript, Python, Go, .NET, Java, YAML
- [Abstraction and Encapsulation](https://www.pulumi.com/dev/tutorials/abstraction-encapsulation/): Explore abstraction and encapsulation with Pulumi and component resources. — TypeScript, Python
- [Azure Kubernetes Service (AKS): Hello World](https://www.pulumi.com/dev/tutorials/aks.md): Use Python and Pulumi to provision an Azure Kubernetes Service (AKS) cluster and deploy an NGINX workload with the Pulumi Kubernetes provider. — Azure, Kubernetes · Python
- [Build and push container images to Amazon ECR](https://www.pulumi.com/dev/tutorials/aws-ecr.md): Provision ECR repositories, build and publish images, and manage lifecycle policies with AWSx. — AWS · TypeScript, Python, Go, .NET, Java, YAML
- [Build serverless APIs with Amazon API Gateway](https://www.pulumi.com/dev/tutorials/aws-api-gateway.md): Create and manage API Gateway REST APIs — Lambda, S3, HTTP proxies, auth, and more — with AWSx. — AWS · TypeScript, Python, Go, .NET, Java, YAML
- [Creating a Custom Policy Pack](https://www.pulumi.com/dev/tutorials/custom-policy-pack/): Learn how to enforce compliance and security requirements by creating a custom policy pack with Pulumi Policies. — AWS · TypeScript, Python
- [Creating Resources](https://www.pulumi.com/dev/tutorials/creating-resources-aws.md): Learn how to define and provision resources on AWS using Pulumi. — AWS · TypeScript, Python, YAML
- [Creating Resources](https://www.pulumi.com/dev/tutorials/creating-resources-azure.md): Learn how to define and provision resources on Azure using Pulumi. — Azure · TypeScript, JavaScript, Python, Go, .NET, YAML
- [Creating Resources](https://www.pulumi.com/dev/tutorials/creating-resources-gcp.md): Learn how to define and provision resources on Google Cloud using Pulumi. — Google Cloud · TypeScript, JavaScript, Python, Go, .NET, YAML
- [Creating Resources](https://www.pulumi.com/dev/tutorials/creating-resources-kubernetes.md): Learn how to define and provision resources on Kubernetes using Pulumi. — Kubernetes · TypeScript, JavaScript, Python, Go, .NET, YAML
- [Deleting Helm Chart Default Values](https://www.pulumi.com/dev/tutorials/deleting-helm-chart-default-values.md): Learn how to remove a Helm chart default value in Pulumi by setting it to null. — Kubernetes · TypeScript, Python, Go, .NET, Java, YAML
- [Deploy a Web Server to AWS EC2](https://www.pulumi.com/dev/tutorials/ec2-webserver.md): Deploy a simple web server to an Amazon EC2 instance using Pulumi. — AWS · TypeScript, Python, .NET
- [Deploy containerized applications to Amazon ECS](https://www.pulumi.com/dev/tutorials/aws-ecs.md): Load-balanced Fargate services, custom VPC networking, and automatic container image builds with AWSx. — AWS · TypeScript, Python, Go, .NET, Java, YAML
- [Deploy the Kubernetes Guestbook App](https://www.pulumi.com/dev/tutorials/guestbook.md): Build and deploy the multi-tier Kubernetes Guestbook app with Redis and Nginx using Pulumi. — Kubernetes · TypeScript, Python, Go, .NET
- [Detect and Remediate Infrastructure Drift](https://www.pulumi.com/dev/tutorials/drift-detection-and-remediation.md): Learn to detect and remediate infrastructure drift with Pulumi Deployments. — AWS · TypeScript, Python, Go, .NET, YAML
- [Embedding Pulumi](https://www.pulumi.com/dev/tutorials/embedding-pulumi/): Explore building a custom infrastructure API to embed Pulumi in other contexts. — Python
- [Enhanced Region Support in AWS](https://www.pulumi.com/dev/tutorials/aws-enhanced-region-support.md): Manage multi-Region AWS infrastructure with the per-resource region argument in Pulumi AWS Provider v7. — AWS · TypeScript, Python, Go, .NET, Java, YAML
- [Load-balance traffic on AWS with ELB](https://www.pulumi.com/dev/tutorials/aws-elb.md): Provision Application and Network Load Balancers and wire them to your AWS services with AWSx. — AWS · TypeScript, Python, Go, .NET, Java, YAML
- [Manage access with AWS IAM](https://www.pulumi.com/dev/tutorials/aws-iam.md): Create and manage AWS users, groups, roles, and policies with Pulumi. — AWS · TypeScript, Python, Go, .NET, Java, YAML
- [Managing Resources with Server-Side Apply](https://www.pulumi.com/dev/tutorials/managing-resources-with-server-side-apply.md): Manage Kubernetes resources with Server-Side Apply using Pulumi. — Kubernetes · TypeScript, Python, Go, .NET, Java, YAML
- [Provision an AWS VPC](https://www.pulumi.com/dev/tutorials/aws-vpc.md): Out-of-the-box VPC networking that follows AWS best practices, with AWSx. — AWS · TypeScript, Python, Go, .NET, Java, YAML
- [Run Kubernetes on Amazon EKS](https://www.pulumi.com/dev/tutorials/aws-eks.md): Provision EKS clusters, node groups, and Kubernetes workloads — including Helm charts — with Pulumi. — AWS, Kubernetes · TypeScript, Python, Go, .NET, Java, YAML
- [Run serverless functions on AWS Lambda](https://www.pulumi.com/dev/tutorials/aws-lambda.md): Build serverless applications with AWS Lambda and Pulumi, including magic functions. — AWS · TypeScript, Python, Go, .NET, Java, YAML
- [Stack Outputs & References](https://www.pulumi.com/dev/tutorials/stack-outputs-refs-aws.md): Learn more about exporting and referencing stack outputs in Pulumi. — AWS · TypeScript, JavaScript, Python, Go, .NET, YAML
- [Stack Outputs & References](https://www.pulumi.com/dev/tutorials/stack-outputs-refs-azure.md): Learn more about exporting and referencing stack outputs in Pulumi. — Azure · TypeScript, JavaScript, Python, Go, .NET, YAML
- [Stack Outputs & References](https://www.pulumi.com/dev/tutorials/stack-outputs-refs-gcp.md): Learn more about exporting and referencing stack outputs in Pulumi. — Google Cloud · TypeScript, JavaScript, Python, Go, .NET, YAML
- [Typed CustomResources with Provider Extensions](https://www.pulumi.com/dev/tutorials/typed-customresources-with-provider-extensions.md): Generate typed SDKs for your Kubernetes CRDs with Pulumi provider extensions. — Kubernetes · TypeScript, Python, Go, .NET, Java, YAML

## Templates

- [AWS Python Starter](https://www.pulumi.com/dev/templates/aws-python.md): A minimal AWS Python Pulumi program — AWS · Python · One-click deploy
- [Azure Python Starter](https://www.pulumi.com/dev/templates/azure-python.md): A minimal Azure Native Python Pulumi program — Azure · Python · One-click deploy
- [Google Cloud Python Starter](https://www.pulumi.com/dev/templates/gcp-python.md): A minimal Google Cloud Python Pulumi program — Google Cloud · Python · One-click deploy
- [Kubernetes Python Starter](https://www.pulumi.com/dev/templates/kubernetes-python.md): A minimal Kubernetes Python Pulumi program — Kubernetes · Python · One-click deploy
- [Container Service on AWS](https://www.pulumi.com/dev/templates/container-service/aws.md): Deploy a container service on AWS with Pulumi and Amazon ECS. — AWS · TypeScript, Python, Go, .NET, YAML, HCL · One-click deploy
- [Container Service on Azure](https://www.pulumi.com/dev/templates/container-service/azure.md): Deploy a container service on Azure with Pulumi and Azure Container Instances. — Azure · TypeScript, Python, Go, .NET, HCL · One-click deploy
- [Container Service on Google Cloud](https://www.pulumi.com/dev/templates/container-service/gcp.md): Deploy a container service on Google Cloud with Pulumi and Google Cloud Run. — Google Cloud · TypeScript, Python, Go, .NET, HCL · One-click deploy
- [Helm Chart on Kubernetes](https://www.pulumi.com/dev/templates/kubernetes-application/helm-chart.md): Deploy a Helm chart to a Kubernetes cluster with Pulumi. — Kubernetes · TypeScript, Python, Go, .NET, YAML, HCL · One-click deploy
- [Web Application on Kubernetes](https://www.pulumi.com/dev/templates/kubernetes-application/web-application.md): Deploy a web application to a Kubernetes cluster with Pulumi. — Kubernetes · TypeScript, Python, Go, .NET, YAML, HCL · One-click deploy
- [Kubernetes Cluster on AWS](https://www.pulumi.com/dev/templates/kubernetes/aws.md): Deploy a Kubernetes cluster on AWS with Pulumi and Amazon EKS. — AWS · TypeScript, Python, Go, .NET, YAML, HCL · One-click deploy
- [Kubernetes Cluster on Azure](https://www.pulumi.com/dev/templates/kubernetes/azure.md): Deploy a Kubernetes cluster on Azure with Pulumi and Azure Kubernetes Service (AKS). — Azure · TypeScript, Python, Go, .NET, YAML, HCL · One-click deploy
- [Kubernetes Cluster on Google Cloud](https://www.pulumi.com/dev/templates/kubernetes/gcp.md): Deploy a Kubernetes cluster on Google Cloud with Pulumi and Google Kubernetes Engine (GKE). — Google Cloud · TypeScript, Python, Go, .NET, YAML, HCL · One-click deploy
- [AWS Serverless Application](https://www.pulumi.com/dev/templates/serverless-application/aws.md): Deploy a serverless application on AWS with Pulumi, AWS Lambda, and Amazon API Gateway. — AWS · TypeScript, Python, Go, .NET, YAML, HCL · One-click deploy
- [Azure Serverless Application](https://www.pulumi.com/dev/templates/serverless-application/azure.md): Deploy a serverless application on Azure with Pulumi, Azure Functions, and Azure Blob Storage. — Azure · TypeScript, Python, Go, .NET, YAML, HCL · One-click deploy
- [Cloudflare Serverless Application](https://www.pulumi.com/dev/templates/serverless-application/cloudflare.md): Deploy a serverless application on Cloudflare with Pulumi, Cloudflare Workers, and Workers KV. — Cloudflare · TypeScript, Python, Go, .NET, YAML, HCL · One-click deploy
- [Google Cloud Serverless Application](https://www.pulumi.com/dev/templates/serverless-application/gcp.md): Deploy a serverless application on Google Cloud with Pulumi, Cloud Functions, and Cloud Storage. — Google Cloud · TypeScript, Python, Go, .NET, YAML, HCL · One-click deploy
- [AWS Static Website](https://www.pulumi.com/dev/templates/static-website/aws.md): Deploy a static website on AWS with Pulumi, Amazon S3, and Amazon CloudFront. — AWS · TypeScript, Python, Go, .NET, YAML, HCL · One-click deploy
- [Azure Static Website](https://www.pulumi.com/dev/templates/static-website/azure.md): Deploy a static website on Azure with Pulumi and Azure Blob Storage. — Azure · TypeScript, Python, Go, .NET, YAML, HCL · One-click deploy
- [Cloudflare Static Website](https://www.pulumi.com/dev/templates/static-website/cloudflare.md): Deploy a static website on Cloudflare with Pulumi and Cloudflare Workers. — Cloudflare · TypeScript, Python, Go, .NET, YAML, HCL · One-click deploy
- [Google Cloud Static Website](https://www.pulumi.com/dev/templates/static-website/gcp.md): Deploy a static website on Google Cloud with Pulumi, Cloud Storage, and Cloud CDN. — Google Cloud · TypeScript, Python, Go, .NET, YAML, HCL · One-click deploy
- [Virtual Machine on AWS](https://www.pulumi.com/dev/templates/virtual-machine/aws.md): Deploy a virtual machine on AWS with Pulumi and Amazon EC2. — AWS · TypeScript, Python, Go, .NET, YAML, HCL · One-click deploy
- [Virtual Machine on Azure](https://www.pulumi.com/dev/templates/virtual-machine/azure.md): Deploy a virtual machine on Azure with Pulumi and Azure Virtual Machines. — Azure · TypeScript, Python, Go, .NET, YAML, HCL · One-click deploy
- [Virtual Machine on Google Cloud](https://www.pulumi.com/dev/templates/virtual-machine/gcp.md): Deploy a virtual machine on Google Cloud with Pulumi and Google Compute Engine. — Google Cloud · TypeScript, Python, Go, .NET, YAML, HCL · One-click deploy
- [Aiven Python Starter](https://www.pulumi.com/dev/templates/aiven-python.md): A minimal Aiven Python Pulumi program — Python · One-click deploy
- [Alibaba Cloud Python Starter](https://www.pulumi.com/dev/templates/alicloud-python.md): A minimal AliCloud Python Pulumi program — Alibaba Cloud · Python · One-click deploy
- [Auth0 Python Starter](https://www.pulumi.com/dev/templates/auth0-python.md): A minimal Auth0 Python Pulumi program — Python · One-click deploy
- [Azure DevOps Python Starter](https://www.pulumi.com/dev/templates/azuredevops-python.md): A minimal Azure DevOps Python Pulumi program to create an AzureDevOps Project — Python · One-click deploy
- [Cloudflare Python Starter](https://www.pulumi.com/dev/templates/cloudflare-python.md): A minimal Cloudflare Python Pulumi program — Cloudflare · Python · One-click deploy
- [DigitalOcean Python Starter](https://www.pulumi.com/dev/templates/digitalocean-python.md): A minimal DigitalOcean Python Pulumi program — DigitalOcean · Python · One-click deploy
- [GitHub Python Starter](https://www.pulumi.com/dev/templates/github-python.md): A minimal GitHub Python Pulumi program — Python · One-click deploy
- [Kubernetes OVHcloud Python Starter](https://www.pulumi.com/dev/templates/kubernetes-ovh-python.md): A Python program to deploy a Kubernetes cluster on OVHcloud — Kubernetes · Python · One-click deploy
- [Linode Python Starter](https://www.pulumi.com/dev/templates/linode-python.md): A minimal Linode Python Pulumi program — Linode · Python · One-click deploy
- [Oracle Cloud Python Starter](https://www.pulumi.com/dev/templates/oci-python.md): A minimal OCI Python Pulumi program — Oracle Cloud · Python · One-click deploy
- [OVHcloud Python Starter](https://www.pulumi.com/dev/templates/ovh-python.md): A minimal OVHcloud Python Pulumi program — OVHcloud · Python · One-click deploy
- [Pinecone Python Starter](https://www.pulumi.com/dev/templates/pinecone-python.md): A minimal Pinecone Python Pulumi program — Python · One-click deploy
- [Pulumi Agents Python Starter](https://www.pulumi.com/dev/templates/pulumi-agents-python.md): A Pulumi Cloud agent, its role and its automations, defined as code (Python) — Pulumi Cloud · Python · One-click deploy
- [Python Starter](https://www.pulumi.com/dev/templates/python.md): A minimal Python Pulumi program — Python · One-click deploy
- [Random Python Starter](https://www.pulumi.com/dev/templates/random-python.md): A minimal Random Python Pulumi program. — Python · One-click deploy
- [Redis Cloud Python Starter](https://www.pulumi.com/dev/templates/rediscloud-python.md): A minimal RedisCloud Python Pulumi program — Python · One-click deploy
- [SageMaker AWS Python Starter](https://www.pulumi.com/dev/templates/sagemaker-aws-python.md): A Python program to deploy a Huggingface LLM model to Amazon SageMaker with CloudWatch monitoring — AWS · Python · One-click deploy

## Examples

- [Routes in API Gateway](https://www.pulumi.com/dev/examples/aws-apigateway-py-routes.md): Demonstration of API Gateway routes — AWS · Python · One-click deploy
- [Deploy WordPress to AWS EC2 using Pulumi and Ansible](https://www.pulumi.com/dev/examples/aws-py-ansible-wordpress.md): Deploy an EC2 Wordpress server using Pulumi and Ansible. — AWS · Python · One-click deploy
- [Lambda-backed API Gateway](https://www.pulumi.com/dev/examples/aws-py-apigateway-lambda-serverless.md): A minimal AWS Python Pulumi program — AWS · Python · One-click deploy
- [API Gateway V2 to EventBridge](https://www.pulumi.com/dev/examples/aws-py-apigatewayv2-eventbridge.md): An example that integrates API Gateway, EventBridge, and Lambda. — AWS · Python · One-click deploy
- [AWS API Gateway V2 HTTP API quickstart](https://www.pulumi.com/dev/examples/aws-py-apigatewayv2-http-api-quickcreate.md): Quickstart example of using AWS API Gateway v2 HTTP API — AWS · Python · One-click deploy
- [GraphQL endpoint in AWS AppSync](https://www.pulumi.com/dev/examples/aws-py-appsync.md): Basic example of defining an AWS AppSync endpoint from Pulumi in Python — AWS · Python · One-click deploy
- [AWS resources using AssumeRole](https://www.pulumi.com/dev/examples/aws-py-assume-role.md): AWS · Python
- [Voting app using Django and MySQL](https://www.pulumi.com/dev/examples/aws-py-django-voting-app.md): Voting app that uses containers — AWS · Python · One-click deploy
- [Pulumi Python dynamic resource demonstration](https://www.pulumi.com/dev/examples/aws-py-dynamicresource.md): An example demonstrating Pulumi Dynamic Providers — AWS · Python · One-click deploy
- [AWS web server with manual provisioning (in Python)](https://www.pulumi.com/dev/examples/aws-py-ec2-provisioners.md): An example of manually configuring an AWS EC2 virtual machine — AWS · Python · One-click deploy
- [AWS ECS with container instances and delete orchestration](https://www.pulumi.com/dev/examples/aws-py-ecs-instances-autoapi.md): AWS · Python
- [Amazon EKS cluster](https://www.pulumi.com/dev/examples/aws-py-eks.md): A minimal AWS Python EKS example cluster — AWS · Python · One-click deploy
- [NGINX on AWS ECS Fargate using Python](https://www.pulumi.com/dev/examples/aws-py-fargate.md): A container running in AWS ECS Fargate, using Python infrastructure as code — AWS · Python · One-click deploy
- [Hub-and-spoke network with centralized egress and traffic inspection using AWS Transit Gateway and AWS Firewall](https://www.pulumi.com/dev/examples/aws-py-hub-and-spoke-network.md): A minimal Python Pulumi program — AWS · Python · One-click deploy
- [AWS Python LangServe example](https://www.pulumi.com/dev/examples/aws-py-langserve.md): A minimal Langserve AWS Python Pulumi program — AWS · Python · One-click deploy
- [ETL pipeline with Amazon Redshift and AWS Glue](https://www.pulumi.com/dev/examples/aws-py-redshift-glue-etl.md): An ETL pipeline with Amazon Redshift and AWS Glue — AWS · Python · One-click deploy
- [AWS resources](https://www.pulumi.com/dev/examples/aws-py-resources.md): A Pulumi program that demonstrates creating various AWS resources in Python — AWS · Python · One-click deploy
- [Host a static website on Amazon S3](https://www.pulumi.com/dev/examples/aws-py-s3-folder.md): A minimal AWS Python Pulumi program — AWS · Python · One-click deploy
- [Set up AWS Secrets Manager](https://www.pulumi.com/dev/examples/aws-py-secrets-manager.md): A minimal AWS Python Pulumi program — AWS · Python · One-click deploy
- [Serverless C# app](https://www.pulumi.com/dev/examples/aws-py-serverless-raw.md): Basic example of a serverless AWS application — AWS · Python · One-click deploy
- [Create a Slackbot for posting mention notifications](https://www.pulumi.com/dev/examples/aws-py-slackbot.md): A slack chatbot app — AWS · Python · One-click deploy
- [StackReference example](https://www.pulumi.com/dev/examples/aws-py-stackreference.md): AWS · Python
- [Secure static website using Amazon S3, CloudFront, Route53, and Certificate Manager](https://www.pulumi.com/dev/examples/aws-py-static-website.md): Static website example — AWS · Python · One-click deploy
- [AWS Step Functions](https://www.pulumi.com/dev/examples/aws-py-stepfunctions.md): Basic example of AWS Step Functions in Python — AWS · Python · One-click deploy
- [Voting app using Redis and Flask](https://www.pulumi.com/dev/examples/aws-py-voting-app.md): Voting app that uses containers — AWS · Python · One-click deploy
- [Web server using Amazon EC2](https://www.pulumi.com/dev/examples/aws-py-webserver.md): Basic example of an AWS web server accessible over HTTP (in Python!) — AWS · Python · One-click deploy
- [WordPress site in AWS Fargate with RDS DB backend](https://www.pulumi.com/dev/examples/aws-py-wordpress-fargate-rds.md): Deploys WordPress in ECS Fargate with RDS backend. — AWS · Python · One-click deploy
- [Azure Container Instances on Linux](https://www.pulumi.com/dev/examples/azure-py-aci.md): Creates Azure Container Instance with a public IP — Azure · Python · One-click deploy
- [Azure Kubernetes Service (AKS) cluster using the native Azure provider](https://www.pulumi.com/dev/examples/azure-py-aks.md): Using the native Azure provider to create AKS cluster with python — Azure · Python · One-click deploy
- [Azure Kubernetes Service (AKS) cluster and Helm chart](https://www.pulumi.com/dev/examples/azure-py-aks-helm.md): Azure Native Python Pulumi example featuring Helm chart deployment to AKS — Azure · Python · One-click deploy
- [Azure Kubernetes Service (AKS) cluster using the native Azure provider](https://www.pulumi.com/dev/examples/azure-py-aks-managed-identity.md): A minimal Azure Native Pulumi Python program — Azure · Python · One-click deploy
- [Multiple Azure Kubernetes Service (AKS) clusters](https://www.pulumi.com/dev/examples/azure-py-aks-multicluster.md): Create multiple Azure Kubernetes Service (AKS) clusters in different regions and with different node counts — Azure · Python · One-click deploy
- [Azure App Service with SQL Database and Application Insights](https://www.pulumi.com/dev/examples/azure-py-appservice.md): Creates Azure App Service with SQL Database and Application Insights in Python — Azure · Python · One-click deploy
- [Azure App Service running Docker containers on Linux](https://www.pulumi.com/dev/examples/azure-py-appservice-docker.md): Creates Azure App Service and Deploys Docker images to — Azure · Python · One-click deploy
- [Demo of integrating the native Azure Pulumi provider with the Microsoft Azure SDK](https://www.pulumi.com/dev/examples/azure-py-call-azure-sdk.md): An example of integrating an Azure SDK call to a Pulumi program. — Azure · Python · One-click deploy
- [Azure Container Apps](https://www.pulumi.com/dev/examples/azure-py-containerapps.md): Creates an Azure Container App and deploys a custom Docker image to it — Azure · Python · One-click deploy
- [Azure Cosmos DB, an API connection, and a Logic App](https://www.pulumi.com/dev/examples/azure-py-cosmosdb-logicapp.md): An example of creating a CosmosDB container through a Azure's Cosmos SDK and deploying a Logic App and an API Connection — Azure · Python · One-click deploy
- [Deploying serverless applications with Azure Functions](https://www.pulumi.com/dev/examples/azure-py-functions.md): A minimal Azure Native Function in Python with Pulumi program — Azure · Python · One-click deploy
- [Load balancer and web server using Azure Load Balancer and Virtual Machine](https://www.pulumi.com/dev/examples/azure-py-loadbalancer-vm.md): Basic example of an Azure Load Balancer fronting an Azure VM accessible over HTTP — Azure · Python · One-click deploy
- [Minecraft server using an Azure Virtual Machine](https://www.pulumi.com/dev/examples/azure-py-minecraft-server.md): Basic example of an Azure web server accessible over HTTP — Azure · Python · One-click deploy
- [Static website using Azure Blob Storage and CDN](https://www.pulumi.com/dev/examples/azure-py-static-website.md): An example of a static website hosted on Azure Blob Storage + Azure CDN. — Azure · Python · One-click deploy
- [Azure Synapse workspace and pools](https://www.pulumi.com/dev/examples/azure-py-synapse.md): Creates Azure Synapse workspace with SQL and Spark pools — Azure · Python · One-click deploy
- [Azure virtual data center (VDC)](https://www.pulumi.com/dev/examples/azure-py-virtual-data-center.md): A minimal Azure Virtual Data Center described in Python — Azure · Python · One-click deploy
- [Web server using Azure Virtual Machine](https://www.pulumi.com/dev/examples/azure-py-webserver.md): Basic example of an Azure web server accessible over HTTP — Azure · Python · One-click deploy
- [Multiple Azure Kubernetes Service (AKS) clusters](https://www.pulumi.com/dev/examples/classic-azure-py-aks-multicluster.md): Create multiple Azure Kubernetes Service (AKS) clusters in different regions and with different node counts (written in Python) — Azure · Python · One-click deploy
- [Azure Resource Manager (ARM) template](https://www.pulumi.com/dev/examples/classic-azure-py-arm-template.md): An example of deploying an Azure Resource Manager (ARM) template using Pulumi. — Azure · Python · One-click deploy
- [Spark on Azure HDInsight](https://www.pulumi.com/dev/examples/classic-azure-py-hdinsight-spark.md): Spark on Azure HDInsight example in Python — Azure · Python · One-click deploy
- [Managing secrets and secure access in Azure applications](https://www.pulumi.com/dev/examples/classic-azure-py-msi-keyvault-rbac.md): Example of managing the secrets and permissions via services and features like KeyVault, AD Managed Identity, AD RBAC in Python — Azure · Python · One-click deploy
- [Azure VM scale sets](https://www.pulumi.com/dev/examples/classic-azure-py-vm-scaleset.md): Basic example of nginx deployed in Azure VM Scale Sets written in Python — Azure · Python · One-click deploy
- [Web server using Azure Virtual Machine with ComponentResource](https://www.pulumi.com/dev/examples/classic-azure-py-webserver-component.md): An Azure example using Python to provision a webserver using ComponentResource — Azure · Python · One-click deploy
- [DigitalOcean Kubernetes cluster and application](https://www.pulumi.com/dev/examples/digitalocean-py-k8s.md): Provision a DigitalOcean Kubernetes cluster and deploy to it in Python — DigitalOcean · Python · One-click deploy
- [Load-balanced droplets on DigitalOcean](https://www.pulumi.com/dev/examples/digitalocean-py-loadbalanced-droplets.md): Basic example of load balanced droplets on DigitalOcean in Python — DigitalOcean · Python · One-click deploy
- [Docker multi-container example](https://www.pulumi.com/dev/examples/docker-py-multi-container-app.md): Example python app using multiple docker containers — Python · One-click deploy
- [Deploy Cloud Run instance connected to Cloud SQL](https://www.pulumi.com/dev/examples/gcp-py-cloudrun-cloudsql.md): Basic example of a Google Cloud Run and Google Cloud SQL deployment — Google Cloud · Python · One-click deploy
- [Google Cloud Functions in Python](https://www.pulumi.com/dev/examples/gcp-py-functions.md): A minimal Python Pulumi program using Google Cloud Functions. — Google Cloud · Python · One-click deploy
- [Google Kubernetes Engine (GKE) with a canary deployment](https://www.pulumi.com/dev/examples/gcp-py-gke.md): A Google Kubernetes Engine (GKE) cluster, with canary deployment — Google Cloud · Python · One-click deploy
- [NGINX server using Compute Engine](https://www.pulumi.com/dev/examples/gcp-py-instance-nginx.md): Deploy a Nginx Server in a GCP instance — Google Cloud · Python · One-click deploy
- [Google Cloud network and instance with ComponentResource](https://www.pulumi.com/dev/examples/gcp-py-network-component.md): A Google Cloud Python Pulumi program using ComponentResource — Google Cloud · Python · One-click deploy
- [Google Cloud Functions in Python and Go](https://www.pulumi.com/dev/examples/gcp-py-serverless-raw.md): Basic example of a serverless Python and Go GCP functions (in Python) — Google Cloud · Python · One-click deploy
- [Web server using Compute Engine](https://www.pulumi.com/dev/examples/gcp-py-webserver.md): Basic example of a Google Cloud web server accessible over HTTP — Google Cloud · Python · One-click deploy
- [Exposing a deployment with a public IP address](https://www.pulumi.com/dev/examples/kubernetes-py-exposed-deployment.md): A minimal Python Pulumi program — Kubernetes · Python · One-click deploy
- [Simple and component-based Kubernetes Guestbook apps](https://www.pulumi.com/dev/examples/kubernetes-py-guestbook.md): Kubernetes · Python
- [WordPress Helm chart deployed using the Helm Release resource](https://www.pulumi.com/dev/examples/kubernetes-py-helm-release-wordpress.md): A minimal installation of the Wordpress Helm chart using Helm Release support — Kubernetes · Python · One-click deploy
- [Continuous integration with Jenkins](https://www.pulumi.com/dev/examples/kubernetes-py-jenkins.md): Jenkins deployment on Kubernetes — Kubernetes · Python · One-click deploy
- [Stateless application using a deployment](https://www.pulumi.com/dev/examples/kubernetes-py-nginx.md): Example of a Kubernetes Stateless Application Deployment, using Nginx — Kubernetes · Python · One-click deploy
- [Self-host Gemma 4 with Open WebUI and Tailscale](https://www.pulumi.com/dev/examples/kubernetes-py-self-host-gemma4-llm.md): Self-hosted llama-server (llama.cpp) with Open WebUI and Tailscale — Kubernetes · Python · One-click deploy
- [Using the Pulumi libvirt provider to deploy a VM on a KVM server](https://www.pulumi.com/dev/examples/libvirt-py-vm.md): Uses libvirt to deploy a KVM VM on an Azure-hosted KVM server. — Python · One-click deploy
- [Web server using OpenStack](https://www.pulumi.com/dev/examples/openstack-py-webserver.md): A minimal OpenStack Python Pulumi program — OpenStack · Python · One-click deploy
- [Example stack README in Pulumi Cloud](https://www.pulumi.com/dev/examples/stack-readme-py.md): A minimal Stack Readme Python program — Python · One-click deploy
- [Integration testing of Pulumi programs in Python](https://www.pulumi.com/dev/examples/testing-integration-py.md): A Integration Testing of s3 use case — Python
- [Unit testing Pulumi programs in Python](https://www.pulumi.com/dev/examples/testing-unit-py.md): An example that applies unit testing to Python and AWS resources. — Python

## Blog Posts

- [Advanced AWS Networking: Part 1](https://www.pulumi.com/blog/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. — AWS · Python
- [Advanced AWS Networking: Part 2](https://www.pulumi.com/blog/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. — AWS · Python
- [Creating a Python AWS Application Using Flask and Redis](https://www.pulumi.com/blog/creating-a-python-aws-application-using-flask-and-redis/): A tutorial on how to create a Python AWS application using Flask, Redis, and Pulumi. — AWS · Python
- [Data Science in the Cloud](https://www.pulumi.com/blog/data-science-in-the-cloud/): With Pulumi Automation API, deploy and manage infrastructure such as websites, storage, and databases within a Jupyter notebook. — Python
- [Deploy a Private Hermes Agent on Render Securely with Pulumi, Modal, and Tailscale](https://www.pulumi.com/blog/deploy-a-hermes-agent-with-pulumi/): 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. — Python, TypeScript
- [How to Deploy a Django Application to AWS](https://www.pulumi.com/blog/deploying-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. — AWS · Python
- [Deploying a MySQL schema using Dynamic Providers](https://www.pulumi.com/blog/deploying-mysql-schemas-using-dynamic-providers/): Leveraging Pulumi Dynamic Providers to expand opportunities in cloud architecture design — AWS · Python
- [Deploy AI Models on Amazon SageMaker using Pulumi Python IaC](https://www.pulumi.com/blog/mlops-huggingface-llm-aws-sagemaker-python/): Guided short tutorial on starting a Pulumi infrastructure as code project to deploy Hugging Face LLMs on Amazon SageMaker machine learning platform with Python — AWS · Python
- [The Real AI Challenge is Cloud, not Code!](https://www.pulumi.com/blog/mlops-the-ai-challenge-is-cloud-not-code/): Accelerating AI/ML innovation with infrastructure as code through a hands-on journey to deploy your own chatbot — Azure · Python
- [How We Load Data into Snowflake in Seconds with Pulumi](https://www.pulumi.com/blog/near-real-time-data-loading-snowflake-pulumi/): Learn how we load data into Snowflake in seconds using Firehose direct streaming and reusable Pulumi ComponentResources. — AWS · Python
- [Programming the Cloud with Python](https://www.pulumi.com/blog/programming-the-cloud-with-python/): See how to use Pulumi and Python to automate provisioning of cloud infrastructure and delivery of applications. — AWS · Python
- [Zero Downtime InfluxDB Migration with Pulumi and Aiven](https://www.pulumi.com/blog/pulumi-with-aiven-for-influxdb/): Zero downtime Pulumi in Aiven when transferring InfluxDB from cloud to cloud. — AWS · Python
- [Use Your Mac for AI Agents: Self-Host Gemma 4 12 B with Pulumi and Tailscale](https://www.pulumi.com/blog/self-host-gemma4-llama-cpp-k8s-tailscale-pulumi/): Self-host multimodal Gemma 4 on a Mac with Pulumi, llama.cpp, and Tailscale, using Unsloth's Gemma 4 12 B Q8 GGUF with a 128K context window.
 — Kubernetes · Python
- [Host your Python app for $1.12 a month](https://www.pulumi.com/blog/serverless-api/): How cheap can you host a Python API in 2026? Package Flask as a container, deploy to AWS Lambda with Pulumi, and pay ~$1.12/month worst-case ($0 when idle). — Python
- [Testing Your Infrastructure as Code with Pulumi](https://www.pulumi.com/blog/testing-your-infrastructure-as-code-with-pulumi/): Leverage Pulumi for your core acceptance test workflow and unlock new automation capabilities that improve your team's productivity and confidence. — JavaScript, Python, TypeScript

## Workshops

- [Build an ETL pipeline with Amazon Redshift and AWS Glue](https://www.pulumi.com/events/build-etl-pipeline-amazon-redshift-aws-glue-modern-infrastructure/): 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. — AWS · Python
- [Building a Developer Platform with AKS and Cosmos DB](https://www.pulumi.com/events/building-a-developer-platform-with-aks-and-cosmosdb/): 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. — Azure, Kubernetes · Python
- [Deploying LLMs on GKE with NVIDIA GPUs & Google Cloud](https://www.pulumi.com/events/deploying-llms-gke-pulumi/): 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. — Google Cloud, Kubernetes · Python
- [Policy as Code on AWS](https://www.pulumi.com/events/getting-started-policy-as-code/): 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 — AWS · Python, TypeScript
- [Getting started on AWS with Python](https://www.pulumi.com/events/getting-started-with-iac-on-aws-python/): Learn how Pulumi makes working with AWS easier by using general-purpose languages like Python to manage infrastructure resources. — AWS · Python
- [Getting Started with Infrastructure as Code on Google Cloud](https://www.pulumi.com/events/infrastructure-as-code-google-cloud/): Workshop on infrastructure as code for Google Cloud, showing how to define, deploy, and manage GCP resources using general-purpose programming languages. — Google Cloud · Python
- [Modernize Google Cloud Ops: From Infrastructure to Insights](https://www.pulumi.com/events/modernize-google-cloud-ops/): Learn how to streamline Google Cloud operations using infrastructure as code, unified secrets management, and cloud asset intelligence. — Google Cloud · Python
- [Production-Ready Networking on AWS with Python](https://www.pulumi.com/events/production-ready-networking-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. — AWS · Python
- [Serverless Apps with Google Cloud Run and Pulumi](https://www.pulumi.com/events/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. — Google Cloud · Python
- [Streamlining AI/ML Workflows on GKE with Pulumi](https://www.pulumi.com/events/streamlining-ai-ml-gke-pulumi/): Learn to harness the capabilities of GPUs and TPUs effortlessly, empowering data scientists to focus on model development rather than infrastructure management. — Kubernetes · Python
