Summary
We are at the end of the chapter, so let's summarize what we have covered in this chapter.
We have covered two ways to create Virtual Private Cloud: one with the wizard and one without it. Of course, creating a VPC with the wizard is quicker and easier, but it is more desirable to work with a custom VPC first so we know what is going on behind the scenes when we create a VPC with the wizard.
Once we had created a custom VPC, we created an application in Elastic Beanstalk that is a PaaS offering from AWS. We then created an environment in the application and deployed a sample application in the environment. While creating and configuring the application and environment, we configured our custom VPC for launching instances; hence, all the instances created in the PaaS will be created in the custom VPC.
The user should delete the VPC in order to avoid unnecessary costs. Deleting NAT gateways might take a while, which will abort the deletion of the VPC. After the NAT gateway is deleted...