Skip to Main Content
Python Network Programming
book

Python Network Programming

by Abhishek Ratan, Eric Chou, Pradeeban Kathiravelu, Dr. M. O. Faruque Sarker
January 2019
Beginner to intermediate content levelBeginner to intermediate
776 pages
19h 58m
English
Packt Publishing
Content preview from Python Network Programming

Automation with CloudFormation

AWS CloudFomation (https://aws.amazon.com/cloudformation/), is one way in which we can use a text file to describe and launch the resource that we need. We can use CloudFormation to provision another VPC in the us-west-1 region: 

VPC for US-West-1

The CloudFormation template can be in YAML or JSON; we will use YAML for our first template for provisioning:

$ cat Chapter9_3_cloud_formation.ymlAWSTemplateFormatVersion: '2010-09-09'Description: Create VPC in us-west-1Resources:  myVPC:    Type: AWS::EC2::VPC    Properties:      CidrBlock: '10.1.0.0/16'      EnableDnsSupport: 'false'      EnableDnsHostnames: 'false'      Tags:        - Key: Name
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 Network Programming for Network Engineers (Python 3)

Python Network Programming for Network Engineers (Python 3)

David Bombal

Publisher Resources

ISBN: 9781788835466Supplemental Content