Tutorial: Create a Cloud-Only Virtual Network in Azure
This tutorial walks you through the steps in the Azure Management Portal to create an example cloud-only Azure Virtual Network that contains two subnets. The resulting virtual network will look like the following:
For example, the FrontEndSubnet could be used for web servers and the BackEndSubnet could be used for SQL servers or domain controllers.
This tutorial assumes you have no prior experience using Azure. It is meant to help you become familiar with the steps required to create your own virtual network by stepping you through an example configuration. If you want to create a cloud-only virtual network that works for your specific configuration, see Configure a Cloud-Only Virtual Network in the Management Portal. If you are looking for design scenarios and advanced information about Virtual Network, see the Azure Virtual Network Overview.
This tutorial does not walk you through creating a cross-premises configuration, in which the virtual network is connected to your organization network. For a tutorial that walks you through creating a virtual network with cross-premises connectivity and a site-to-site VPN connection (i.e., connecting to Active Directory or SharePoint located at your company), see Tutorial: Create a Cross-Premises Virtual Network for Site-to-Site Connectivity.
In this tutorial you will learn how to set up a basic Azure cloud-only virtual network with two subnets.
Create the Virtual Network for this tutorial
To create this example cloud-only virtual network, do the following
Log in to the Azure Management Portal.
In the lower left-hand corner of the screen, click New > Network Services > Virtual Network, and then click Custom Create to begin the configuration wizard.
On the Virtual Network Details page, enter the following information:
Name - Type YourVirtualNetwork.
Region - The virtual network will be created at a datacenter located in the specified region. For the best performance, select the region to which you belong from the drop-down list.
Click the next arrow on the lower right. For more information about the settings on this page, see the Virtual Network Details page section in About Configuring a Virtual Network using the Management Portal.
On the DNS Servers and VPN Connectivity page, click the next arrow on the lower right. Azure will assign an Internet-based Azure DNS server to new virtual machines that are added to this virtual network, which will allow them to access Internet resources. For more information about the settings on this page, see the DNS Servers and VPN Connectivity page in About Configuring a Virtual Network using the Management Portal.
Just like a real network, the virtual network needs a range of IP addresses (known as an address space) to assign to virtual machines that you place within it. The virtual network also supports subnets, which need their own address spaces, derived from the virtual network address space. For this tutorial, we will create the BackEndSubnet and FrontEndSubnet. On the Virtual Network Address Spaces page, configure the following:
- For Address Space, select /16 (65535) in CIDR (ADDRESS COUNT).
- For subnets, in the first row, type BackEndSubnet over the existing name and 10.0.1.0 for the starting IP, then select /24 (256) in CIDR (ADDRESS COUNT). Click add subnet, and then type FrontEndSubnet for the name and 10.0.2.0 for the starting IP.
Returning to our diagram of the virtual network, you have configured the following address spaces:
Note that the address space for a virtual network must be from the private address spaces of 10.0.0.0/8, 172.16.0.0/12, or 192.168.0.0/16 and specified in Classless Inter-Domain Routing (CIDR) notation (also known as network prefix notation). For more information about the settings on this page, see the Virtual Network Address Spaces page in About Configuring a Virtual Network using the Management Portal.
Click the checkmark in the lower right of the page and your virtual network will begin to create. When your virtual network has been created, you will see Created listed under Status on the Networks page in the Azure Management Portal.
You can continue learning about Azure infrastructure services with the following:
To remove this virtual network, select it, click Delete, and then click Yes.
When you are ready to create a cloud-only virtual network that works for your specific configuration, see Configure a Cloud-Only Virtual Network in the Management Portal.
If you are looking for design scenarios and advanced information about Virtual Network, see the Azure Virtual Network Overview.
For additional Virtual Network configuration procedures and settings, see Azure Virtual Network Configuration Tasks.