Need advice about which tool to choose?Ask the StackShare community!

Azure Resource Manager

38
90
+ 1
9
Pulumi

288
285
+ 1
20
Add tool

Azure Resource Manager vs Pulumi: What are the differences?

Introduction

Azure Resource Manager and Pulumi are both infrastructure-as-code tools that help provision and manage cloud resources. However, they have some key differences that set them apart.

  1. Language Support: Azure Resource Manager (ARM) uses JSON or Azure Resource Manager Templates (ARM Templates) as the primary language for defining the infrastructure. On the other hand, Pulumi supports multiple languages such as Python, TypeScript, JavaScript, and Go, allowing developers to choose a language they are comfortable with.

  2. Provider Support: ARM is specific to the Azure ecosystem and provides a comprehensive set of resource providers for managing Azure resources. Pulumi, on the other hand, supports multiple cloud providers including Azure, AWS, Google Cloud, and Kubernetes, making it a cross-cloud platform for managing resources.

  3. Resource Modeling: ARM uses a declarative approach to resource modeling. Developers define the desired state of the infrastructure, and ARM handles the creation and management of resources to achieve that state. Pulumi, on the other hand, uses a imperative approach where developers write actual code to define and manage resources, giving them more flexibility and control over the infrastructure.

  4. Programmability: ARM provides a REST API and Azure CLI for interacting with Azure resources programmatically. Pulumi, on the other hand, offers a rich programming model with SDKs for various programming languages, allowing developers to leverage the full power of their chosen language to define and manage resources.

  5. Stack Management: ARM manages resources at a subscription level, and resources are grouped into resource groups. Pulumi introduces the concept of stacks, which are isolated instances of the infrastructure. This allows developers to manage different environments or variations of the infrastructure using separate stacks.

  6. Continuous Delivery: ARM supports continuous delivery through Azure DevOps or other CI/CD tools, allowing for automated deployments. Pulumi also supports continuous delivery and integrates well with popular CI/CD tools. However, Pulumi's imperative approach to infrastructure management provides more flexibility in implementing complex deployment and automation scenarios.

In Summary, Azure Resource Manager and Pulumi differ in terms of language support, provider support, resource modeling, programmability, stack management, and continuous delivery capabilities.

Decisions about Azure Resource Manager and Pulumi

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.

See more
Sergey Ivanov
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.

See more
Get Advice from developers at your company using StackShare Enterprise. Sign up for StackShare Enterprise.
Learn More
Pros of Azure Resource Manager
Pros of Pulumi
  • 3
    Bicep - Simple Declarative Language
  • 1
    Infrastructure-as-Code
  • 1
    Over 1K samples the QuickStart repo
  • 1
    Deep integration with Azure services like Azure Policy
  • 1
    Day 1 resource support
  • 1
    RBAC and Policies in templates
  • 1
    Versioned deployment via Blueprints
  • 7
    Infrastructure as code with less pain
  • 4
    Best-in-class kubernetes support
  • 2
    Great CLI
  • 2
    Simple
  • 2
    Can use many languages
  • 1
    Built-in secret management
  • 1
    Can be self-hosted
  • 1
    Multi-cloud

Sign up to add or upvote prosMake informed product decisions

What is 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.

What is Pulumi?

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.

Need advice about which tool to choose?Ask the StackShare community!

What companies use Azure Resource Manager?
What companies use Pulumi?
See which teams inside your own company are using Azure Resource Manager or Pulumi.
Sign up for StackShare EnterpriseLearn More

Sign up to get full access to all the companiesMake informed product decisions

What tools integrate with Azure Resource Manager?
What tools integrate with Pulumi?

Sign up to get full access to all the tool integrationsMake informed product decisions

What are some alternatives to Azure Resource Manager and Pulumi?
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.
Terraform
With Terraform, you describe your complete infrastructure as code, even as it spans multiple service providers. Your servers may come from AWS, your DNS may come from CloudFlare, and your database may come from Heroku. Terraform will build all these resources across all these providers in parallel.
PowerShell
A command-line shell and scripting language built on .NET. Helps system administrators and power-users rapidly automate tasks that manage operating systems (Linux, macOS, and Windows) and processes.
Chef
Chef enables you to manage and scale cloud infrastructure with no downtime or interruptions. Freely move applications and configurations from one cloud to another. Chef is integrated with all major cloud providers including Amazon EC2, VMWare, IBM Smartcloud, Rackspace, OpenStack, Windows Azure, HP Cloud, Google Compute Engine, Joyent Cloud and others.
Kubernetes
Kubernetes is an open source orchestration system for Docker containers. It handles scheduling onto nodes in a compute cluster and actively manages workloads to ensure that their state matches the users declared intentions.
See all alternatives