Skip to main content

JavaScript and Pulumi

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

Browse all
Tutorials

Learn by doing

Tutorial

Integrate Pulumi with Secret Store CSI Driver in Kubernetes

Learn how to integrate the Secret Store CSI Driver with Pulumi ESC to securely manage your secrets in Kubernetes.
15 min
Tutorial

Move Resources Between Stacks

Learn how to move resources between stacks or projects.
15 min
Tutorial

Configure applications dynamically with ESC version tagging

Use immutable versioning and dynamic tagging to configure multiple applications safely and easily with Pulumi ESC.
10 min
TutorialAzure

Creating Resources

Learn how to define and provision resources on Azure using Pulumi.
10 min
TutorialGoogle Cloud

Creating Resources

Learn how to define and provision resources on Google Cloud using Pulumi.
10 min
TutorialKubernetes

Creating Resources

Learn how to define and provision resources on Kubernetes using Pulumi.
10 min
Tutorial

Deploy a Web Server to Google Compute Engine

Deploy a simple web server virtual machine to Google Compute Engine with Pulumi and JavaScript.
15 min
Tutorial

Host a Static Website on Amazon S3

Learn how to serve a static website hosted in an Amazon S3 bucket with Pulumi.
20 min
Tutorial

Serverless REST API with API Gateway and Lambda

Build a serverless app on AWS that serves static content and a dynamic Lambda route using API Gateway.
10 min
TutorialAWS

Stack Outputs & References

Learn more about exporting and referencing stack outputs in Pulumi.
15 min
TutorialAzure

Stack Outputs & References

Learn more about exporting and referencing stack outputs in Pulumi.
15 min
TutorialGoogle Cloud

Stack Outputs & References

Learn more about exporting and referencing stack outputs in Pulumi.
15 min
Templates

Bootstrap new projects

Examples

Browse real-world programs

From the blog

Keep your skills current

Blog PostJun 2018

Build a Video Thumbnailer on AWS

Extracting a thumbnail from a video using a combination of Lambdas, containers, and connected data services and infrastructure.
Donna Malayeri
Blog PostJun 2018

Code, Deploy, and Manage a Serverless REST API on AWS

In this post, we'll use Pulumi to create a simple serverless REST API using JavaScript to define both the infrastructure and application code.
Donna Malayeri
Blog PostJun 2018

Deploying production-ready containers with Pulumi

This blog covers creating a container registry instance in ECR, creating task definitions in ECS, and configuring a load balancer.
Donna Malayeri
Blog PostMar 2019

Easy Serverless Apps and Infrastructure

Create a simple serverless app. With Pulumi, you can create, deploy, and manage serverless apps using your favorite language.
Joe Duffy
Blog PostNov 2018

From Terraform to Infrastructure as Software

Convert existing Terrraform configuration to Pulumi TypeScript to help you create simpler, more flexible infrastructure as code, with less repetition.
Pat Gavlin
Blog PostApr 2019

Get Started with Docker on AWS Fargate using Pulumi

Using Pulumi to build a custom Docker image, publish it to a AWS container registry, and spin up an AWS Fargate load balanced service running that container.
Joe Duffy
Blog PostJan 2022

Observable Infrastructure as Code

A review of using Honeycomb to add observability to your Pulumi projects
Blog PostJul 2018

Provisioning and Managing Cloud Infrastructure with Pulumi

Use Pulumi AWS, Azure, and GCP libraries to provision and manage infrastructure. Configure alerting & monitoring directly in code using Pulumi.
Donna Malayeri
Blog PostJan 2019

Serverless on AWS with Pulumi: Simple, Event-based Functions

Pulumi's AWS package provides the simplest way possible to do serverless programming on AWS.
Cyrus Najmabadi
Blog PostApr 2019

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.
Joe Duffy
Blog PostJul 2018

AWS SQS to Lambda with Pulumi: Serverless Queue Example

Trigger AWS Lambda from SQS using Pulumi. Learn how to build a serverless queue with JavaScript, event source mappings, and real-world deployment examples.
Cyrus Najmabadi

The infrastructure as code platform for any cloud.