WEBVTT

1
00:02.730 --> 00:04.860
So let's go ahead and jump in

2
00:04.860 --> 00:07.800
with a completely blank configuration

3
00:07.800 --> 00:10.920
for our VPCs on AWS.

4
00:10.920 --> 00:14.640
We'll start on the VPC dashboard showing that, well,

5
00:14.640 --> 00:17.400
at this point we don't have any components.

6
00:17.400 --> 00:20.340
And then we'll build our own VPC,

7
00:20.340 --> 00:22.410
and we'll also, in this video,

8
00:22.410 --> 00:25.140
configure the subnet that's gonna be representing

9
00:25.140 --> 00:28.710
subnet 10 in our AWS environment.

10
00:28.710 --> 00:31.413
So that said, let's just go ahead and jump right in.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

10
00:28.710 --> 00:31.413
So that said, let's just go ahead and jump right in.

11
00:32.940 --> 00:36.630
So starting off here on the VPC dashboard,

12
00:36.630 --> 00:39.300
if we scroll down just a little bit here,

13
00:39.300 --> 00:41.370
we can actually see that currently

14
00:41.370 --> 00:44.610
all of our resources are set to zero.

15
00:44.610 --> 00:46.380
So like I said, we will be starting here

16
00:46.380 --> 00:48.450
with a blank configuration.

17
00:48.450 --> 00:52.830
Now, the first thing we're gonna want to do is create a VPC.

18
00:52.830 --> 00:55.020
Now, we could do this either by clicking

19
00:55.020 --> 00:58.830
right here on the create VPC button,

20
00:58.830 --> 01:01.170
or we could go to our navigation menu,
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

20
00:58.830 --> 01:01.170
or we could go to our navigation menu,

21
01:01.170 --> 01:05.190
choose your VPCs, and create one from there.

22
01:05.190 --> 01:07.350
We'll go ahead and do it that way.

23
01:07.350 --> 01:10.110
So we'll simply click here on your VPCs,

24
01:10.110 --> 01:12.270
and then in the upper right hand corner

25
01:12.270 --> 01:15.030
we have the create VPC button.

26
01:15.030 --> 01:18.330
So the first thing we wanna do is put in a tag.

27
01:18.330 --> 01:21.180
We'll simply call this VPC_1.

28
01:21.180 --> 01:22.290
Of course, you would want to name it

29
01:22.290 --> 01:24.150
appropriate for your environment,

30
01:24.150 --> 01:27.150
we're just not too concerned about our names right now.

31
01:27.150 --> 01:30.330
Next we're gonna wanna put in a CIDR block.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

31
01:27.150 --> 01:30.330
Next we're gonna wanna put in a CIDR block.

32
01:30.330 --> 01:35.100
So our overall CIDR block for the whole VPC,

33
01:35.100 --> 01:40.100
this is the 10.20.0.0/16.

34
01:41.310 --> 01:44.580
We're gonna create subnets in this in just a moment,

35
01:44.580 --> 01:48.090
but the overall block for the entire VPC

36
01:48.090 --> 01:51.480
is going to be this /16 range.

37
01:51.480 --> 01:54.240
We're not gonna worry about configuring IPv6 right now,

38
01:54.240 --> 01:56.550
so let's continue to scroll down.

39
01:56.550 --> 01:59.670
The rest of these values here are fine at their default,

40
01:59.670 --> 02:02.493
so now we'll just click on create VPC.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

40
01:59.670 --> 02:02.493
so now we'll just click on create VPC.

41
02:04.260 --> 02:08.640
And we can see here that it has generated the VPC.

42
02:08.640 --> 02:10.680
Some big things to look at, of course,

43
02:10.680 --> 02:15.300
is notice the state has already gone to available.

44
02:15.300 --> 02:19.530
Notice that our IPv4 CIDR address is configured properly

45
02:19.530 --> 02:23.970
at the 10.20.0.0/16.

46
02:23.970 --> 02:28.970
Notice, also, that it has now created a DHCP option set,
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

47
02:30.120 --> 02:34.543
a main routing table, and a main network ACL

48
02:35.520 --> 02:39.330
automatically for this VPC.

49
02:39.330 --> 02:41.550
The DHCP option set, we're not going

50
02:41.550 --> 02:44.940
to be too concerned about in this skill.

51
02:44.940 --> 02:48.660
The main routing table, we'll actually be creating our own,

52
02:48.660 --> 02:50.820
so we're not too concerned about that.

53
02:50.820 --> 02:52.800
The main network ACL,

54
02:52.800 --> 02:55.350
let's go ahead and click on that real quick.

55
02:55.350 --> 02:57.840
This will take us to the ACL,

56
02:57.840 --> 03:00.540
and if we highlight it for detail,
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

56
02:57.840 --> 03:00.540
and if we highlight it for detail,

57
03:00.540 --> 03:02.760
look at our inbound rules.

58
03:02.760 --> 03:06.540
Notice that by default there is a rule 100,

59
03:06.540 --> 03:10.260
which is permitting all incoming traffic.

60
03:10.260 --> 03:12.750
If we look at the outbound rules,

61
03:12.750 --> 03:15.090
we see this is the same way.

