Install cloudSwXtch on Azure

Prev Next

WHAT TO EXPECT

Installation of a cloudSwXtch instance consists of two parts: the cloudSwXtch and the xNIC software. The cloudSwXtch is instantiated once while the xNIC is installed on each VM that is part of the cloudSwXtch network.

In this section, users will learn how to install cloudSwXtch for their Azure environment through the template method.


Please note: This is the preferred method of installation. However, alternatively, you can do a manual install via the Marketplace. For more information on this method, please see the Install cloudSwXtch via Market Place guide. 

NOTE:

Access to https://services.swxtch.io should be enabled for marketplace installation of the cloudSwXtch. For closed environments, swXtch.io offers a BYOL model to allow installation and operation for highly secure deployments. Please contact support@swxtch.io for more details.

Deploying a cloudSwXtch instance

Prerequisites

Before starting, a user must do the following:

  1. Review cloudSwXtch System Requirements

  2. Validate that there are two Subnets: A virtual network must be created before creating a cloudSwXtch instance. This must contain two subnets, known as the ctrl- and data-subnet. In addition, the data subnet must have the "Network Acceleration" feature enabled. 

  3. Create an Azure cloudSwXtch Template: Creating a template will allows users to follow the easiest method for cloudSwXtch deployment detailed below. 

  4. Make sure that your Azure subscription has the quota and access privileges to create the virtual machine instance used to run the cloudSwXtch. Your instance will fail if you do not have the quota for the selected machine size. 

  1. Log into the Azure Portal.

  2. Find the template by using the Search resource, services, and docs (G+/) bar and enter cloudSwxtch-from-mp-image in the search. This will take to directly to the template.

  3. Select the template.

  4. Click Deploy to launch the template UI.

    Azure_cloudSwXtch-template

  5. In the cloudSwXtch commercial plan area, click on the Choose a cloudSwXtch plan dropdown and select a plan (BYOL or PAYG). For more information on plans see: cloudSwXtch System Requirements.

  6. In the Project Details area, select a Subscription

  7. Pick (or create) an Azure Resource Group.

  8. In the Instance details area, notice how the region is filled in from the Azure Resource Group.

  9. Assign the Virtual Machine a name. This name must be unique in both the resource group and the virtual network in which the instance will exist. It also must meet the requirements for a VM host name.

  10. Select the cloudSwXtch size.

    cloudSwXtch Size Explained

    The default size is 1x Standard D8s V4. A minimum of 8 cores is suggested for cloudSwXtch deployment.

    NOTE:

    Please be aware that the owner of the Azure Subscription in which the cloudSwXtch instance is created is responsible for all cloud resources used by the switch. These fees are to the cloud provider and do not include any fees to swxtch.io for cloudSwXtch licensing.

  11. Enter in an Admin name. This will default to swxtchadmin, but can be modified.

  12. Enter in a SSH public key source. The options are: 

    • Generate new key pair.

      • If selected, enter in Key Pair Name. This name must be unique among other key pairs in Azure.

    • Use existing key stored in Azure.

      • If selected, choose a stored key from the drop-down menu.

    • Use existing public key.

  13. Select the software version. The most common choice is latest, which will use the most recent software release for this instance. For more control, a specific release version can be entered, e.g. 3.0.0.

  14. In the Optional Resource Tags area, optionally add Tags. Tags can be added to all Resources

  15. Select Next - Network.

  16. In the Configure virtual networks area, select a previously created virtual network. 

    WARNING

    Due to an issue with Azure templates, do not select the Create new option for the network because the created network will not be accessible to you. Always select a previously created virtual network.

    Network

    The cloudSwXtch must be associated with a virtual network and the virtual network must have at least two subnets: one for control plane and one for data plane traffic. See “System Requirements” above for details.

  17. In the Configure virtual networks area, select a Control Subnet Name.

  18. Select a Data Subnet Name.

  19. OPTIONAL: In the Advanced Networking (optional) section:

    • Add a static IP Address.

    • Specify a Proximity Placement Group.

      staticip.PNG

  20. Select Review and Create. 

  21. Review the plan pricing

  22. Read the Terms & Conditions.

  23. Select I agree when ready. 

The creation will take 1-3 minutes depending on Azure vagaries. When done, a cloudSwXtch instance shall exist within the selected Azure Resource Group. Your cloudSwXtch is now ready for use.

Post-Installation

  • IMPORTANT: If this is a new install then each client that is expected to get traffic from the cloudSwXtch will need a xNIC installed. If this is a existing install then each client with an xNIC already installed will need to be upgraded. Please see xNIC Installation

  • For Windows-related OS/servers, It's important to reboot the machine, once the installation is complete, in order to be able to execute cloudSwXtch tools properly from any client's user home directory.

24/7 Operations

If the services need to be up and running 24/7 swXtch.io suggests that redundant systems exist for which will be referred to as "Main" and "Backup". During an upgrade the Backup system should be upgraded, then the traffic should be routed to the Backup while the Main is upgraded.

Uninstalling cloudSwXtch 

Delete the cloudSwXtch instance as you would any other virtual machine.