Create an Azure cloudSwXtch Template

Prev Next

WHAT TO EXPECT

The easiest way to deploy a cloudSwXtch instance in an Azure environment is through the template method. The following process is a one-time task per subscription.

In this section, users will learn the template creation process in preparation for Azure cloudSwXtch installation.

Template Creation

A cloudSwXtch template can be created by using the Azure Portal. This template will be used to create a cloudSwXtch "Creating cloudSwXtch via Template method". The template is not used during the creation of a cloudSwXtch via the Marketplace. The creation of the Template is a one-time task per subscription

  1. Log in to the Azure Portal. The user will need permissions to create and manage virtual machines.

    • virtual-machine-contributor

  2. Open Cloud Shell in Bash mode.

    Azure_cloudSwXtch-cloudshell

    Use this link for help with setting up the Cloud Shell.

  3. Enter the following command to get to the proper resource group:

    rg="<the-rg-here>"

    Example below:

  4. Enter the following command to clone the "cloudSwXth-AzureTemplates": 

    git clone https://github.com/swxtchio/cloudSwXtch-AzureTemplates

    Example below:

  5. Change directory to "cloudSwXtch-AzureTemplates". 

    cd cloudSwXtch-AzureTemplates

    If desired, use the "ls" command to see what is in the directory. Example below:

    Azure_marketplace-template-json

  6. Create "cloudSwxtch-from-mp-image" using the following command: 

    az ts create -n cloudSwxtch-from-mp-image -g $rg -v 1 -f MPTemplateVM.json --ui-form-definition MPTemplateUI.json

The output should look like the screenshot below:

aztemp.PNG

NEXT STEP: Azure cloudSwXtch Installation

After completing template creation and validating subnets, continue on to the main Azure cloudSwXtch Installation guide