62
03:15.090 --> 03:18.330
So keep in mind that the default network ACL

63
03:18.330 --> 03:20.403
is going to permit all traffic.

64
03:22.260 --> 03:24.570
Now, this may or may not be what you want

65
03:24.570 --> 03:25.800
in your environment.

66
03:25.800 --> 03:27.480
This can of course be changed

67
03:27.480 --> 03:30.930
and we can control our traffic with this network ACL,
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

67
03:27.480 --> 03:30.930
and we can control our traffic with this network ACL,

68
03:30.930 --> 03:33.360
or we can use security groups,

69
03:33.360 --> 03:36.120
which is honestly the more common way to do it,

70
03:36.120 --> 03:38.850
and that's what we're gonna be doing in a little bit.

71
03:38.850 --> 03:40.740
However, just be aware here, again,

72
03:40.740 --> 03:42.630
that the default is to permit,

73
03:42.630 --> 03:45.693
and of course you can change this if you desire.

74
03:46.650 --> 03:50.460
The next thing we're gonna wanna do is create our subnet.

75
03:50.460 --> 03:52.170
So for this, we'll click on subnets

76
03:52.170 --> 03:54.630
over here in our navigation menu.

77
03:54.630 --> 03:56.340
Once again, in the upper right hand corner,

78
03:56.340 --> 04:00.210
we have a create subnet button, so let's click on that.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

78
03:56.340 --> 04:00.210
we have a create subnet button, so let's click on that.

79
04:00.210 --> 04:04.800
First thing we want to do is select the VPC we just created,

80
04:04.800 --> 04:06.600
so we'll click on the dropdown.

81
04:06.600 --> 04:11.070
Notice, of course, that it's showing us the VPC ID.

82
04:11.070 --> 04:14.790
Then it puts the friendly name we gave it in parentheses,

83
04:14.790 --> 04:18.180
and we also see the overall CIDR block

84
04:18.180 --> 04:21.420
that's been assigned to the VPC as a whole.

85
04:21.420 --> 04:23.550
So let's go ahead and click on that.

86
04:23.550 --> 04:26.520
And now it's gonna want to know about our subnet.

87
04:26.520 --> 04:29.190
So first we'll give the subnet a name.

88
04:29.190 --> 04:32.100
We'll simply call this Subnet_10.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

88
04:29.190 --> 04:32.100
We'll simply call this Subnet_10.

89
04:32.100 --> 04:33.960
We'll scroll down.

90
04:33.960 --> 04:37.290
You can choose an availability zone if you want to,

91
04:37.290 --> 04:39.720
but the main thing here that we wanna be changing

92
04:39.720 --> 04:42.450
is the subnet CIDR block.

93
04:42.450 --> 04:47.450
So this is gonna be 10.20.10.0/24.

94
04:48.630 --> 04:53.630
So it's gonna be subnet 10 in our VPC overall network.

95
04:54.780 --> 04:56.970
The rest of these default values are fine.

96
04:56.970 --> 04:59.520
We'll go ahead and hit create subnet.

97
04:59.520 --> 05:01.770
And, of course, the important thing here,
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

97
04:59.520 --> 05:01.770
And, of course, the important thing here,

98
05:01.770 --> 05:04.620
we see that the state has gone to available.

99
05:04.620 --> 05:08.340
It is tied to our VPC and it does have

100
05:08.340 --> 05:12.240
the appropriate IPv4 CIDR assigned to it.

101
05:12.240 --> 05:14.700
Now, if we were to highlight our subnet here,

102
05:14.700 --> 05:17.160
notice down at the bottom we pick up

103
05:17.160 --> 05:19.590
some more detailed information.

104
05:19.590 --> 05:22.470
We can adjust this so we can see it a little better.

105
05:22.470 --> 05:25.140
So here we can see some more detailed information

106
05:25.140 --> 05:27.660
about this subnet, but more importantly,

107
05:27.660 --> 05:30.120
take a look at some of these tabs.
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

107
05:27.660 --> 05:30.120
take a look at some of these tabs.

108
05:30.120 --> 05:33.330
For example, we can look at the route table.

109
05:33.330 --> 05:35.370
We can see that as of right now

110
05:35.370 --> 05:37.500
it's using our default routing table,

111
05:37.500 --> 05:42.500
and it's simply routing our 10.20.0.0/16 subnet

112
05:43.020 --> 05:45.360
to the local network.

113
05:45.360 --> 05:46.650
And we can see, for example,

114
05:46.650 --> 05:48.810
the network ACL that's assigned.

115
05:48.810 --> 05:53.130
If we scroll down, we can see that default network ACL

116
05:53.130 --> 05:54.813
applied here to this subnet.

117
05:57.360 --> 06:01.440
So this takes care of configuring the VPC
WEBVTT
X-TIMESTAMP-MAP=LOCAL:00:00:00.000,MPEGTS:900000

117
05:57.360 --> 06:01.440
So this takes care of configuring the VPC

118
06:01.440 --> 06:04.980
and its subnet for the current environment.

119
06:04.980 --> 06:08.583
Up next, let's take a look at how to configure our gateways.
