troposphere python infrastructure as code for aws cloudformation
TRANSCRIPT
TropospherePython Infrastructure as Code for AWS Cloudformation
Patrick Pierson
DevOps Engineer
Ion Channel
What is Infrastructure as code?
Infrastructure as code is the process of managing and provisioning computing infrastructure (processes, bare-metal servers, virtual servers, etc.) and their configuration through machine-processable definition files, rather than physical hardware configuration or the use of interactive configuration tools.
What is Cloudformation?
Amazon Web Services (AWS) CloudFormation is a service that helps you model and set up your AWS resources so that you can spend less time managing those resources and more time focusing on your applications that run in AWS.
What is Troposphere?
The troposphere library allows for easier creation of the AWS CloudFormation JSON by writing Python code to describe the AWS resources. troposphere also includes some basic support for OpenStack resources via Heat.
Troposphere Demohttps://github.com/python-frederick/2017-02-troposphere
Errorshttps://github.com/python-frederick/2017-02-troposphere/blob/master/errors.py
Simple Templatehttps://github.com/python-frederick/2017-02-troposphere/blob/master/simple-template.py
Multiple Instanceshttps://github.com/python-frederick/2017-02-troposphere/blob/master/multiple-template.py
Cfn2py Demohttps://github.com/python-frederick/2017-02-troposphere/blob/master/cfn2py
Troposphere and Packerhttps://github.com/python-frederick/2017-02-troposphere/tree/master/tropo-packer