Skip to Content
Cloud Native Python
book

Cloud Native Python

by Manish Sethi
July 2017
Intermediate to advanced
374 pages
8h
English
Packt Publishing
Content preview from Cloud Native Python

CloudFormation - an AWS tool for building infrastructure using code

CloudFormation is an AWS service, which works in a similar fashion to Terraform. However, in CloudFormation, we don't need the access/secret keys. Instead, we need to create an IAM role, which will have the required access to launch all the resources  needed to architect our application.

You can write your CloudFormation configuration using the YAML or JSON format.

Let's begin our infrastructure setup using CloudFormation by building the VPC, where we will create a VPC with, a public and a private subnet.

Let's create a new file, vpc.template, with the VPC and subnet's (public and private) configurations as follows:

 "Resources" : { "VPC" : { "Type" : "AWS::EC2::VPC", "Properties" ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Python for DevOps

Python for DevOps

Noah Gift, Kennedy Behrman, Alfredo Deza, Grig Gheorghiu
Cloud Native

Cloud Native

Boris Scholl, Trent Swanson, Peter Jausovec

Publisher Resources

ISBN: 9781787129313Supplemental Content