From the course: Microsoft Azure Administrator Associate (AZ-104) Cert Prep by Microsoft Press

Unlock this course with a free trial

Join today to access over 25,300 courses taught by industry experts.

Setting up network security

Setting up network security

- [Instructor] In this lecture, we're going to look at network security groups. Now if you've already set up a virtual machine already, then you'll have already created some default rules. And when we create a virtual machine, one of the options it gives is whether to allow RDP or other common resources in. So I've set up earlier a couple of virtual machines, and one of them, which I've called vm-2, when I created it, I told it to allow RDP and HTTP because it's running web IIS on it. And we can see that in action, 'cause if I try to browse to its external IP address, we can see we can get straight to it. If we go back to our Azure configuration, there's two ways we can get to this. If we go to the network settings of the virtual machine itself, we can see here that it's connected to this networks group called vm-2NSG, and this was created by default when we created the virtual machine. Now you can actually create them independently, and when you're creating a virtual machine, choose…

Contents