Deploying A Virtual Network With Multiple Subnets Using Microsoft Azure

Introduction

In this article, I am going to demonstrate how to create a virtual network for networking using Azure with multiple subnets. After creating the Virtual Network we can also connect it with the various Azure services. The Azure Virtual Network service enables you to securely connect Azure resources to each other with virtual networks . A VNet is a representation of your own network in the cloud. A VNet is a logical isolation of the Azure cloud dedicated to your subscription. ... You can segment a VNet into multiple subnets.

Myvnet Stands for My Virtual Network.

Prerequisites

  • Azure account.
  • PC with Internet Connection.
To Create a new Virtual Network Follow these steps:

Step 1

Sign-in into the online Microsoft Azure Portal by giving the required mail-Id and Password.

Step 2

In the Portal click "+" -> "Networking" ->"Virtual Network".



Step 3

In the Virtual network blade, Ensure under "Select a deployment model", leave "Resource Manager" selected and then next read Legal Terms and Click the Create Button,

Step 4

In the Create virtual network blade, enter the following values like Name , Address space , Subnet name, Subnet address range etc..,in the images and press the "Create" button.

Step 5

In the Azure portal , we created the one subnet named "public" when virtual network is created

We just created only one virtual network , we want to create the another network named "private".

  • public-It is used to connect Internet-accessible resources to the Public subnet .
  • private-This subnet is used to connect resources that aren't accessible from the Internet to a Private subnet.

Step 6

To create a new subnet, Go to the dashboard and choose your Virtual network created and click to open it.

Step 7

In the Myvnet Virtual network window, under settings choose the SUBNETS and then click "+SUBNET" to create a new subnet.

Step 8

In ADD SUBNET window, fill the form as per the details in the following image and press "OK" to create the new subnet that should be named as PRIVATE.

Step 9

Finally we created a virtual network with two subnets.

Summary

I hope that you now understand how to create a Virtual Network with multiple subnets for accessing the various services provided by Microsoft Azure.If you have any queries, please leave them in the comments.