Directly contact our Support Team

Installing GravityZone Enterprise Security in Microsoft Azure

GravityZone Enterprise Security is delivered as a Linux Ubuntu self-configuring hardened virtual appliance, embedded into a virtual machine image, which you can import and run on any virtualization platform, from VMware or Citrix to Microsoft Hyper-V and even Microsoft Azure.

The virtual appliance is available in several formats, compatible with the main virtualization platforms (OVA, XVA, VHD, OVF, RAW). Other platforms may support these formats, but under certain conditions. For example, the GravityZone VHD file is compatible with Microsoft Azure only by following a special deployment process, apart from the one described in the GravityZone Installation Guide.

This article shows you how you can install GravityZone in Microsoft Azure.

  1. Download the GravityZone virtual appliance image (VHD file) from the Bitdefender website to C:\vhd.
  2. Create a virtual machine in Hyper-V with the VHD file.
  3. Power on the machine and set the password for the default user, bdadmin.
  4. Power off the virtual machine.
  5. Recreate the the VHD file:
    $sourceVhd = "C:\vhd\GravityZoneEnterprise.vhd"
    $recreatedVhd = "C:\vhd\GravityZoneEnterpriseHDD.vhd"
    Convert-VHD -VHDType Dynamic -Path $sourceVhd -DestinationPath $recreatedVhd
  6. Prepare PowerShell for Azure:
    Install-Module AzureRM
  7. Upload the file to Azure:
    $resourceGroupName = "Resources"
    $recreatedVhd = "C:\vhd\GravityZoneEnterpriseHDD.vhd"
    $destinationVhd = ""
    Add-AzureRmVhd -LocalFilePath $recreatedVhd -Destination $destinationVhd -ResourceGroupName $resourceGroupName -NumberOfUploaderThreads 5
    note Note:
    • Azure supports only fixed sized VHD files. Add-AzureRmVhd commandlet takes the dynamic size VHD file and uploads it as a fixed size.
    • Please note that $destinationVhd is a custom path. Make sure to choose a valid path in your Azure environment.
  8. Create the virtual machine in Azure:
    1. Get the network to be attached to the VM:
      $virtualNetworkName = "Resources-vnet"
      $locationName = "westeurope"
      $virtualNetwork = Get-AzureRmVirtualNetwork -ResourceGroupName $resourceGroupName -Name $virtualNetworkName
      note Note:
      Depending on your Azure setup, you may need to use other values for the above mentioned variables.
    2. Configure public IP:
      $publicIp = New-AzureRmPublicIpAddress -Name "HydraSrv" -ResourceGroupName $ResourceGroupName -Location $locationName -AllocationMethod Dynamic
      $networkInterface = New-AzureRmNetworkInterface -ResourceGroupName $resourceGroupName -Name "HydraSrv-Interface" -Location $locationName -SubnetId $virtualNetwork.Subnets[0].Id -PublicIpAddressId $publicIp.Id
    3. Configure VM settings:
      $vmConfig = New-AzureRmVMConfig -VMName "HydraSrv" -VMSize "Standard_F4s"
      $vmConfig = Set-AzureRmVMOSDisk -VM $vmConfig -Name "HydraSrv" -VhdUri $destinationVhd -CreateOption Attach –Linux
      $vmConfig = Add-AzureRmVMNetworkInterface -VM $vmConfig -Id $networkInterface.Id
    4. Create the VM in Azure:
      $vm = New-AzureRmVM -VM $vmConfig -Location $locationName -ResourceGroupName $resourceGroupName
  9. Install GravityZone roles:
    1. Connect to the GravityZone appliance via SSH.
    2. Log in with bdadmin.
    3. Gain root privileges:
      $ sudo su
    4. Run the GravityZone installer:
      # /opt/bitdefender/eltiw/installer
    5. Install the roles: Database, Communication Server, Update Server, Web Console.

Rate this article: