Giter VIP home page Giter VIP logo

demo-aws-meetup's Introduction

demo-aws-meetup

Cloudformation vs Terraform vs Ansible

Goal

Write in 3 tech stacks a simple AWS infrastructure. This to compare how long it takes to write. How many lines of code. And maybe check which one runs the fastest?

The Stack:

  • Create 1 x VPC with 4 x VPC subnets(2 x public and 2 x private) in different AZ zones one AWS region
  • Create 1 x security group for each(Webservers,RDS and ELB)
  • Provision 2 x EC2 instances(Ubuntu 14.04 LTS) in 2 different public subnets
  • Provision 1 x RDS instance in private subnets
  • Launch and configure public facing VPC ELB (cross_az_load_balancing) and attach VPC subnets
  • Register EC2 instances on ELB

Ansible

We kept it simple. No dynamic hosts using ec2.py and work with tags to get hosts. Just a static hosts file. It took like 30 minutes to hack it together and 20 minutes to test it.

Cloudformation

Every resource will be created from one cloudformation run/file. It took 1 hour to create and test it.

Terraform

One Terraform project without any modules. Keeping it simple. It took 30 min to create and test it.

demo-aws-meetup's People

Contributors

gtheys avatar mattiasgees avatar simonrondelez avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.