Create and Configure an NSG in Azure

Lab Overview

In this lab, you will learn how to create and configure a Network Security Group (NSG) within the Azure portal. Network Security Groups are critical components in Azure that help you control inbound and outbound network traffic to your resources.

By setting up rules in an NSG, you can define which traffic is allowed or denied based on factors such as the source, destination, and protocol.

This hands-on lab will guide you step-by-step through the process of creating a new NSG, defining security rules, and associating the NSG with a subnet in a virtual network.

By the end of this lab, you will have a fully functional NSG that controls traffic for a specified subnet in your virtual network.

Learning Objectives

    • Navigate the Azure portal to access the Network Security Group (NSG) service.
    • Create a new Network Security Group.
    • Define inbound security rules to control traffic to your resources.
    • Apply specific security rules for HTTP traffic using an NSG.
    • Associate the NSG with a subnet in a virtual network.
    • Verify the successful application of the NSG to a virtual network and its subnets.
    • Understand how to configure and apply network security at the subnet level in Azure.

Exam Relevance

The skills you learn in this lab are necessary to pass the following Azure certification exams:

    • AZ-104
    • AZ-305
    • AZ-700

🔒 To access the hands-on portion of this lab, you must be a labITpro Supporter, or have a subscription to Azure Skillbuilder, or have a subscription to the Azure Administrator Series.

Already have a subscription to this collection? Log in to access the lab.

An Introduction to Microsoft Entra ID

Learn what you need to know to get started with Microsoft Entra ID with this easily-digestible 5-hour bootcamp from best-selling instructor, Thomas Mitchell.

Disable these ads by becoming a labITpro Supporter!

Azure vNets Explained

Want to learn about Azure virtual networks? In this quick-hitting explanation, you’ll learn what they are, what they do, and you’ll learn about key Azure vNet features.

Disable these ads by becoming a labITpro Supporter!

Ask The Author

Have a question?

Ask The Author is available exclusively for labIT Pro Supporters. Become a Supporter for a nominal fee and get direct answers from the lab creator.

VMs Made Easy: A Deep Dive Into All VM Settings

Want to know more about Azure VMs and all their settings? This brief micro-course takes you step by step through every option you’ll encounter when creating a Windows VM in Azure, so you know what it does and when to use it.

Disable these ads by becoming a labITpro Supporter!