Lesson 21 - Networking Infrastructure
Introduction to CloudDevOps from the Bertelsmann Tech Scholarship Challenge Course - Cloud Track Nanodegree Program

Workflow and Helpers

You may download the network's yaml file here for a reference.
Although descriptions are optional , Resource fields are required. Remember to include at least one resource (e.g., a VPC, an EC2 instance, a database) in the CloudFormation .yml script, otherwise it will give an error when you try to run the script.

Resources:
VPC:
TYPE: AWS::EC2::VPC

VPC and Internet Gateway

cloud formation scripts cloud formation scripts 2 cloud formation scripts 3
Calling CloudFormation

aws cloudformation create-stack --stack-name MyStack --template-body file://MyCloudformationScript.yml --parameters file://MyEnvironmentVariables.json

NAT Gateway and Subnets

Refer to this AWS documentation to create subnet, and this link to create a NAT Gateway.

Routing

Routing is the action of applying routing rules to your network, in this case, to your VPC.
Routing rule: Resources follow the routing rule, which defines what resource has access to communicate with another resource. It blocks traffic from resources that do not follow the routing rule.

Refer to this this user guide to create Route Tables.

Outputs

The output documentation can be referred here.
Outputs are optional but are very useful if there are output values you need to:


Join Function can be used to combine a group of values. The syntax requires you provide a delimiter and a list of values you want appended.