Validate Subnets on Azure

Prev Next

WHAT TO EXPECT

A virtual network (VNet) in the Resource Group must be created before deploying a cloudSwXtch instance. 

  • It must contain at least one subnet that's used for both the control and data plane communication, but it can use two, one subnet for each.

    • It is recommended that it be private-facing and not auto-assign public IPs

    • This single subnet will be used for xNIC installation.

The subnets will also be used for xNIC installations.

In this section, users will learn how to validate whether a subnet exists to be used as both the control and the data plane for their virtual network. This is in preparation for cloudSwXtch installation on Azure. We will also walk through an alternative method of using 2 subnets, separating the control and data plane.

To validate:

  1. Go to the Azure Console.

  2. Search for "vnet" or “Virtual networks”.

  3. Select Virtual Networks.

  4. Check that the vnet to be used for cloudSwXtch exists.

    Azure_cloudSwXtch_Vnet

If there are no available subnets, one must be created (read below).

If a second subnet is needed, check that it exists, or create a new one:

  • It is recommended to name the second one "data" to distinguish between them when creating a VM. Using two subnets will require them to be in the same Region (for example, East US). This enables a single VM instance to have two NICs connected to both subnets at the same time.

In the event that a subnet must be created:

  1. Create it by selecting "+ Subnet."

    Azure_cloudSwXtch-Add-Subnet

  2. Enter data as needed.

    Azure add subnet2