aws autoamtion using ansible and other tools

5
aws whole stack automation using cloudformation, ansible and other tools Michael Kim 12/2015

Upload: michael-kim

Post on 23-Jan-2017

185 views

Category:

Software


2 download

TRANSCRIPT

Page 1: Aws autoamtion using ansible and other tools

aws whole stack automationusing cloudformation, ansible and other tools

Michael Kim 12/2015

Page 2: Aws autoamtion using ansible and other tools

technical stackStart

w/ shell script

minimum high level parameters (i.e. stage)

possibly combined with Python/boto

Chaining & cross-linking - configuration mgmt. ansible playbooks

server roles

vars

Text .ini filefor “all” values

drop-in deployment

A file per dev, stage or production

Page 3: Aws autoamtion using ansible and other tools

technical stack … continuedBastion & command host within AWS

avoid 22 exposure

streamlined provisioning

Cloud formation template for AWS stacksbased on text .ini file

Conditional, Looping, Parameterized on static CF template

.conf template (Jinja2)Proxy, web-server, data store and etc

Page 4: Aws autoamtion using ansible and other tools

technical stack … continuedInfrastructure as a code

Complete provisioning sets stored as text file(s) in GIT

Single source of Truth

Systematic knowledge share - no hidden secret

Page 5: Aws autoamtion using ansible and other tools

technical stack … later phaseDynamic inventory

External tool - Cobbler / static hosts file

aws meta data server

scripted tear-down

AB deployment / One-click rollback

On-going rolling updates