Create an Azure cloudSwXtch Template

Prev Next

WHAT TO EXPECT

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

This section will walk you through 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 creation of a cloudSwXtch via the Market Place. The creation of the Template is a one-time task per subscription

  1. Log into the Azure Portal. You will need permissions to create and manage virtual machines.

    • virtual-machine-contributor

  2. Open Cloud Shell.

    Azure_cloudSwXtch-cloudshell


    If you need help setting up your Azure cloud-shell, use the link below for setup instructions.
    azure cloud-shell quick start

  3. Make sure you are running your cloud shell terminal in Bash mode.

  4. Enter in the following command to get to the proper resource group:

    rg="<your-rg-here>"

    Example below:

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

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

    Example below:

  6. Change directory (cd) 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

  7. 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
    1. The output should look like the below screenshot:

      aztemp.PNG

NEXT STEP: Azure cloudSwXtch Installation

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