1 00:00:07,180 --> 00:00:12,140 - Welcome to our first lesson on networking services in AWS. 2 00:00:12,140 --> 00:00:14,670 And for this first lesson, we're going to talk about 3 00:00:14,670 --> 00:00:18,683 one of the most commonly used services, the VPC. 4 00:00:19,710 --> 00:00:23,010 So first off, what does VPC stand for? 5 00:00:23,010 --> 00:00:27,590 It is an acronym and it stands for Virtual Private Cloud. 6 00:00:27,590 --> 00:00:30,190 And you can think of it as a sort of 7 00:00:30,190 --> 00:00:34,683 virtual data center network placed in AWS. 8 00:00:36,070 --> 00:00:38,170 For all the services and features 9 00:00:38,170 --> 00:00:39,380 that we're gonna talk about 10 00:00:39,380 --> 00:00:42,150 from now until the end of the course, 11 00:00:42,150 --> 00:00:47,150 I am also going to be adding a scope into our discussion. 12 00:00:47,600 --> 00:00:50,580 The VPC network itself is region scoped, 13 00:00:50,580 --> 00:00:51,780 that means you pick a region 14 00:00:51,780 --> 00:00:55,870 like US-East-1 or AP-Southeast-1 15 00:00:55,870 --> 00:00:58,483 when you create one of these VPC networks. 16 00:00:59,750 --> 00:01:04,750 And this network is used for quite a number of AWS services 17 00:01:05,300 --> 00:01:10,300 and for almost anything that is scoped at the AZ level. 18 00:01:10,620 --> 00:01:12,740 It means that you are likely deploying it 19 00:01:12,740 --> 00:01:15,253 into an actual VPC network. 20 00:01:17,450 --> 00:01:19,370 Now, the first thing to know about a VPC network 21 00:01:19,370 --> 00:01:21,510 when you create it is that you need to provide 22 00:01:21,510 --> 00:01:23,490 a CIDR Address, 23 00:01:23,490 --> 00:01:26,510 that stands for Classless Inter-Domain Routing. 24 00:01:26,510 --> 00:01:31,510 And it is a way of describing a network as well as its size 25 00:01:31,680 --> 00:01:33,543 in a single string of characters. 26 00:01:35,340 --> 00:01:40,340 Now you do not have to provide an outside network address 27 00:01:40,460 --> 00:01:41,930 to work in AWS. 28 00:01:41,930 --> 00:01:45,500 You can bring your own, but AWS also supports 29 00:01:45,500 --> 00:01:49,270 all of the private IP ranges that are documented 30 00:01:49,270 --> 00:01:54,270 in RFC 1918, like 10.0, 172.16, 192.68, and so forth. 31 00:01:57,800 --> 00:02:00,970 Now, an individual VPC also supports 32 00:02:00,970 --> 00:02:05,140 up to five CIDR ranges as long as they're within 33 00:02:05,140 --> 00:02:06,450 the same base range. 34 00:02:06,450 --> 00:02:10,880 So, if you create a new VPC network 35 00:02:10,880 --> 00:02:15,880 and assign 10.0.0.0/16 to it, any other CIDR ranges 36 00:02:17,950 --> 00:02:21,250 that you apply also need to start with 10. 37 00:02:21,250 --> 00:02:26,250 You cannot apply a 172.16.0.0 or a 192.168.0.0. 38 00:02:30,380 --> 00:02:33,700 The largest VPC network that you can create 39 00:02:33,700 --> 00:02:38,190 has a CIDR range of /16, which if you do the binary math, 40 00:02:38,190 --> 00:02:42,220 it means 65,536 IP addresses, 41 00:02:42,220 --> 00:02:47,220 which is large enough for the vast majority of workloads. 42 00:02:47,690 --> 00:02:51,890 The smallest VPC that you can create is a /28, 43 00:02:51,890 --> 00:02:55,290 which is just 16 IP addresses. 44 00:02:55,290 --> 00:02:57,760 But as we're gonna find out when we talk about subnets, 45 00:02:57,760 --> 00:02:59,253 it's actually less than that. 46 00:03:01,170 --> 00:03:06,170 Finally, AWS also supports IPv6 in the VPCs. 47 00:03:06,530 --> 00:03:11,530 And you can simply ask AWS to provide you with a /56 range, 48 00:03:13,420 --> 00:03:17,270 or you can bring your own but only one of these ranges 49 00:03:17,270 --> 00:03:19,733 is supported per VPC network.