Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
#8 Forming clouds:
CloudFormation vs
Ansible vs TerraForm
Geert Theys
Sales guy @skyscrapers
Still likes to get his hands dirty.
github.com/gtheys
twitter.com/toadi
geerttheys.com
Mattias Gees
Cloud Engineer @skyscrapers
Likes to experiment!
github.com/mattiasgees
twitter.com/mattiasgees
blog.mattiasg...
CloudFormation
<> Terraform
<> Ansible
for AWS provisioning
All different tools
and there are many others!
All have their advantages
And disadvantages
Before we start!
Lets compare
Simple syntax?
CloudFormation:
Terraform:
Ansible:
Which one was the easiest to read?
Easy to install?
Package managers:
• brew install
• apt-get install
• yum install
Warning: None are up to date!
Latest ver...
Safe to use?
Terraform and Ansible have a plan or --check mode
Productive?
It's running ;)
• CloudFormation:
• Parallelizes as much as possible
• Terraform:
• Use dependency graph and parallelizes ...
How do they keep state?
• Cloudformation on AWS
• Terraform creates a state file
• Ansible ad hoc state
Do I feel safe
• CloudFormation:
• Start to pray when you run it
• Roll back on fail
• Terraform:
• Partial State gets sto...
Issues?
• CloudFormation:
• JSON
• No partial run possible
• Terraform:
• No full coverage of AWS
• Ansible:
• Not every a...
Legacy projects?
• Cloudformation: Cloudformer
• Terraform: Terraforming
• Ansible: Just do it
Do you look
cool when
using it?
Do I want to use it?
• Terraform: Destroy ordering, clean and readable, focus on 1
thing
• Ansible: It's simple
• Cloudfor...
Do we recommend 1?
Questions?Presentation + demo on github.com/skyscrapers/demo-aws-meetup
CloudFormation vs Terraform vs Ansible
CloudFormation vs Terraform vs Ansible
CloudFormation vs Terraform vs Ansible
Upcoming SlideShare
Loading in …5
×

CloudFormation vs Terraform vs Ansible

13,690 views

Published on

Presentation I gave at the AWS Meetup on 16 September together with Geert Theys. http://www.meetup.com/AWS-User-Group-Belgium/events/224609623/

Published in: Technology

CloudFormation vs Terraform vs Ansible

  1. 1. #8 Forming clouds: CloudFormation vs Ansible vs TerraForm
  2. 2. Geert Theys Sales guy @skyscrapers Still likes to get his hands dirty. github.com/gtheys twitter.com/toadi geerttheys.com
  3. 3. Mattias Gees Cloud Engineer @skyscrapers Likes to experiment! github.com/mattiasgees twitter.com/mattiasgees blog.mattiasgees.be
  4. 4. CloudFormation <> Terraform <> Ansible for AWS provisioning
  5. 5. All different tools and there are many others!
  6. 6. All have their advantages
  7. 7. And disadvantages
  8. 8. Before we start!
  9. 9. Lets compare
  10. 10. Simple syntax?
  11. 11. CloudFormation:
  12. 12. Terraform:
  13. 13. Ansible:
  14. 14. Which one was the easiest to read?
  15. 15. Easy to install? Package managers: • brew install • apt-get install • yum install Warning: None are up to date! Latest versions pip and/or sources
  16. 16. Safe to use? Terraform and Ansible have a plan or --check mode
  17. 17. Productive?
  18. 18. It's running ;) • CloudFormation: • Parallelizes as much as possible • Terraform: • Use dependency graph and parallelizes as much as possible • Partial refresh before changes • Ansible:
  19. 19. How do they keep state? • Cloudformation on AWS • Terraform creates a state file • Ansible ad hoc state
  20. 20. Do I feel safe • CloudFormation: • Start to pray when you run it • Roll back on fail • Terraform: • Partial State gets stored on error (eg. sg gets created not the rules, next run will fix this) • Create before destroy
  21. 21. Issues? • CloudFormation: • JSON • No partial run possible • Terraform: • No full coverage of AWS • Ansible: • Not every aws module has --dry-run check mode!
  22. 22. Legacy projects? • Cloudformation: Cloudformer • Terraform: Terraforming • Ansible: Just do it
  23. 23. Do you look cool when using it?
  24. 24. Do I want to use it? • Terraform: Destroy ordering, clean and readable, focus on 1 thing • Ansible: It's simple • Cloudformation: Who likes JSON?
  25. 25. Do we recommend 1?
  26. 26. Questions?Presentation + demo on github.com/skyscrapers/demo-aws-meetup

×