Skip to main content
Pulumi logo
  1. Pulumi Templates
  2. Serverless Templates

Serverless Templates

Pulumi templates for serverless applications on AWS, Azure, and Google Cloud, in your language of choice.

About these templates

What is a serverless application?

A serverless application runs on managed cloud services that scale automatically, are highly available by default, and bill only for what you use. You write the application code (typically as a function) and the cloud provider handles the runtime, capacity, and underlying servers.

Which serverless services should I use on each cloud?

The major clouds expose comparable building blocks for serverless web and event-driven applications:

How do I deploy a serverless application with Pulumi?

Use one of the Serverless Application templates above to scaffold a Pulumi project that provisions both the function runtime and the surrounding infrastructure (storage, routing, IAM). Each template ships placeholder web and function content so the project deploys end to end with pulumi new followed by pulumi up.

Can I manage my function code in the same project as my infrastructure?

Yes. Each template includes the function source alongside the Pulumi program, so you can deploy infrastructure and application changes together as a single unit, version them in the same repository, and roll them back with one pulumi destroy.

The infrastructure as code platform for any cloud.