DEV Community

Eng Soon Cheah
Eng Soon Cheah

Posted on

4

Create a Azure virtual network

A virtual network can be created by using the Azure portal, the Azure CLI 1.0, or Azure PowerShell.

Using the Azure portal

1.Sign in to the Azure portal.
2.In the upper-left corner of the screen, select Create a resource > Networking > Virtual network.
3.In Create virtual network, enter or select the information in the following table.

Setting Action
Name: myVirtualNetwork
Address space: 10.1.0.0/16.
Subscription: Select your subscription
Resource group: Select Create new, enter myResourceGroup, and then select OK.
Location: Select a location near you.
Subnet Name: myVirtualSubnet.
Subnet Address range: 10.1.0/24.

4.Leave the rest of the defaults, and then select Create. Notice these settings. Point to the information icon to review the description of each setting:

  • DDoS protection
  • Service Endpoints
  • Firewall

5.Select the notifications icon, which displays a highlighted number, and then review your new virtual network by selecting Go to resource.

To add two VMs to your virtual network, follow the steps detailed here.
https://docs.microsoft.com/en-us/azure/virtual-network/quick-create-portal

Image of Timescale

Timescale – the developer's data platform for modern apps, built on PostgreSQL

Timescale Cloud is PostgreSQL optimized for speed, scale, and performance. Over 3 million IoT, AI, crypto, and dev tool apps are powered by Timescale. Try it free today! No credit card required.

Try free

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Discover a treasure trove of wisdom within this insightful piece, highly respected in the nurturing DEV Community enviroment. Developers, whether novice or expert, are encouraged to participate and add to our shared knowledge basin.

A simple "thank you" can illuminate someone's day. Express your appreciation in the comments section!

On DEV, sharing ideas smoothens our journey and strengthens our community ties. Learn something useful? Offering a quick thanks to the author is deeply appreciated.

Okay