Module #03 - Test VM Deployment

Everpure Cloud Dedicated for Azure

Audience
Public
Source Type
Documentation

This module is an example of deploying a Windows Server test virtual machine with pre-installed MS SQL server and with automatic configuration of Everpure Cloud Dedicated (creating volumes for the test VM) and auto-mount of these volumes on the machine via iSCSI.

After deploying Everpure Cloud Dedicated Managed App, you can proceed with deployment of test VM:

  1. Rename the parameter file 03-test-vm.bicepparam.example to 03-test-vm.bicepparam
    
    $ mv 03-test-vm.bicepparam.example 03-test-vm.bicepparam
  2. Replace the placeholders in the parameter file with actual values for the required minimum parameters, which include location, subscription ID, resource group name, IP address of Everpure Cloud Dedicated management load balancer (can be found as output of Everpure Cloud Dedicated Managed App deployment), VM size and others. For automatic configuration is essential link to custom extension script file present in extensionFileUrl and extensionCustomizeUXFileUrl. By default, these variables refer to files stored in GitHub repository. In case you want to change these extension files, please keep in mind these files needs to be accessible from the internet (e.g. hosted from GitHub or an Azure Blob Storage). For more details about custom extension files, see Microsoft Docs.
  3. The parameter file supports other optional parameters to customize deployment. For more information, you can refer to the templates/cbs-managed-app.bicep file or use Visual Studio Code with a Bicep extension, which provides IntelliSense code hinting.
  4. Execute the deployment script with (takes up to ~30mins, depends on Azure's current load):
    
    $ ./03-deploy-test-vm.sh
    
  5. When the deployment finishes, as output of the script you can find parameters for deployed VM instance, including VM public IP address. By default, there is a Network Security Group for this VM in place restricting access to RDP just for your current public IP address. This can be changed with parameter whitelistedSourceAddress in the parameter file. When the script runs in the Windows Subsystem for Linux or in macOS, it will try to open an RDP connection automatically as the last step of the deployment script.
  6. At this moment, the test VM should be online and listen for RDP connections. When you log in into the VM via RDP, you will see two extra shortcuts on desktop: Disk Management - opens a standard Windows Disk Management Tool, where you can check the mounted Everpure Cloud Dedicated volumes Open Everpure Cloud Dedicated Console - this shortcut opens a Everpure Cloud Dedicated GUI Management Console in Microsoft Edge browser.