Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Uploading and Deploying a vTA Image Through the Azure CLI

A different way to create and manage Azure resources is through the Azure CLI. In this chapter we indicate how to use the CLI to perform the operations done via the web GUI in the chapter Uploading and Deploying a vTA Image Through the Azure Web GUI.

Full documentation of the Azure CLI is found here: https://docs.microsoft.com/en-us/cli/azure

Creating a Storage Account

Here is shown:

  • how to create a resource group (this is assumed to exist in the web GUI in the chapter Uploading and Deploying a vTA Image Through the Azure Web GUI)
  • how to create a storage account within the resource group
  • how to create access keys. Access keys are used to authenticate applications when they make requests to the Azure storage account. They are needed for some of the operations that follow.

Creating a Storage Container (Blob)

Uploading the Test Agent VHD File to the Storage Container

The VHD file you have downloaded from Netrounds Control Center is named netrounds-test-agent_<version number>.vhd. This is provided as the --file argument. The –-name argument specifies what the VHD file is to be called in Azure.

Creating a Virtual Machine

When creating a virtual machine for running the vTA, you need to use the --admin-username option to specify an admin user and the --ssh-key-value option to supply your public SSH key in a file (assumed to be named id_rsa.pub below).

The option --custom-data is used to initialize the Test Agent with a Paragon Active Assurance cloud-init config in a YAML file (userdata.yaml). Note that this cannot be done through the web GUI. The YAML file has the following format:

An additional line server: can be included in the YAML file to specify a server different from the Paragon Active Assurance SaaS server (which is the default).

Provided that correct credentials are given here, the vTA will register automatically with the Paragon Active Assurance system and appear in the list of Test Agents in the Control Center GUI.