Create An Application Security Group For Two Web Servers in Azure
Create An Application Security Group For Two Web Servers in Azure
Solution
You've been provided with Azure portal credentials and to the Windows Virtual
Machines (VMs with IIS installed) with this hands-on lab.
1. Go to the Azure menu in the upper-left, select All services, and search for nsg.
2. Go to Network Security groups and click on the existing security group.
3. Select Inbound security rules on the left, and click Add.
4. For Destination, select Application Security group.
5. For Destination application security group, choose asgWebServers.
6. The Destination port ranges are set to 80,443.
7. Set Priority to 124.
8. Under Name, set to WebServers_Rule.
9. Finally, click the Add button. You'll see this new rule amongst your list.
10. Head back to the Azure menu in the upper-left and select Virtual machines.
11. Next, attach the application security group to the networking interface of each
VM.
12. Select your first VM.
13. Click the Networking tab, and click Application security groups.
14. Select Configure the application security groups, select aswWebServers from
the drop-down, and press Save.
15. Repeat the last two steps for your second VM.
Conclusion
Congratulations — you've completed this hands-on lab!