This content originally appeared on DEV Community and was authored by UMEOHIA NNAMDI
Azure Virtual Network (VNet) is a fundamental element of Azure’s cloud infrastructure, offering a secure, isolated, and flexible networking environment for your cloud resources. As your infrastructure needs change, you may need to modify your VNet by adding subnets, creating and associating new network security groups.
This article walks you through the steps to update an Azure virtual network using the Azure portal.
Create a new subnet on an existing virtual network (vNet). Steps:
1.Login to Microsoft Azure at https://portal.azure.com.
2.In the Azure portal, search for and select virtual networks.
3.Select the guided-project-vnet virtual network.
4.In the guided-project-vnet, under settings, select Subnets.
5.Select +subnet.
6.For Subnet purpose leave it as Default. Give subnet a name: ftpSubnet. Leave the rest as default and select ADD.
Create a network security group. Steps:
1.In the Azure portal, search for and select virtual networks.
2.Select Network security groups. Select + Create.
3.Verify the subscription is correct. Select the guided-project-rg as resource group. Enter ftpNSG for the network security group name. Select Review + create.
4.Select create.
5.Wait for deployment to be completed. Select Go to resource.
Create an inbound security rule. Steps:
1.On your virtual networks section, select Network security groups blade, select your network security group.
2.Under the settings section, select Inbound security rules blade. Select +Add.
3.Change the Destination port ranges from 8080 to 22. Select TCP for the protocol. Set the name to ftpInbound. Select Add.
Associate a network security group to a subnet.
1.In the Azure portal, search for and select virtual networks.
2.On the virtual network section, select virtual networks, Select the guided-project-vnet virtual network.
3.Under settings section, select Subnets blade. Select the ftpSubnet you created.
4.On the Edit subnet page, under the Security section heading, update the Network security group field to ftpNSG. Select Save.
This content originally appeared on DEV Community and was authored by UMEOHIA NNAMDI

UMEOHIA NNAMDI | Sciencx (2025-07-25T23:17:58+00:00) How to update an Azure virtual network.. Retrieved from https://www.scien.cx/2025/07/25/how-to-update-an-azure-virtual-network/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.