How to update a virtual Network in Microsoft Azure

posted Originally published at dev.to 3 min read

An Azure Virtual Network (VNet) is a logically isolated network in Microsoft Azure that provides:

  • Secure communication between Azure resources (VMs, apps, databases).
  • Internet connectivity (public IPs) and private connectivity (internal IPs).
  • On-premises integration via VPN or Azure ExpressRoute.

step1 Create a new Subnet on an existing virtual network

Think of a VNet as an apartment building, subnets as floors, and IPs as apartment numbers.

Image description

  • From the Azure portal home page, in the search box, enter virtual networks.
  • Select virtual networks under services.

Image description

  • Select the guided-project-vnet virtual network.

Image description

  • From the guided-project-vnet blade, under settings, select Subnets.

Image description

  • To add a subnet, select + Subnet.

Image description

  • For Subnet purpose leave it as Default.
  • For Name enter: ftpSubnet.
  • Leave the rest of the settings alone and select Add.

Image description

  • you’ve completed the creation of a subnet.

Image description

This subnet is only going to be used for SFTP traffic. To increase security, you need to configure a Network security group to restrict which ports are allowed on the subnet.

Step 2 Create a network security group

  • From the Azure portal home page, in the search box, enter virtual networks.
  • Select virtual networks under services.

Image description

  • Select Network security groups.

Image description

  • Select + Create.

Image description

  • Verify the subscription is correct.
  • Select the guided-project-rg resource group.
  • Enter ftpNSG for the network security group name.
  • Select Review + create.

Image description

  • Once the validation is complete, select Create.
  • Wait for the screen to refresh and display Your deployment is complete.
  • Select Go to resource.

Image description

Create an inbound security rule

  • Under settings, select Inbound security rules.

Image description

  • Select + Add.

Image description

  • Change the Destination port ranges from 8080 to 22.
  • Select TCP for the protocol.
  • Set the name to ftpInbound.
  • Select Add.
  • Select Home to return to the Azure portal home page.

Image description

  • you’ve created a new Network security group configured rules to allow inbound FTP traffic.

Image description

Step 3 Associate the new network security group with the ftpSubnet.

  • From the Azure portal home page, in the search box, enter virtual networks.
  • Select virtual networks under services.

Image description

  • Select the guided-project-vnet virtual network.
  • Under settings, select Subnets.
  • Select the ftpSubnet you created.
  • On the Edit subnet page, under the Security section heading, update the Network security group field to ftpNSG.
  • Select Save.

Image description

  • The security rules group as been attached to the subnet

Image description

Conclusion

Azure Virtual Network (VNet) is the backbone of cloud networking in Microsoft Azure, providing a secure, scalable, and highly configurable environment for your cloud resources. By logically isolating your workloads into subnets, VNets enable efficient organization, robust security, and seamless communication—whether within the same network, across different VNets, or even between on-premises and cloud environments.

870 Points23 Badges7 16
Lagos, Nigeriadev.to/subair09
5Posts
0Comments
Highly skilled Cloud/DevOps Support Engineer with expertise in designing, implementing, and managing cloud infrastructure on Azure and AWS. Proficient in leveraging various DevOps tools to ensure seamless integration, deployment, and monitoring of applications. Passionate about delivering top-notch support and driving innovation in cloud computing.
Build your own developer journey
Track progress. Share learning. Stay consistent.

1 Comment

0 votes
🔥 Join developers growing publicly
Share your knowledge, build in public, and grow your developer presence with a global community.

More Posts

I’m a Senior Dev and I’ve Forgotten How to Think Without a Prompt

Karol Modelskiverified - Mar 19

How I Built a React Portfolio in 7 Days That Landed ₹1.2L in Freelance Work

Dharanidharan - Feb 9

Implementing Cellular Redundancy: Cross-Cloud Failover with AWS Transit Gateway and Azure ExpressRou

Cláudio Raposo - May 5

How to create a Virtual Machine in Microsoft Azure.

NURUDEEN ADEWALE - Jul 27, 2025

How to Manage Virtual Machines in Microsoft Azure

NURUDEEN ADEWALE - Jul 28, 2025
chevron_left

Related Jobs

View all jobs →

Commenters (This Week)

2 comments
1 comment

Contribute meaningful comments to climb the leaderboard and earn badges!