Back to all tools
Pulumi logo

Pulumi

Define cloud infrastructure using Python, TypeScript, Go, or .NET.

0Open Source
Infrastructure as Code
Share:XLinkedInWhatsApp

Overview

Pulumi is an open-source IaC tool that lets you write infrastructure in general-purpose programming languages.

Key Features

  • Use Python, TypeScript, Go, Java, or .NET instead of DSL files
  • Full programming language features: loops, conditionals, abstractions, and testing
  • Pulumi Cloud for state management, secrets, and CI/CD integration
  • Supports AWS, Azure, GCP, Kubernetes, and 150+ providers
  • Pulumi AI: generate infrastructure code from natural language prompts
  • CrossGuard policy-as-code for compliance enforcement

Real-World Workflows

Type-safe Kubernetes deployment with TypeScript

  1. 1Define an EKS cluster, node groups, and IAM roles in TypeScript
  2. 2Use existing npm packages to share infrastructure components across teams
  3. 3Run pulumi preview to see a diff of planned changes
  4. 4Run pulumi up to apply the changes with automatic state tracking
  5. 5Test infrastructure code with standard unit testing frameworks

Policy enforcement with CrossGuard

  1. 1Write policies in Python to enforce tagging, region, and size requirements
  2. 2Attach the policy pack to all stacks in a Pulumi Cloud organisation
  3. 3pulumi up blocks if any resource violates a mandatory policy
  4. 4Advisory policies warn without blocking for gradual adoption

Getting Started

brew install pulumi/tap/pulumi
# Create a new project:
pulumi new typescript
pulumi up

Compare Alternatives

See how Pulumi stacks up against similar tools.