Preparation steps


In this part, you will set up the network infrastructure with CloudFormation Template for the lab with the following architecture:

AWS Transit Gateway

As such, deployed resources include:

  • First EC2 Host at VPC1 and Third EC2 Host at VPC3 can be connected via the Internet.
  • Second EC2 Host at VPC2 and Fourth EC2 Host at VPC4 cannot be connected via the Internet.


  1. Generate Key Pair
  2. Initialize CloudFormation Template