StackShareStackShare
Follow on
StackShare

Discover and share technology stacks from companies around the world.

Follow on

© 2025 StackShare. All rights reserved.

Product

  • Stacks
  • Tools
  • Feed

Company

  • About
  • Contact

Legal

  • Privacy Policy
  • Terms of Service
  1. Stackups
  2. Application & Data
  3. Serverless
  4. Serverless Task Processing
  5. Pulumi vs Serverless

Pulumi vs Serverless

OverviewDecisionsComparisonAlternatives

Overview

Serverless
Serverless
Stacks2.2K
Followers1.2K
Votes28
GitHub Stars46.9K
Forks5.7K
Pulumi
Pulumi
Stacks306
Followers293
Votes25
GitHub Stars24.1K
Forks1.3K

Pulumi vs Serverless: What are the differences?

Introduction

In this article, we will compare Pulumi and Serverless, two popular tools used in the field of cloud computing and serverless architectures. Both Pulumi and Serverless help developers in deploying and managing cloud resources, but they have some key differences that set them apart.

  1. Language Support: Pulumi allows developers to use familiar programming languages such as JavaScript, Python, TypeScript, and Go to define infrastructure as code. On the other hand, Serverless primarily supports YAML or JSON syntax for defining serverless functions and resources.

  2. Deployment Targets: Pulumi supports multiple cloud providers including AWS, Azure, Google Cloud, and Kubernetes. It allows developers to deploy their infrastructure resources to a wide range of platforms. Serverless, on the other hand, is designed specifically for deploying serverless functions to cloud platforms like AWS Lambda.

  3. Resource Abstraction: Pulumi follows a resource-centric approach, where developers define cloud resources explicitly and have fine-grained control over them. Serverless, on the other hand, abstracts away most of the cloud resources and focuses on serverless functions and events.

  4. State Management: Pulumi uses a declarative model for infrastructure deployment and leverages a state file to manage the infrastructure's current status. This allows for easy updates and rollbacks. Serverless primarily relies on the cloud provider's native infrastructure management systems and does not maintain a state file.

  5. Development Workflow: With Pulumi, developers can use their preferred Integrated Development Environment (IDE) and coding practices. They have the flexibility to use version control systems and can develop infrastructure code just like they would develop any other software project. Serverless, being more focused on just serverless functions, doesn't provide the same level of development workflow flexibility.

  6. Community and Ecosystem: Pulumi has a growing community and an expanding ecosystem of libraries and packages for various cloud providers and programming languages. It offers support for a wide range of cloud services and integration options. Serverless, being more specialized, has a more established community focused on serverless architectures, with a variety of plugins and integrations specifically designed for serverless workflows.

In summary, Pulumi provides greater language support, supports multiple deployment targets, offers fine-grained control over resources, uses declarative state management, provides a flexible development workflow, and has a growing community and ecosystem. Serverless, on the other hand, is more specialized for serverless functions, relies on cloud provider infrastructure management, and has a more established community for serverless architectures.

Share your Stack

Help developers discover the tools you use. Get visibility for your team's tech choices and contribute to the community's knowledge.

View Docs
CLI (Node.js)
or
Manual

Advice on Serverless, Pulumi

Tim
Tim

CTO at Checkly Inc.

Sep 18, 2019

Needs adviceonHerokuHerokuAWS LambdaAWS Lambda

When adding a new feature to Checkly rearchitecting some older piece, I tend to pick Heroku for rolling it out. But not always, because sometimes I pick AWS Lambda . The short story:

  • Developer Experience trumps everything.
  • AWS Lambda is cheap. Up to a limit though. This impact not only your wallet.
  • If you need geographic spread, AWS is lonely at the top.

The setup

Recently, I was doing a brainstorm at a startup here in Berlin on the future of their infrastructure. They were ready to move on from their initial, almost 100% Ec2 + Chef based setup. Everything was on the table. But we crossed out a lot quite quickly:

  • Pure, uncut, self hosted Kubernetes — way too much complexity
  • Managed Kubernetes in various flavors — still too much complexity
  • Zeit — Maybe, but no Docker support
  • Elastic Beanstalk — Maybe, bit old but does the job
  • Heroku
  • Lambda

It became clear a mix of PaaS and FaaS was the way to go. What a surprise! That is exactly what I use for Checkly! But when do you pick which model?

I chopped that question up into the following categories:

  • Developer Experience / DX 🤓
  • Ops Experience / OX 🐂 (?)
  • Cost 💵
  • Lock in 🔐

Read the full post linked below for all details

357k views357k
Comments
Daniel
Daniel

May 4, 2020

Decided

Because Pulumi uses real programming languages, you can actually write abstractions for your infrastructure code, which is incredibly empowering. You still 'describe' your desired state, but by having a programming language at your fingers, you can factor out patterns, and package it up for easier consumption.

426k views426k
Comments
Sergey
Sergey

Contractor at Adaptive

Apr 17, 2020

Decided

Overview

We use Terraform to manage AWS cloud environment for the project. It is pretty complex, largely static, security-focused, and constantly evolving.

