Network Security Groups (NSGs)
Get familiar with the Azure network security groups (NSGs) and Azure Backup.
An Azure network security group (NSG) is a fully managed service from Microsoft that contains security rules that allow or deny inbound network traffic to, or outbound network traffic from, several types of Azure resources.
We can modify them as per our requirements and the configurations of their resources. The NSG is similar to Azure Firewall but has basic functionalities.
We can create a network security group using Azure Portal, Azure CLI, or Powershell.
Demo: Creating an NSG
-
Navigate over to Azure Portal and log in.
-
On the Azure home page, click the “Create a resource” button. This will open a marketplace, and we can search for “network security group” by typing it in the search box or scrolling down to find it.
-
Click the “Create” button under the “Network Security Group” option. This will open up a form for you to fill. Select your subscription and an already existing resource group. If you don’t have one, you can click “Create new” and give it any name.
-
Under the “Instance details” section, give the NSG a name and choose a region. Once you are done with this, click the “Review + create” button
-
Once the message validation has passed, click the “Create” button. It’ll start resource deployment, and you’ll receive a notification. Then click the “Go to the resource” button.
-
You’ll see the resource has been deployed and now you can configure it for your purposes.
Get hands-on with 1200+ tech skills courses.