Examples of using Pulumi to deploy infrastructure, containers, and serverless apps to AWS, Azure, GCP, and Kubernetes.
Permalink
Failed to load latest commit information.
aws-go-s3-folder Add 'Deploy with Pulumi' button to examples (#167) Nov 8, 2018
aws-js-s3-folder-component Use latest packages for all harnessed examples Nov 9, 2018
aws-js-s3-folder Use latest packages for all harnessed examples Nov 9, 2018
aws-js-sqs-slack Add 'Deploy with Pulumi' button to examples (#167) Nov 8, 2018
aws-js-webserver-component Use latest packages for all harnessed examples Nov 9, 2018
aws-js-webserver Use latest packages for all harnessed examples Nov 9, 2018
aws-py-stepfunctions Update Python examples to support Pulumi >= 0.16.4 (#180) Nov 15, 2018
aws-py-webserver Update Python examples to support Pulumi >= 0.16.4 (#180) Nov 15, 2018
aws-ts-airflow Add 'Deploy with Pulumi' button to examples (#167) Nov 8, 2018
aws-ts-apigateway Add new examples (#181) Nov 15, 2018
aws-ts-assume-role Add AWS AssumeRole example Nov 6, 2018
aws-ts-eks Add 'Deploy with Pulumi' button to examples (#167) Nov 8, 2018
aws-ts-resources Add 'Deploy with Pulumi' button to examples (#167) Nov 8, 2018
aws-ts-ruby-on-rails Add new examples (#181) Nov 15, 2018
aws-ts-serverless-raw Add 'Deploy with Pulumi' button to examples (#167) Nov 8, 2018
aws-ts-static-website Add 'Deploy with Pulumi' button to examples (#167) Nov 8, 2018
aws-ts-stepfunctions Add 'Deploy with Pulumi' button to examples (#167) Nov 8, 2018
aws-ts-twitter-athena Add new examples (#181) Nov 15, 2018
azure-js-webserver Use latest packages for all harnessed examples Nov 9, 2018
azure-ts-aks-helm Use latest packages for all harnessed examples Nov 9, 2018
azure-ts-aks-mean Add 'Deploy with Pulumi' button to examples (#167) Nov 8, 2018
azure-ts-appservice Merge pull request #171 from pulumi/ellismg/use-latest Nov 12, 2018
azure-ts-functions Use latest packages for all harnessed examples Nov 9, 2018
cloud-js-api Use latest packages for all harnessed examples Nov 9, 2018
cloud-js-containers Use latest packages for all harnessed examples Nov 9, 2018
cloud-js-httpserver Use latest packages for all harnessed examples Nov 9, 2018
cloud-js-thumbnailer-machine-learning Add 'Deploy with Pulumi' button to examples (#167) Nov 8, 2018
cloud-js-thumbnailer Add 'Deploy with Pulumi' button to examples (#167) Nov 8, 2018
cloud-js-twitter-athena Add 'Deploy with Pulumi' button to examples (#167) Nov 8, 2018
cloud-ts-url-shortener-cache-http Add 'Deploy with Pulumi' button to examples (#167) Nov 8, 2018
cloud-ts-url-shortener-cache Use latest packages for all harnessed examples Nov 9, 2018
cloud-ts-url-shortener Add 'Deploy with Pulumi' button to examples (#167) Nov 8, 2018
cloud-ts-voting-app Add 'Deploy with Pulumi' button to examples (#167) Nov 8, 2018
gcp-js-webserver Add 'Deploy with Pulumi' button to examples (#167) Nov 8, 2018
gcp-ts-functions Add 'Deploy with Pulumi' button to examples (#167) Nov 8, 2018
gcp-ts-gke Add 'Deploy with Pulumi' button to examples (#167) Nov 8, 2018
gcp-ts-k8s-ruby-on-rails-postgresql Add 'Deploy with Pulumi' button to examples (#167) Nov 8, 2018
kubernetes-ts-configmap-rollout Add 'Deploy with Pulumi' button to examples (#167) Nov 8, 2018
kubernetes-ts-exposed-deployment Add 'Deploy with Pulumi' button to examples (#167) Nov 8, 2018
kubernetes-ts-guestbook Add 'Deploy with Pulumi' button to examples (#167) Nov 8, 2018
kubernetes-ts-helm-wordpress Add 'Deploy with Pulumi' button to examples (#167) Nov 8, 2018
kubernetes-ts-jenkins Add 'Deploy with Pulumi' button to examples (#167) Nov 8, 2018
kubernetes-ts-nginx Add 'Deploy with Pulumi' button to examples (#167) Nov 8, 2018
kubernetes-ts-s3-rollout Add 'Deploy with Pulumi' button to examples (#167) Nov 8, 2018
kubernetes-ts-sock-shop Add 'Deploy with Pulumi' button to examples (#167) Nov 8, 2018
kubernetes-ts-staged-rollout-with-prometheus Add 'Deploy with Pulumi' button to examples (#167) Nov 8, 2018
misc Add new examples (#181) Nov 15, 2018
twilio-ts-component Add 'Deploy with Pulumi' button to examples (#167) Nov 8, 2018
.gitignore Update Python examples to support Pulumi >= 0.16.4 (#180) Nov 15, 2018
.travis.yml Use latest packages for all harnessed examples Nov 9, 2018
CODE-OF-CONDUCT.md Adopt Contributor Covenant code of conduct Jun 1, 2018
LICENSE Relicense under Apache 2.0 (#61) May 24, 2018
Makefile Use common CI infrastructure Nov 9, 2018
README.md Convert readme to table (#101) Jul 12, 2018

README.md

Pulumi Examples

This repository contains examples of using Pulumi to build and deploy cloud applications and infrastructure.

Each example has a two-part prefix, <cloud>-<language>, to indicate which <cloud> and <language> it pertains to. The cloud is one of aws for Amazon Web Services, azure for Microsoft Azure, gcp for Google Cloud Platform, kubernetes for Kubernetes, or cloud for Pulumi's cross-cloud programming framework.

See the Pulumi documentation for more details on getting started with Pulumi.

Cloud Infrastructure

Example Language Cloud
AWS EC2 instance (JavaScript)
Provision a simple Linux web server that serves traffic on port 80
JavaScript AWS
AWS EC2 instance (Python)
Provision a simple Linux web server that serves traffic on port 80
Python AWS
Azure Virtual Machine (JavaScript)
Provision a simple Linux web server that serves traffic on port 80
JavaScript Azure
GCP Virtual Machine (JavaScript)
Provision a simple Linux web server that serves traffic on port 80
JavaScript Google Cloud Platform
Component for creating EC2 instances (JavaScript)
A minimal component that encapsulates creating EC2 instances
JavaScript AWS
Simple static website on AWS S3 (JavaScript)
A simple program that uses S3's website support
JavaScript AWS
Component for simple static website (JavaScript)
A reusable component for hosting static websites on AWS S3
JavaScript AWS
Simple static website on AWS S3 (Go)
A static website that uses S3's website support
Go AWS
Production-ready static website on AWS (TypeScript)
An end-to-end example for hosting a static website on AWS, using S3, CloudFront, Route53, and Amazon Certificate Manager
TypeScript AWS
Jenkins on Kubernetes (JavaScript)
A Jenkins container running on Kubernetes
JavaScript Kubernetes
AWS RDS and Airflow (TypeScript)
Deploys an RDS Postgres instance and containerized Airflow
TypeScript AWS
CloudWatch Log Groups, Event Targets, Metric Alarms, IAM roles, and more! (TypeScript)
An example that shows how to create a number of AWS resources, including cloudwatch.Dashboard, cloudwatch.EventRule, cloudwatch.LogGroup, sqs.Queue, and more.
TypeScript AWS
Azure App Service with SQL Database and Application Insights
Deploy Azure App Service along with SQL Database and Application Insights
TypeScript Azure
Azure Functions
A simple component for deploying inline code to Azure Functions
TypeScript Azure

Cloud Applications

Example Language Cloud
Serverless REST API (JavaScript)
A simple REST API to count the number of times a route has been hit
JavaScript AWS
NGINX container on AWS ECS (JavaScript)
In 15 lines of code, deploy an NGINX container to production
JavaScript AWS
Serverless URL shortener (TypeScript)
A complete URL shortener web application using high-level cloud.Table and cloud.HttpEndpoint components
TypeScript AWS
Serverless URL shortener with cache (TypeScript)
An extension of the URL shortener that adds a Redis cache
TypeScript AWS
Serverless video thumbnailer with Lambda and Fargate (JavaScript)
An end-to-end pipeline for generating keyframe thumbnails from videos uploaded to a bucket using containerized FFmpeg
JavaScript AWS
Serverless video thumbnailer with machine learning (JavaScript)
An extension of the video thumbnail example that uses AWS Rekognition video labels
JavaScript AWS
Raw AWS Serverless (TypeScript and C#)
A complete serverless C# application using that uses the raw resources aws.apigateway.RestAPI, aws.lambda.Function and aws.dynamodb.Table
TypeScript AWS
Voting App with containers (TypeScript)
A simple voting app that uses Redis for a data store and a Python Flask app for the frontend, demonstrating the high-level framework @pulumi/cloud.
TypeScript AWS
Kubernetes Guestbook (TypeScript)
A version of the Kubernetes Guestbook app using Pulumi and @pulumi/kubernetes
TypeScript Kubernetes
Kubernetes Sock Shop (TypeScript)
A version of the standard Sock Shop microservices reference app app using Pulumi and @pulumi/kubernetes
TypeScript Kubernetes
AWS Athena Twitter Analyzer (JavaScript)
An application that periodically queries Twitter for a search term, stores the results in S3, and configures an Athena query for data analysis
JavaScript AWS
Serverless SQS to Slack (JavaScript)
Uses a Lambda function to post SQS messages to a Slack channel
JavaScript AWS
AWS Step Functions
A basic example that demonstrates using AWS Step Functions with a Lambda function
TypeScript AWS
Twilio SMS handler for API Gateway
A sample component that makes it easy to connect AWS API Gateway and Twilio SMS
TypeScript AWS