Upgrade to Pro — share decks privately, control downloads, hide ads and more …

AWS Meetup Belgium - Forming clouds: CloudFormation vs Ansible vs TerraForm

Geert Theys
September 17, 2015

AWS Meetup Belgium - Forming clouds: CloudFormation vs Ansible vs TerraForm

Present our experiences we have with these 3 tools to provision AWS infrastructure. Give our opinions and discuss in the group.

Geert Theys

September 17, 2015
Tweet

More Decks by Geert Theys

Other Decks in Technology

Transcript

  1. Geert Theys Sales guy @skyscrapers Still likes to get his

    hands dirty. github.com/gtheys twitter.com/toadi geerttheys.com
  2. Easy to install? Package managers: • brew install • apt-get

    install • yum install Warning: None are up to date! Latest versions pip and/or sources
  3. It's running ;) • CloudFormation: • Parallelizes as much as

    possible • Terraform: • Use dependency graph and parallelizes as much as possible • Partial refresh before changes • Ansible:
  4. How do they keep state? • Cloudformation on AWS •

    Terraform creates a state file • Ansible ad hoc state
  5. 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
  6. Issues? • CloudFormation: • JSON • No partial run possible

    • Terraform: • No full coverage of AWS • Ansible: • Not every aws module has --dry-run check mode!
  7. Do I want to use it? • Terraform: Destroy ordering,

    clean and readable, focus on 1 thing • Ansible: It's simple • Cloudformation: Who likes JSON?