Deploying LogonBox VM in Microsoft Azure

system

Download the Azure image

You can download the Azure image directly from our website under the appropriate product page.

When the file has been downloaded, unzip it so that you have a .vhd file.

 

Uploading the VHD to Azure

To upload the Virtual Hard Disk to Azure, you need to have an Azure subscription as well at the Microsoft Azure Powershell module installed on your system.

Please refer to the following Microsoft link to find out how to install the Powershell module as well as uploading the VHD file.

https://azure.microsoft.com/en-gb/documentation/articles/virtual-machines-windows-classic-createupload-vhd/

NOTE: You should skip step 1 in the above link as we have already prepared the VHD file for you.

To summarise, on an Azure account that already has a storage account created, these are the Powershell commands that were executed to upload and register the image (with example arguments in this case):

  • Add-AzureAccount (log in with your Microsoft credentials when prompted)
  • Get-AzureSubscription
  • Select-AzureSubscription -SubscriptionName Pay-As-You-Go
  • Set-AzureSubscription -CurrentStorageAccountName logonboxclassic -SubscriptionName Pay-As-You-Go
  • Add-AzureVhd -Destination "https://logonboxclassic.blob.core.windows.net/logonboxclassic/logonbox-test.vhd" -LocalFilePath .\hypersocket-idm-2.2.1-LOCAL.vhd
  • Add-AzureDisk -DiskName 'Logonbox22disk' -MediaLocation "https://logonboxclassic.blob.core.windows.net/logonboxclassic/logonbox-test.vhd" -Label 'LogonBox 2.2' -OS Linux

 

Creating the Virtual Machine

Log on to Azure at https://portal.azure.com

In the menu on the left, select Virtual Machines, then click the Create a Virtual Machine link.

 

Select a valid resource group and give the virtual machine a name.

For image, click Browse all public and private images.

 

Select My Items and select your custom disk that was created.

 

Set a VM Size, then choose a username. For consistency with our other virtual machines, we recommend using the product name as the username. e.g hypersocket-idm.

Now set a password for this account.

Select 443 as the inbound port.

 

At this point, you can either click Review + create or continue customizing your VM.

When you are ready, click Create.

 

Your LogonBox VM is now deployed and will be ready to use shortly. Once completely booted, the public IP address of your instance will be visible in the Azure Dashboard.

The username and password, or username and key will be whatever was chosen during provisioning.

 

Connecting to your VM

Log on to Azure at https://portal.azure.com

Click on Virtual machines on the left-hand side, your deployed VM should be listed here and running.

You can select the virtual machine to see its DNS name and virtual IP address.

 

Web UI

You should be able to use a web browser to connect to this DNS name using https://<hostname>.

As this is the first time you have accessed the server, it should display the Setup Wizard. Follow this wizard to complete the initial setup of the server.

 

Once the wizard has completed, you can now log on to the server and start to configure your users and resources.

 

SSH access

Using an SSH client of your choice you can also connect to the server over SSH using the username and password that you chose during deployment of the VM above.