aws autoamtion using ansible and other tools
TRANSCRIPT
aws whole stack automationusing cloudformation, ansible and other tools
Michael Kim 12/2015
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
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
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
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