Ansible vs AWS CloudFormation vs Terraform

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

Ansible

14.4K
11.5K
+ 1
1.3K
AWS CloudFormation

1.4K
1.1K
+ 1
87
Terraform

11.1K
8.8K
+ 1
322
Get Advice from developers at your company using Private StackShare. Sign up for Private StackShare.
Learn More
Pros of Ansible
Pros of AWS CloudFormation
Pros of Terraform
  • 276
    Agentless
  • 204
    Great configuration
  • 195
    Simple
  • 173
    Powerful
  • 151
    Easy to learn
  • 66
    Flexible
  • 54
    Doesn't get in the way of getting s--- done
  • 34
    Makes sense
  • 29
    Super efficient and flexible
  • 27
    Powerful
  • 11
    Dynamic Inventory
  • 8
    Backed by Red Hat
  • 7
    Works with AWS
  • 6
    Cloud Oriented
  • 6
    Easy to maintain
  • 4
    Because SSH
  • 4
    Multi language
  • 4
    Easy
  • 4
    Simple
  • 4
    Procedural or declarative, or both
  • 4
    Simple and powerful
  • 3
    Consistency
  • 3
    Vagrant provisioner
  • 2
    Fast as hell
  • 2
    Masterless
  • 2
    Well-documented
  • 2
    Merge hash to get final configuration similar to hiera
  • 2
    Debugging is simple
  • 1
    Work on windows, but difficult to manage
  • 1
    Certified Content
  • 42
    Automates infrastructure deployments
  • 21
    Declarative infrastructure and deployment
  • 13
    No more clicking around
  • 3
    Any Operative System you want
  • 3
    Infrastructure as code
  • 3
    Atomic
  • 1
    Automates Infrastructure Deployment
  • 1
    CDK makes it truly infrastructure-as-code
  • 109
    Infrastructure as code
  • 73
    Declarative syntax
  • 44
    Planning
  • 27
    Simple
  • 24
    Parallelism
  • 7
    Cloud agnostic
  • 6
    It's like coding your infrastructure in simple English
  • 6
    Well-documented
  • 5
    Platform agnostic
  • 4
    Automates infrastructure deployments
  • 4
    Immutable infrastructure
  • 3
    Portability
  • 3
    Extendable
  • 3
    Automation
  • 2
    Scales to hundreds of hosts
  • 2
    Lightweight

Sign up to add or upvote prosMake informed product decisions

Cons of Ansible
Cons of AWS CloudFormation
Cons of Terraform
  • 5
    Dangerous
  • 5
    Hard to install
  • 3
    Bloated
  • 3
    Backward compatibility
  • 2
    Doesn't Run on Windows
  • 2
    No immutable infrastructure
  • 4
    Brittle
  • 2
    No RBAC and policies in templates
  • 1
    Doesn't have full support to GKE

Sign up to add or upvote consMake informed product decisions

No Stats
- No public GitHub repository available -

What is Ansible?

Ansible is an IT automation tool. It can configure systems, deploy software, and orchestrate more advanced IT tasks such as continuous deployments or zero downtime rolling updates. Ansible’s goals are foremost those of simplicity and maximum ease of use.

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

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

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

What companies use Ansible?
What companies use AWS CloudFormation?
What companies use Terraform?

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

What tools integrate with Ansible?
What tools integrate with AWS CloudFormation?
What tools integrate with Terraform?

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

Blog Posts

PythonDockerKubernetes+14
11
2125
JavaScriptGitHubNode.js+29
15
11653
GitHubPythonReact+42
47
39529
GitHubPythonNode.js+47
50
69616
GitHubPythonGit+22
17
13545
GitHubGitSlack+30
25
15782
What are some alternatives to Ansible, AWS CloudFormation, and Terraform?
Puppet Labs
Puppet is an automated administrative engine for your Linux, Unix, and Windows systems and performs administrative tasks (such as adding users, installing packages, and updating server configurations) based on a centralized specification.
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.
Salt
Salt is a new approach to infrastructure management. Easy enough to get running in minutes, scalable enough to manage tens of thousands of servers, and fast enough to communicate with them in seconds. Salt delivers a dynamic communication bus for infrastructures that can be used for orchestration, remote execution, configuration management and much more.
Jenkins
In a nutshell Jenkins CI is the leading open-source continuous integration server. Built with Java, it provides over 300 plugins to support building and testing virtually any project.
Docker
The Docker Platform is the industry-leading container platform for continuous, high-velocity innovation, enabling organizations to seamlessly build and share any application — from legacy to what comes next — and securely run them anywhere
See all alternatives