Terraform provides descriptive (declarative) way of defining the target configuration, where it can work out the dependencies between configuration elements and apply differences without re-provisioning the entire cloud stack.

Advantages

Terraform is vendor-neutral in a way that it is using a common configuration language (HCL) with plugins (providers) for multiple cloud and service providers.

Terraform keeps track of the previous state of the deployment and applies incremental changes, resulting in faster deployment times.

Terraform allows us to share reusable modules between projects. We have built an impressive library of modules internally, which makes it very easy to assemble a new project from pre-fabricated building blocks.

Disadvantages

Software is imperfect, and Terraform is no exception. Occasionally we hit annoying bugs that we have to work around. The interaction with any underlying APIs is encapsulated inside 3rd party Terraform providers, and any bug fixes or new features require a provider release. Some providers have very poor coverage of the underlying APIs.

Terraform is not great for managing highly dynamic parts of cloud environments. That part is better delegated to other tools or scripts.

Terraform state may go out of sync with the target environment or with the source configuration, which often results in painful reconciliation.

426k views426k
Comments

Detailed Comparison

Serverless
Serverless
Pulumi
Pulumi

Build applications comprised of microservices that run in response to events, auto-scale for you, and only charge you when they run. This lowers the total cost of maintaining your apps, enabling you to build more logic, faster. The Framework uses new event-driven compute services, like AWS Lambda, Google CloudFunctions, and more.

Pulumi is a cloud development platform that makes creating cloud programs easy and productive. Skip the YAML and just write code. Pulumi is multi-language, multi-cloud and fully extensible in both its engine and ecosystem of packages.

-
Containers - Deploy a Docker container to production in 5 minutes using your favorite orchestrator.; Serverless - Stand up a serverless API or event handler in 5 minutes using a real lambda in code.; Infrastructure - Manage cloud infrastructure or hosted services using infrastructure as code.; CoLaDa - Embrace containers, lambdas, and data, using a modern, multi-cloud framework.
Statistics
GitHub Stars
46.9K
GitHub Stars
24.1K
GitHub Forks
5.7K
GitHub Forks
1.3K
Stacks
2.2K
Stacks
306
Followers
1.2K
Followers
293
Votes
28
Votes
25
Pros & Cons
Pros
  • 14
    API integration
  • 7
    Supports cloud functions for Google, Azure, and IBM
  • 3
    Lower cost
  • 1
    5. Built-in Redundancy and Availability:
  • 1
    Auto scale
Pros
  • 8
    Infrastructure as code with less pain
  • 4
    Best-in-class kubernetes support
  • 3
    Simple
  • 3
    Can use many languages
  • 2
    Can be self-hosted
Integrations
Azure Functions
Azure Functions
AWS Lambda
AWS Lambda
Amazon API Gateway
Amazon API Gateway
No integrations available

What are some alternatives to Serverless, Pulumi?

AWS Lambda

AWS Lambda

AWS Lambda is a compute service that runs your code in response to events and automatically manages the underlying compute resources for you. You can use AWS Lambda to extend other AWS services with custom logic, or create your own back-end services that operate at AWS scale, performance, and security.

AWS CloudFormation

AWS CloudFormation

You can use AWS CloudFormation’s sample templates or create your own templates to describe the AWS resources, and any associated dependencies or runtime parameters, required to run your application. You don’t need to figure out the order in which AWS services need to be provisioned or the subtleties of how to make those dependencies work.

Azure Functions

Azure Functions

Azure Functions is an event driven, compute-on-demand experience that extends the existing Azure application platform with capabilities to implement code triggered by events occurring in virtually any Azure or 3rd party service as well as on-premises systems.

Google Cloud Run

Google Cloud Run

A managed compute platform that enables you to run stateless containers that are invocable via HTTP requests. It's serverless by abstracting away all infrastructure management.

Packer

Packer

Packer automates the creation of any type of machine image. It embraces modern configuration management by encouraging you to use automated scripts to install and configure the software within your Packer-made images.

Scalr

Scalr

Scalr is a remote state & operations backend for Terraform with access controls, policy as code, and many quality of life features.

Google Cloud Functions

Google Cloud Functions

Construct applications from bite-sized business logic billed to the nearest 100 milliseconds, only while your code is running

Knative

Knative

Knative provides a set of middleware components that are essential to build modern, source-centric, and container-based applications that can run anywhere: on premises, in the cloud, or even in a third-party data center

OpenFaaS

OpenFaaS

Serverless Functions Made Simple for Docker and Kubernetes

Azure Resource Manager

Azure Resource Manager

It is the deployment and management service for Azure. It provides a management layer that enables you to create, update, and delete resources in your Azure subscription. You use management features, like access control, locks, and tags, to secure and organize your resources after deployment.

Related Comparisons

GitHub
Bitbucket

Bitbucket vs GitHub vs GitLab

Bootstrap
Materialize

Bootstrap vs Materialize

Laravel
Django

Django vs Laravel vs Node.js

Bootstrap
Foundation

Bootstrap vs Foundation vs Material UI

Node.js
Spring Boot

Node.js vs Spring-Boot