AWS CloudFormation vs. HashiCorp Terraform

Overview
ProductRatingMost Used ByProduct SummaryStarting Price
AWS CloudFormation
Score 8.7 out of 10
N/A
AWS CloudFormation gives developers and systems administrators a way to create and manage a collection of related AWS resources, provisioning and updating them in a predictable fashion. Use AWS CloudFormation’s sample templates or create templates to describe the AWS resources, and any associated dependencies or runtime parameters, required to run an application. Users don’t need to figure out the order for provisioning AWS services or the subtleties of making those dependencies work.…
$0
HashiCorp Terraform
Score 8.5 out of 10
N/A
Terraform from HashiCorp is a cloud infrastructure automation tool that enables users to create, change, and improve production infrastructure, and it allows infrastructure to be expressed as code. It codifies APIs into declarative configuration files that can be shared amongst team members, treated as code, edited, reviewed, and versioned. It is available Open Source, and via Cloud and Self-Hosted editions.
$0
Pricing
AWS CloudFormationHashiCorp Terraform
Editions & Modules
Free Tier - 1,000 Handler Operations per Month per Account
$0.00
Handler Operation
$0.0009
per handler operation
Open Source
$0
Team & Governance
$20/user
per user/per month
Enterprise
Contact sales team
Offerings
Pricing Offerings
AWS CloudFormationHashiCorp Terraform
Free Trial
YesNo
Free/Freemium Version
YesYes
Premium Consulting/Integration Services
YesNo
Entry-level Setup FeeNo setup feeNo setup fee
Additional DetailsThere is no additional charge for using AWS CloudFormation with resource providers in the following namespaces: AWS::*, Alexa::*, and Custom::*. In this case you pay for AWS resources (such as Amazon EC2 instances, Elastic Load Balancing load balancers, etc.) created using AWS CloudFormation as if you created them manually. You only pay for what you use, as you use it; there are no minimum fees and no required upfront commitments. When you use resource providers with AWS CloudFormation outside the namespaces mentioned above, you incur charges per handler operation. Handler operations are create, update, delete, read, or list actions on a resource.—
More Pricing Information
Community Pulse
AWS CloudFormationHashiCorp Terraform
Considered Both Products
AWS CloudFormation
Chose AWS CloudFormation
We didn't look into anything else as Cloudformation was "built-in" for AWS, it just kind of made sense to go with that. Terraform was something that we briefly looked into Terraform but decides to stick with Cloudformation because our task was relatively "simple". Apparently if …
Chose AWS CloudFormation
As we have our whole infrastructure on AWS, that is why we selected AWS CloudFormation. AWS CloudFormation is better integrated with AWS services than other available products and also provides visibility and tracking on AWS. AWS CloudFormation is free while Terraform …
Chose AWS CloudFormation
Since the product I'm involved is primarily hosted on AWS we use CloudFormation but in some other products where we have hybrid cloud deployments we prefer Terraform which is opensource.
HashiCorp Terraform
Chose HashiCorp Terraform
AWS CloudFormation is better if you just want to stick with AWS because it's integration with AWS is better, provides auto-rollback in case of failures, and has GUI to manage and view the stacks built. Terraform is better when we want to stay cloud-agnostic. Terraform is better …
Chose HashiCorp Terraform
CloudFormation is only for AWS so if you're trying to deploy to another cloud provider then Terraform is your product. Terraform has lots of public support so you can find answers to questions by Googling. CloudFormation is easy to view the resources/services that are …
Chose HashiCorp Terraform
Terraform was more preferred over Ansible as it is considerably more intutive.
Top Pros
Top Cons
Best Alternatives
AWS CloudFormationHashiCorp Terraform
Small Businesses
HashiCorp Terraform
HashiCorp Terraform
Score 8.5 out of 10
HashiCorp Vagrant
HashiCorp Vagrant
Score 9.9 out of 10
Medium-sized Companies
Ansible
Ansible
Score 8.9 out of 10
Ansible
Ansible
Score 8.9 out of 10
Enterprises
Ansible
Ansible
Score 8.9 out of 10
Ansible
Ansible
Score 8.9 out of 10
All AlternativesView all alternativesView all alternatives
User Ratings
AWS CloudFormationHashiCorp Terraform
Likelihood to Recommend
7.6
(5 ratings)
6.3
(25 ratings)
Usability
-
(0 ratings)
8.0
(1 ratings)
Performance
-
(0 ratings)
9.4
(3 ratings)
Support Rating
-
(0 ratings)
7.4
(5 ratings)
Ease of integration
-
(0 ratings)
9.2
(3 ratings)
User Testimonials
AWS CloudFormationHashiCorp Terraform
Likelihood to Recommend
Amazon AWS
AWS CloudFormation is well suited for scenarios where all of your resources need to be provisioned on AWS but it is not suited for hybrid cloud deployments. It's very easy for someone new to learn. The level of customization offered as part of the template specifically for AWS services is great. There is also a UI tool where we can drag and drop the services we want and it generates an yaml file which is very easy to use. The visibility of stacks and its resources and one place where we can track and identify the issues in deployment is great.
Read full review
HashiCorp
8 because it's currently best-in-class and is completely essential to use in contrast to not expressing your infrastructure as code. That said, new contenders are nipping at its heels, and I expect stronger tools to emerge in the coming years. Hopefully the Terraform team is able to keep pace.
Read full review
Pros
Amazon AWS
  • SaaS
  • Paas
  • Iaas
  • On promises
