troposphere python infrastructure as code for aws cloudformation

10
Troposphere Python Infrastructure as Code for AWS Cloudformation Patrick Pierson DevOps Engineer Ion Channel

Upload: patrick-pierson

Post on 13-Apr-2017

137 views

Category:

Technology


4 download

TRANSCRIPT

Page 1: Troposphere Python infrastructure as code for AWS Cloudformation

TropospherePython Infrastructure as Code for AWS Cloudformation

Patrick Pierson

DevOps Engineer

Ion Channel

Page 2: Troposphere Python infrastructure as code for AWS Cloudformation

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.

Page 3: Troposphere Python infrastructure as code for AWS Cloudformation

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.

Page 4: Troposphere Python infrastructure as code for AWS Cloudformation

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.

Page 5: Troposphere Python infrastructure as code for AWS Cloudformation

Troposphere Demohttps://github.com/python-frederick/2017-02-troposphere

Page 6: Troposphere Python infrastructure as code for AWS Cloudformation

Errorshttps://github.com/python-frederick/2017-02-troposphere/blob/master/errors.py

Page 7: Troposphere Python infrastructure as code for AWS Cloudformation

Simple Templatehttps://github.com/python-frederick/2017-02-troposphere/blob/master/simple-template.py

Page 8: Troposphere Python infrastructure as code for AWS Cloudformation

Multiple Instanceshttps://github.com/python-frederick/2017-02-troposphere/blob/master/multiple-template.py

Page 9: Troposphere Python infrastructure as code for AWS Cloudformation

Cfn2py Demohttps://github.com/python-frederick/2017-02-troposphere/blob/master/cfn2py

Page 10: Troposphere Python infrastructure as code for AWS Cloudformation

Troposphere and Packerhttps://github.com/python-frederick/2017-02-troposphere/tree/master/tropo-packer