concept rule in category azure
appears as: rule, rules, rules

This is an excerpt from Manning's book Learn Azure in a Month of Lunches, Second Edition.
Your web server is up and running, but if you enter the public IP address of your VM in a web browser, the web page doesn’t load. Why? Remember the network security groups discussed briefly in section 2.1.5? When you created the VM, a network security group was created for you. A rule was added to allow remote management--in this case, SSH. The rest of the VM is locked down. To allow visitors to access your web server over the internet, you need to create a rule in the network security group that allows web traffic. Otherwise, no one can order pizzas!
Figure 5.5 You’re bringing together two subnets, NSGs, rules, network interfaces, and VMs. This example is close to a production-ready deployment in which one VM runs the web server and is open to public traffic, and another VM in a separate subnet is used for remote connections to the rest of the application environment.
![]()