Pulumi: Infrastructure as Code
2026 Edition. A step-by-step guide to using Pulumi for Infrastructure as Code, covering core concepts, Azure deployments, and Terraform migration.
Episodes
The Developer's Infrastructure: Why Pulumi?
3m 27sDiscover why developers are moving away from domain-specific languages and YAML for cloud provisioning. We explore how Pulumi enables Infrastructure as Code using general-purpose programming languages. You will learn the fundamental difference between declarative cloud state and the imperative languages used to define it.
Under the Hood: Pulumi's Architecture
3m 34sTake a deep dive into the inner workings of a Pulumi deployment. We break down the roles of the language host, the deployment engine, and resource providers. You will understand exactly how a function call in your code becomes a physical resource in the cloud.
Hello Azure: Creating Your First Project
4m 05sKickstart your infrastructure journey by creating a Pulumi project targeting Microsoft Azure. We walk through the CLI setup process and examine the auto-generated files. You will learn how to bootstrap a clean, ready-to-deploy cloud project in seconds.
Projects and Paths: Structuring Your Code
3m 53sUnderstand the anatomy of a Pulumi Project and how to correctly reference local files. We explore the Pulumi.yaml file and the critical difference between absolute and project-relative paths. You will learn how to ensure your code deploys cleanly across different machines and CI pipelines.
Stacks: Managing Environments
3m 50sDiscover how to safely manage multiple environments like Development, Staging, and Production. We introduce Stacks and how they isolate deployment state. You will learn how to share data between environments using Stack References.
The Building Blocks: Pulumi Resources
3m 47sDive into how cloud resources are represented and named in code. We compare Custom Resources with Component Resources and unravel the mystery of logical versus physical names. You will learn how auto-naming prevents global collisions and keeps your deployments safe.
Keeping Secrets: Configuration Management
3m 56sLearn how to inject dynamic data and sensitive secrets into your infrastructure code. We cover the Pulumi CLI config commands, structured configuration, and native secret encryption. You will leave knowing how to secure API keys without exposing them in plaintext.
Scaling Up: Component Resources on Azure
4m 00sElevate your infrastructure by creating reusable components. We walk through building an Azure Static Website component that encapsulates multiple resources. You will learn the importance of parent-child relationships for clean infrastructure tracking.
Peaceful Coexistence: Reading Terraform State
3m 57sBridge the gap between legacy infrastructure and modern code. We explore how Pulumi can directly read existing Terraform state files. You will learn a powerful coexistence pattern that lets you adopt Pulumi incrementally without rewriting your entire stack.
The Great Migration: Converting HCL to Pulumi
3m 38sTake the final step by translating Terraform HCL into fully functional programming code. We examine the `pulumi convert` tool and discuss when and why to convert legacy configurations. You will learn how real languages unlock advanced unit testing for infrastructure.