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