Create a vpc by bash script or CloudFormation Template. With this script you will create a VPC (virtual private cloud) on AWS.
The script creates:
- VPC.
- Two public subnets in eu-west-1 region ( in to different Avability Zones).
- Internet Gateway
- Route table with default entry.
USING bash script:
- Download .sh file.
- Add execute permision: chmod +x create_vpc_2p.sh
- Just run the script: create_vpc_2p.sh
USING CloudFormation: Use the content of the file in AWS CloudFormation console. More details: http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/cfn-console-create-stack.html
Remember, my script include AZ from Virginia Regions.