How to Use Cloudformation to Create a VPC on AWS

Using Cloudformation, we can create and manage AWS resources very easily.  Cloudformation can be used to manage all AWS resources using a text file. In this article, we will use Cloudformation to create a VPC with 2 Public and 2 Private Subnets.