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:
The CloudFormation template can be in YAML or JSON; we will use YAML for our first template for provisioning:
$ cat Chapter10_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 ...