Skip to content

AWS ​

Build, deploy, and manage AWS infrastructure with Pulumi. This page links to every Pulumi capability for AWS: Infrastructure as Code, Environments, Secrets, and Configuration (ESC), cloud account scanning, and policy packs.

To start from scratch, follow the get-started guide.

Infrastructure as Code ​

Pulumi IaC lets you define cloud infrastructure using TypeScript, JavaScript, Python, Go, .NET, Java, YAML, or HCL — with deterministic deployments, a state backend, and a rich ecosystem of packages.

Pulumi provides several packages for working with AWS. Most projects combine more than one. For a deeper comparison, see Choosing a Pulumi AWS provider.

  • AWS provider — the default AWS provider. Uses the AWS SDK to manage all AWS services.
  • AWS Cloud Control provider — full coverage of resources available in the AWS Cloud Control API.
  • AWSx — higher-level components that encapsulate AWS best practices.
  • AWS API Gateway — simplified construction of AWS API Gateway REST APIs.
  • Amazon EKS — create and manage Amazon Elastic Kubernetes Service clusters with sensible defaults.
  • Docker — build and push Docker images to Amazon ECR or other registries.
  • Kubernetes — deploy application workloads to Amazon EKS or any Kubernetes cluster.

Tutorials, templates, and examples ​

The Pulumi Dev Center collects hands-on AWS content, filterable by language and topic:

  • Tutorials — step-by-step guides to building on AWS with Pulumi.
  • Templates — ready-to-deploy starting points for common architectures. Run pulumi new <template> to bootstrap a project.
  • Examples — complete Pulumi programs you can read, run, and adapt.
  • Workshops — instructor-led workshops, live and on demand.

Guides ​

Secrets & configuration (ESC) ​

Pulumi ESC (Environments, Secrets, and Configuration) is a centralized service for managing secrets, configuration, and short-lived credentials. It composes values from many sources — including AWS — into environments that Pulumi programs, CLIs, and CI/CD workflows can consume.

ESC integrates directly with AWS for short-lived credentials and secret retrieval:

Discovery ​

Pulumi Discovery continuously scans your clouds to build a searchable inventory of every resource — whether created by Pulumi or not — so you can find, audit, and govern cloud infrastructure across accounts, regions, and providers.

For AWS, Discovery connects AWS accounts (including AWS Partitions) to inventory existing resources, search across accounts, and export data. See Add an AWS account for a step-by-step setup guide and Discovery overview for background.

Policy packs ​

Pulumi Policies lets you enforce rules on infrastructure at preview and update time, rejecting stacks that violate security, cost, or compliance standards. Pre-built policy packs are maintained by Pulumi and cover common regulatory and best-practice frameworks.

For AWS:

Migration ​

Migrate existing AWS infrastructure from another IaC tool to Pulumi. The guides below walk through converting or coexisting with each source format.

Content from the official Pulumi documentation (github.com/pulumi/docs).