Cisco Secure Access Help

PDF

Cisco Secure Access Help

Deploy VAs in Microsoft Azure

Want to summarize with AI?

Log in

Describes Deploy VAs in Microsoft Azure in Cisco Secure Access. Deploy Cisco Secure Access Virtual Appliances (VAs) in Microsoft Azure.


Deploy Cisco Secure Access Virtual Appliances (VAs) in Microsoft Azure.

Note
You must deploy at least two Virtual Appliances (VAs) in a Secure Access Site. It is critical that these VAs are not cloned or copied in any way. Configure and set up each VA manually.

Prerequisites

  • Full Admin user role. For more information, see Manage Accounts.
  • For information about the network requirements for deploying VAs, see Prerequisites for Virtual Appliances.
  • If you use the VA on Azure as a DNS server for your on-premise endpoints, then DNS traffic from these endpoints should not traverse through a Network Address Translation (NAT) device en route to the VA. The VA should receive DNS packets with the source IP as the internal IP of the endpoints. An ExpressRoute or dedicated MPLS or site-to-site VPN connection from your on-premise environment to Azure will meet this requirement.
  • A system running Windows 10 with the Hyper-V role enabled to convert VHD images to an Azure-acceptable format.
  • Only VAs running version 2.4 or above can be deployed in Microsoft Azure.

Configure Authentication for the Virtual Appliances

Before you can download the Virtual Appliance images in Secure Access, you must configure your Secure Access API keys for the Virtual Appliances in your organization. Secure Access enables the Download Components button only after the API keys for the VAs are configured. For more information, see Configure Authentication for Virtual Appliances.


Procedure for Deploying VAs in Microsoft Azure

Before you begin

  • Add internal.cloudapp.net to the internal domains list for VAs.

  • Unless you are using your own DNS server in Azure, you should configure 168.63.129.16 as the local DNS server in the VA settings. This is the virtual IP used by Azure for recursive and local DNS queries.

Procedure

  1. Step 1 – Prepare the Virtual Appliance Image on Azure. This is a one time task.

  2. Step 2 – Launch the Virtual Appliance on Azure. Perform this task for each VA after you have performed the one-time task of preparing the VA image.


Step 1 – Prepare the Virtual Appliance Image on Azure

This is a one-time task to create an image in Azure that can be used to launch multiple VAs.

Note
Generation 2 VMs are not supported for VA deployments.

Procedure

  1. Navigate to Connectors > DNS Forwarders and click Download Components.


    DNS Forwarders section with an option to download components
  2. Click Download next to VA for Hyper-V.

    Download Components section with an option to download a virtual machine

    Umbrella generates and downloads to your computer a .tar file unique to your deployment.

    This tar file includes:

    • a .zip file containing the virtual hard disks that need to be deployed on Azure

    • a signature file

    • a Cisco public certificate to validate the signature

    • a readme file

  3. Extract the contents of the tar file using the command tar –xvf <tar filename> -C <Destination folder>.

    To verify the integrity of the downloaded file, validate the signature by following the instructions provided in the readme file. On successful signature validation, you should see a message saying “Verified OK."

  4. Extract the downloaded zip file. You'll find two folders—Virtual Hard Disks and Virtual Machines—and a config file.


    Folder displaying the extracted contents of a zip file
  5. Open Windows PowerShell as Administrator, navigate to the Virtual Hard Disks folder, and convert the vhd files (forwarder and dynamic) in their respective folders to a fixed type format acceptable by Azure.

    To convert and resize the forwarder file, run the following commands:

    Convert-VHD -Path .\forwarder-va.vhd -DestinationPath forwarder-fixed.vhd -VHDType fixed
    Resize-VHD .\forwarder-fixed.vhd  -SizeBytes 8GB

    To convert and resize the dynamic file, run the following commands:

    Convert-VHD -Path .\dynamic.vhd -DestinationPath dynamic-fixed.vhd -VHDType fixed
    Resize-VHD .\dynamic-fixed.vhd -SizeBytes 30MB
    Conversion free disk space requirements

    Conversion requires at least 9GB of free disk space to create the modified disks. The new forwarder-fixed.vhd will consume approximately 8GB of space. Machines with less than 9GB of space will fail to convert with a red error message.

  6. Upload the forwarder-fixed.vhd and dynamic-fixed.vhd to a blob in your Azure storage account using the Azure portal or the AZ CLI.

    Note
    This is a one-time upload.
  7. Create an image in Azure from these virtual hard disks using the Azure portal.

    Use the forwarder-fixed.vhd as the OS disk (OS type: Linux) and the dynamic-fixed.vhd as the data disk.

    Note
    Ensure that Host caching for both the OS disk and data disk is set to Read/write. Since second generation VMs are not supported for VA deployments, ensure that you set VM Generation to Gen 1.

    Creating an Azure image from the virtual hard disks
  8. Once the VA image is created in Azure, use this image to launch multiple VAs. For more information, see Step 2: Launch the Virtual Appliance on Azure.


Step 2 – Launch the Virtual Appliance on Azure

Note
Before performing this task, you must complete the one-time task of preparing the virtual appliance image on Azure. For more information, see Step 1: Prepare the Virtual Appliance Image on Azure.

Procedure

  1. Use the Azure portal to launch Secure Access VAs in Azure using the VA image you created in Step 1: Prepare the Virtual Appliance Image on Azure:

    • Choose a VM size with at least one VCPU and 1024 MB RAM.
      Note
      VM sizes above eight VCPUs are not supported.
    • For the Administrator account, set the Authentication type to Password.
      Note
      It is a security risk to specify a public IP address for the VA, and is not recommended except in case of SNAT port exhaustion issues. If you need to configure a public IP for the VA on Azure for these issues, ensure that inbound access from the Internet is not permitted. For more information, see Troubleshoot Intermittent DNS Resolution Failures on a VA Deployed in Azure.
    • Provide the username as vmadmin and enter a password that meets complexity requirements.
      Note
      The admin-password you create here is not actually set on the VA.
  2. You may also use the Azure Cloud Shell to launch VAs in Azure using the VA images you created in Step 1: Prepare the Virtual Appliance Image on Azure. VM sizes above eight VCPUs are not supported.

    You may specify the static IP as part of the command. For example:

    az vm create --resource-group MyResourceGroup --size Standard_B2s --name UmbrellaVA                
      --image VAImage --authentication-type password --admin-username vmadmin                               
      --admin-password <password> --vnet-name MyVnet --subnet MySubnet                                             
      --private-ip-address 10.0.0.1
  3. In Secure Access, navigate to Connector > DNS Forwarders. Secure Access displays your list of deployed VAs.

  4. Use the same image to launch multiple VAs as required. Provide a different name and different static IP for each VA.

    Note
    If you do not specify the private IP address, the VA will automatically pull a DHCP IP and register to Umbrella with this IP address. This IP address will be listed as the VA name in Secure Access.

What to do next

Tip
Diagnostic Settings

It is not recommended to turn on Diagnostic Settings (Guest-level monitoring) or install any extension for a VA on Azure. Enabling diagnostics results in huge log files being generated on the VA, which causes the VA to run out of disk space.

If your VA on Azure is reporting disk space issues, navigate to the Settings > Extensions page against your VA on the Azure portal and remove any extensions. Also, navigate to the Monitoring > Diagnostic Settings page against your VA on the Azure portal and verify that Guest-level monitoring is turned off.