Time
19 hours 58 minutes
Difficulty
Intermediate
CEU/CPE
9

Video Transcription

00:00
Welcome back. In this episode, we're gonna move on to talking about how to manage our virtual networks. My learning objectives include looking at user to find routing, looking at network security groups, or NSG and finally looking at application security groups or a SG.
00:16
So what are user to find routes? These air routes that are created by you in order to override as yours default drought tables or to simply add to the existing route table.
00:26
Azure route tables are their own type of resource that you can create and then assigned to individual. Seven. It's inside the virtual networks. This allows reusing what you've already created, so you don't have to duplicate effort.
00:38
And if you don't define a route for a particular set of networks, that means the packet will be dropped.
00:44
Here. On the right are the options. When creating your own route, we have to give the route and name, specify the destination I p address prefix to determine which traffic we're targeting. We select the next top type and was selecting the virtual appliance option. We have to specify the I P address of what the virtual appliance is.
01:02
Let's take a bit more look at our next top type options.
01:06
When creating your own routes, you have to select the next top where you want to direct traffic to the first is a virtual appliance, which is a V M that is running some kind of network application. Like a firewall, these appliances are available through the azure marketplace from well known third party vendors.
01:21
When selecting the appliance as the next top, you have to select the private I P address associated with the appliance.
01:26
The next is virtual network gateway.
01:30
These are the virtual network gateways we spoke about earlier when discussing how to connect Azure two different networks, the virtual network gateway must be defined as a VPN type, not express route. The third option is none. This is used when you want to drop traffic destined to a specific address prefix.
01:47
The fourth option is virtual network. This is to override the default rounding that occurs automatically between virtual networks. Sub nets. Finally, we have the Internet. This is used to route traffic destined to an address prefix to the Internet instead or to route traffic. Going to an azure service with a public I P address
02:07
over the azure backbone network.
02:09
Next, what our network security groups, network security groups are used. A filter traffic between resource is like virtual machines. They can allow or deny inbound and outbound traffic.
02:22
The rules inside of a network security group are evaluated using a five to pull information such as the source, Sore sport, destination, destination port and protocol network. Security groups can be assigned at the sub net level and at the individual Virtual Machine Network interface.
02:39
This means you have to look at your network security groups When evaluating rules.
02:45
You have to look at both the Senate and the network interface to determine the final result.
02:51
This next page shows the default network security groups that are created. When you create a network security group, you can see some of the elements we just spoke about such a support. The protocol, the Source and destination network and the action that you're going to take. For instance, a source network is our built in virtual networks or an azure load balancer.
03:10
And some of our destination networks include the Internet.
03:15
Now, these rules have a very high priority, which means they're some of the last ones that are evaluated when creating a network security group rules. You want to have a lower priority, but make sure you space them out a little bit when defining them, so you can have room to add in other ones later.
03:30
Finally, what are applications? Security groups? These are security groups built around an application structure such as Web friends, our database servers.
03:39
These are gonna be very similar to network security groups as they allow segmentation inside the virtual network traffic.
03:46
You can group virtual network machine network interfaces together that perform similar functions within the application infrastructure. And unlike network security groups, thes network interfaces can belong to multiple applications. Security groups.
04:00
Enough with their slides. For right now, let's jump back over to our azure portal and take a look at some of these concepts
04:06
here in our azure portal. Let's go ahead and create a round table.
04:11
First, let's click on Create a Resource.
04:16
Let's search the marketplace for a round table.
04:23
Let's give our roundtable on name
04:27
Willie our subscription at Microsoft Azure Standard and let's select a resource group. I'm gonna continue using my network demo one,
04:35
and finally we'll just leave our location east us, which we've been using all along in our demos here.
04:45
Now that our resource is deployed, let's go ahead and go look at our new route table Not mentioned. There are a couple of different ways of accessing. Resource is inside the azure portal, and I want to show you a new one Here,
04:56
for instance, Over on the left, we have a list of our favorite resource is, and I'm gonna show you how we can add a new one here. Lets go and click on all service is
05:04
I'm gonna search for round tables.
05:10
We're going to see round tables pop up over here in our search results. And if you notice there is a black star next to it, we just click on it. We're gonna favored it.
05:18
If we scroll down here on the left,
05:21
it now shows up under a list of favorites. So let's go look at our route tables
05:30
inside of our round table. Let's go ahead and click on routes
05:35
and we currently don't have any to find. So let's click on add.
05:41
Now we have a seven. It earlier that we created
05:44
called seven It's zero and what I want to do is traffic going to it go through a particular network gateway. So let's name this sub net zero route table.
05:56
Let's enter in the address prefix for that sub net.
06:01
And I'm just gonna leave the next top type as virtual network gateway. But I do want to show you, if you were to select virtual appliance,
06:10
you'll have to put in the next top address of the private I P address of the virtual appliance.
06:17
We'll leave this at Virtual Network eight Way and click on. Okay,
06:23
now that our route tables available, we have two different options to associate it to sub nets.
06:28
First, inside the round table, we can click on settings and sub nets,
06:33
select associate,
06:36
choose our virtual network
06:41
and then select the seven it inside that virtual network. Since this is targeting traffic to sub net zero, let's select one of our other submits to associate this with,
06:53
and now this round table is associated with that sudden it. Let's go check this out under our virtual network settings.
07:05
Once you make our way into Sub Net one, we can now see that our round table is associated with it here
07:12
next Let's take a look at creating a network security group again. Let's go and click on Create a Resource
07:20
Search for Network Security Group.
07:29
We'll give this name. Let's say we're creating a network security group to allow poor 80 and 443 toe our production Web servers.
07:40
Let's continue to assign to our network Demo Resource Group
07:44
and leave it at East us.
07:49
Now that resource is created. Let's do the same thing we did for round tables and add it to our favorites. Goto all service is
08:03
Let's go into our new network security girl.
08:07
And here on the overview page, you'll see the same set of inbound and outbound security rules that we saw on our slides. These are the defaults that come with one. When you create a new security group,
08:18
let's go unexamined, are inbound security rules and set him up for our Web servers.
08:24
Let's go ahead and click on add
08:28
and here we have some of those elements we need to define for our rules, such of the source source, port ranges, destination and destination port range.
08:37
For now, we're gonna leave the source and sort port ranges at any and all of them
08:43
and destination. We're going to select any as well
08:48
and our destination Port range. We're gonna just changed 80.
08:52
We'll leave the protocol, it any as well, and we won't allow this traffic. And then we also set our priority.
09:00
You'll notice here on the tool tip is something I mentioned in the slides is that we want to leave gaps in between the priority of our rule, just in case. We need to put something in between some rules later on.
09:09
For now, I'm just gonna leave this one at 100
09:13
will rename our rules. It just poured 80 and click on add.
09:20
Now that we have one for poor 80 let's go ahead and add one for 443 as well
09:26
and we're gonna do this one a little differently. Let's click on Basic.
09:31
This reduces the number of options that we have. We can go under service
09:37
and find https,
09:41
which is gonna automatically put it on Port 443
09:43
It's gonna get a little gap in our priority toe. 1 10 Let's rename our rule
09:50
and click on add.
09:54
So now are inbound. Security rules for this network security group are gonna allow poor 80 and 443 in.
10:01
We're gonna allow traffic from other virtual networks or from a load balancer. But then we're gonna deny all other inbound traffic to our virtual network
10:09
and very similar to our user to find routes from here. We can go ahead and associate it to a sudden it by going to settings. Sub nets,
10:18
select associate,
10:22
choose our virtual network,
10:26
choose our sub net
10:28
and then click on. Okay,
10:33
now that we can see that this network security group is associated to seven at one. And let's go verify this by looking at our virtual network settings,
10:46
and here we now have under the drop down of Network Security group are prod Web Dash NSG security Group
10:54
that does it for this demo. Let's go back to our slides and wrap this up.
10:58
Coming up next, we're going to take a look, Maura, at virtual network periods, which we've already discussed a little bit in previous episodes.
11:05
See you in the next episode.

Up Next

AZ-300: Microsoft Azure Architect Technologies

Azure Solution Architects are responsible for taking business requirements and turning them into solutions. This AZ-300 training provides an introduction into Azure, Microsoft’s cloud platform whilst preparing students to take the Microsoft Azure Architect Technologies certification.

Instructed By

Instructor Profile Image
Jeff Brown
Instructor