From the course: Hands-On Development in AWS

Unlock this course with a free trial

Join today to access over 24,700 courses taught by industry experts.

Creating a VPC

Creating a VPC

- I'm going to give a demonstration of creating a VPC from scratch. Let's go ahead and draw a quick diagram so we have a baseline understanding of what is being created. Recall from the previous picture, the slide, we have a region. Our VPC exists in a region. So this big red box here is our region. And we are going to deploy two subnets. One subnet is going to be in availability zone A and one subnet in availability zone B. Okay. Our first subnet over here on the left, this is going to be what we call a public subnet, which means we are going to enable the auto assigned public IP address. This is going to be 10.0.0.0/24. Our overall cider for our entire VPC is going to be 10.0.0.0/, let's just make something up, let's do a /16. For ours, say this is public. Then our private subnet is going to be 10..0.1.0/24. This is going to be private. What that means is that an instance that is launched connected to this private subnet, we're going to turn off the auto assigned public IP address…

Contents