In this chapter, we have taken a look at VPCs and the features they provide. We have learned how the concept of private and public subnets are defined in AWS. We have also taken a look at how to enable traffic so that it can be passed to and from public subnets with an IGW and how to enable private subnets to communicate with the internet by attaching a NAT gateway or an egress-only gateway. We have discussed the ENI and the way we can attach services to the VPC via VPC endpoints, and also looked at an overview of VPC peering connections.
In the next chapter, we will take a look at network security. We will discuss security from the aspect of the OSI layers, talk about securing the VPC and its instances, and delivering advanced security with the AWS tools provided.