Read full review
HashiCorp
  • Terraform is cloud agnostic. Just select the suitable provider for the cloud and it will do the job.
  • Templating is possible to make the Terraform templates reusable.
  • Variables can be created to make the templates generic so that it can be reused for different environments or resources.
Read full review
Cons
Amazon AWS
  • Error Description upon Failure Needs to be Improved.
  • Slow to create, delete or update.
  • Need to delete resources manually. It can ask before starting deletion whether to skip those resources or delete them.
Read full review
HashiCorp
  • The errors generated by the plan and preview commands are pretty cryptic, it can be hard for newcomers to the scripting language to understand how to address problems.
  • Access controls around workspaces is limited which makes it harder to secure reduce the scope of teams ability.
  • Analytics around user usage, applies and plans would be helpful for managemenet.
Read full review
Usability
Amazon AWS
No answers on this topic
HashiCorp
I love Terraform and I think it has done some great things for people that are working to automate their provisioning processes and also for those that are in the process of moving to the cloud or managing cloud resources. There are some quirks to HCL that take a little bit of getting used to and give picking up Terraform a little bit of a learning curve, thus the rating
Read full review
Performance
Amazon AWS
No answers on this topic
HashiCorp
Terraform's performance is quite amazing when it comes to deployment of resources in AWS. Of course, the deployment times depend on various parameters like the number of resources to deploy and different regions to deploy. Terraform cannot control that. The only minor drawback probably shows up when a terraform job is terminated mid way. Then in many cases, time-consuming manual cleanup is required.
Read full review
Support Rating
Amazon AWS
No answers on this topic
HashiCorp
I have yet to have an opportunity to reach out directly to HashiCorp for support on Terraform. However, I have spent a great deal of time considering their documentation as I use the tool. This opinion is based solely on that. I find the Terraform documentation to have great breadth but lacking in depth in many areas. I appreciate that all of the tool's resources have an entry in the docs but often the examples are lacking. Often, the examples provided are very basic and prompt additional exploration. Also, the links in the documentation often link back to the same page where one might expect to be linked to a different source with additional information.
Read full review
Alternatives Considered
Amazon AWS
We didn't look into anything else as Cloudformation was "built-in" for AWS, it just kind of made sense to go with that. Terraform was something that we briefly looked into Terraform but decides to stick with Cloudformation because our task was relatively "simple". Apparently if it's a bit more complex, Terraform might be the way to go.
Read full review
HashiCorp
Terraform is the solid leader in the space. It allows you to do more then just provisioning within a pre-existing servers. It is more extensible and has more providers available than it competitors. It is also open source and more adopted by the community then some of the other solutions that are available in the market place.
Read full review
Return on Investment
Amazon AWS
  • It has a positive ROI
  • Less time inverted in bugs
  • More stable source code
Read full review
HashiCorp
  • we are able to deploy our infrastructure in a couple of ours in an automated and repeatable way, before this could take weeks if the work was done manually and was a lot of error prone.
  • having the state file, you can see a diff of what things have changed manually out side of Terraform which is a huge plus
  • if state file gets corrupted, it is very hard to debug or restore it without an impact or spending hours ..
  • writing big scale code can be very challenging and hard to be efficient so it's usable by the whole team
Read full review
ScreenShots

AWS CloudFormation Screenshots

Screenshot of CloudFormation - How it works overviewScreenshot of CloudFormation - High level how it worksScreenshot of CloudFormation - Template exampleScreenshot of CloudFormation - Template inputs overview

HashiCorp Terraform Screenshots

Screenshot of Terraform StateScreenshot of Terraform RunsScreenshot of Terraform VariablesScreenshot of Terraform WorkspacesScreenshot of Terraform Cost Estimation