DEV Community

Alex Spinov
Alex Spinov

Posted on

Pulumi Has a Free Infrastructure as Code Tool Using Real Programming Languages

Pulumi lets you build infrastructure with TypeScript, Python, Go, C#, or Java. No DSL to learn — use the languages you already know.

What You Get for Free

  • Real programming languages — TypeScript, Python, Go, C#, Java
  • All major clouds — AWS, GCP, Azure, Kubernetes
  • State management — free Pulumi Cloud or self-managed
  • Testing — unit and integration test infrastructure
  • Policy as Code — CrossGuard for compliance
  • Secrets — encrypted secret management

Quick Start

curl -fsSL https://get.pulumi.com | sh
pulumi new typescript
Enter fullscreen mode Exit fullscreen mode

Create an S3 Bucket (TypeScript)

import * as pulumi from '@pulumi/pulumi';
import * as aws from '@pulumi/aws';

const bucket = new aws.s3.Bucket('my-bucket', {
  website: { indexDocument: 'index.html' },
});

export const bucketUrl = bucket.websiteEndpoint;
Enter fullscreen mode Exit fullscreen mode

Pulumi vs Terraform

Feature Pulumi Terraform
Language TS/Python/Go HCL
State Cloud or self Cloud or self
Secrets Built-in External
Testing Native Terratest

Need IaC help? Check my work on GitHub or email spinov001@gmail.com for consulting.

Top comments (0)