You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
title: Pulumi vs. Cloud Templates (AWS CloudFormation, etc.)
3
-
meta_desc: This page gives an overview of the major differences between Pulumi
4
-
and Cloud Templates (AWS CloudFormation, etc.).
2
+
title: Pulumi vs. AWS CloudFormation and Other Templates
3
+
meta_desc: This page gives an overview of the major differences between Pulumi and Cloud Templates such as AWS CloudFormation.
5
4
linktitle: Cloud Templates
6
5
menu:
7
6
intro:
@@ -11,21 +10,25 @@ menu:
11
10
aliases: ["/docs/reference/vs/cloud_templates/"]
12
11
---
13
12
13
+
## What is CloudFormation?
14
+
14
15
All major cloud providers offer their own form of infrastructure-as-"code" solution, typically by way of JSON or
15
16
YAML-based templating solutions. This includes AWS CloudFormation and Azure Resource Manager (ARM) templates.
16
17
17
18
These markup-based configuration files are often uploaded to a hosted service in the target cloud, where a hosted
18
19
service will then process the files to create, update, or delete resources as necessary.
19
20
20
-
Pulumi's model shares a lot with these systems. Although Pulumi programs are written in imperative, familiar languages,
21
-
they are ultimately evaluated to produce a similar set of create, update, or delete operations for your cloud resources.
21
+
## The Pulumi Difference
22
22
23
-
This is where Pulumi begins to diverge from these other solutions, however.
23
+
Pulumi offers a multi-cloud alternative to more restrictive infrastructure-as-code template solutions, such as AWS CloudFormation. Pulumi allows you to streamline processes through managing resources from different platforms all in one place, using real code, in your favorite language.
24
+
25
+
Pulumi's model shares a lot with these systems. Although Pulumi programs are written in imperative, familiar languages,
26
+
they are ultimately evaluated to produce a similar set of create, update, or delete operations for your cloud resources. This is where Pulumi begins to diverge from these other solutions such as AWS CloudFormation, however.
24
27
25
-
Pulumi lets you use your favorite languages, instead of bespoke templating solutions. These typically use syntaxes that
26
-
are awkward, hard to learn, and even harder to remember. Pulumi programs are just real code. Thanks to basic things
27
-
like functions and classes, we've seen 25,000 line CloudFormation templates shrink to just a few hundred lines of code.
28
-
This approach also leads to far less copy and pasting between projects because you can share packages.
28
+
Pulumi lets you use your favorite languages, instead of bespoke templating solutions such as CloudFormation. These
29
+
typically use syntaxes that are awkward, hard to learn, and even harder to remember. Pulumi programs are just real
30
+
code. Thanks to basic things like functions and classes, we've seen 25,000 line CloudFormation templates shrink to
31
+
just a few hundred lines of code. This approach also leads to far less copy and pasting between projects because you can share packages.
29
32
30
33
Pulumi is also multi-cloud. So, you only need to learn one programming model, tool, and workflow. In fact, you can
31
34
easily manage resources from different clouds, easing what would otherwise require manual orchestration. For example
@@ -42,5 +45,4 @@ There are many community-led projects which allow you to write code in a real la
42
45
configuration templates as a sort of "compilation" step. These offer nice syntactic sugar on top of the raw
43
46
templates, but the underlying model leaks through and carries forward all of the other abovementioned shortcomings.
44
47
45
-
Finally, Pulumi is [open source](https://github.com/pulumi/pulumi) and community-driven. All of the cloud systems are
46
-
proprietary closed source, lead to lock-in, and lack the ability for the community to contribute to them.
48
+
Finally, Pulumi is [open source](https://github.com/pulumi/pulumi) and community-driven. All of the other cloud systems — such as Azure Resource Manager or AWS CloudFormation — are proprietary closed source, lead to lock-in, and lack the ability for the community to contribute to them.
0 commit comments