icon-unified.svg
Experience Center

Configuring the Index Tool with Azure

To create index templates for DLP dictionaries (i.e., Exact Data Match (EDM) and Indexed Document Match (IDM) templates), you must configure the virtual machine (VM) image for the Index Tool with Azure, Amazon Web Services (AWS), or VMware.

To learn more, see Configuring the Index Tool with Amazon Web Services and Configuring the Index Tool with VMware.

  • Before you begin deployment, contact Zscaler Support to obtain the Index Tool VHD shared access signature (SAS) token. Without it, you cannot set up the Index Tool.
  • Since the Index Tool provides access to highly sensitive information, ensure that everyone who has access to it is authorized and authenticated.

Deploying a Zscaler Index Tool VM on Azure

To deploy a Zscaler Index Tool VM on Azure:

  • To deploy the Zscaler Index Tool on an Azure VM, you need:

    • The Zscaler Index Tool VHD SAS token.
    • If your index templates include less than 300 million records, Zscaler recommends the following minimum configuration:
      • CPUs: 4 CPUs. Zscaler requires 4 CPUs because the CPUs ensure that hash generation performance is not impacted.
      • RAM: 16 GB (i.e., Standard_D4_v4 or Standard_D8_v4)
    • If your index templates include more than 300 million records, Zscaler recommends the following minimum configuration:
      • CPUs: 4 CPUs. Zscaler requires 4 CPUs because the CPUs ensure that hash generation performance is not impacted.
      • RAM: 64 GB (i.e., Standard_E8-4ds_v4 or Standard_E8as_v4)

    The VHD files include minimum specifications for various settings (e.g., disk size and network interface). You can increase those specifications as needed.

    • A Zscaler Index Tool added in the Admin Portal. You need this configuration to complete the VM setup.
    Close
  • As a first step in deploying an Index Tool in Azure, you must first create a resource group to hold all resources for the Index Tool VM, as well as a storage account for the Index Tool VHD file.

      1. Log in to the Azure Management portal.
      2. In the Azure services section, click Resource groups.

        The Resource groups page is displayed.
      3. Click Create. The Create a resource group page is displayed.
      4. In the Create a resource group page:
        1. Subscription: Select the Azure subscription for the resource group from the drop-down menu.
        2. Resource group: Enter a name for the resource group.
        3. Region: Select the geographical Azure location for the resource group from the drop-down menu.

      All resources that you create for the Index Tool must use the region you select here.

      1. Click the Review + Create tab, wait for the Validation passed message to appear, then click Create.

        You return to the Resource groups page, and the resource group you created is displayed in the list of resource groups.
      Close
      1. Log in to the Azure Management portal.
      2. In the Azure services section, click Storage accounts.

        The Storage accounts page is displayed.
      3. Click Create. The Create a storage account page is displayed.
      4. In the Create a storage account page:
        1. Subscription: Select the Azure subscription for the storage account from the drop-down menu.
        2. Resource group: Select the resource group for the Index Tool from the drop-down menu.
        3. Storage account name: Enter a name for the storage account.
        4. Region: Select the same geographical Azure region used for the Index Tool resource group.
      5. Keep the default selections for the rest of the options on the Basics tab, then click the Networking tab.
      6. On the Networking tab, ensure that the Enable public access from all networks option is selected.
      7. Click the Review tab, review your selections, then click Create.

        A confirmation page is displayed after the storage account deployment is complete.
      Close
    Close
  • To deploy the Index Tool on Azure, you'll need two separate VHD files: one for the OS, and one for data. Additionally, there are two different options available for each VHD file, to support 600 GB and 1,100 GB disk sizes on the Azure VM.

    To use Azure Storage Explorer to copy the Index Tool VHD files to your Azure storage account:

    1. Select the appropriate URL for your region to ensure the fastest copy time:
      • USA: https://zadpazureprod.blob.core.windows.net/
      • Europe: https://zadpazureeu.blob.core.windows.net/
      • Australia: https://zadpazureau.blob.core.windows.net/
    2. Download and launch Azure Storage Explorer.
    3. Click on the Add Account icon (plug icon).

    The Select Resource window appears.

    1. In the Select Resource window, select Storage account or Service.

    1. Click Next.
    2. Select Shared access signature URL (SAS).

    1. Click Next.
    2. In the Enter Connection Info page, in the Service URL field, enter the Service URL and SAS token received from the Zscaler Support team.

    The other fields automatically fill in.

    1. Click Next.
    2. A connection summary appears. Review it and click Connect.
    3. After the connection is successful, in the left-side navigation, go to Storage Accounts > <display name> > Blob Containers > zir-image. The VHD files are located here.
    4. Select the blob container that corresponds to the disk size on the VM you are going to create (i.e., 600 GB or 1,100 GB).

    1. Highlight the data VHD file and click Copy.
    2. In the left-side navigation, go to the storage account you created, and click Paste to add the VHD to your blob containers. The transfer can take some time. The Activities tab at the bottom tells you when the transfer is complete.
    3. Repeat step m through step n for the OS VHD file.
    4. Log in to the Azure Management portal.
    5. Go to your destination blob container. The VHD files appear in the blob container.
    6. Select the blob container, then select the context menu for the data VHD file. Click Properties.
    7. On the properties page for the VHD file, next to the URL field, click Copy to clipboard.
    8. Save the copied URL; you need it when you set up your VM later.
    9. Repeat step r through step t for the OS VHD file.
    Close
  • To create the Index Tool VM, you first download a JSON parameter file, and then use that file to deploy the Azure VM instance that hosts the Index Tool.

    1. Download the JSON parameter file.
      Download the Azure Resource Manager (ARM) template JSON parameter file
    2. Log in to the Azure Management portal.
    3. In the Azure services section, click Deploy a custom template.

      The Custom deployment page is displayed.
    4. Click Build your own template in the editor.

      The Edit template page is displayed.
    5. Click Load file field, then go to the JSON parameter file you downloaded earlier.
    6. Click Save.

      The Custom deployment page is displayed.
    7. On the Custom deployment page:
      • Subscription: Select the Azure subscription for the Index Tool from the drop-down menu.
      • Resource group: Select the resource group for the Index Tool from the drop-down menu.
      • Region: Select the same geographical Azure region used for the Index Tool resource group.
      • VM Name: Specify the name of the VM for the Index Tool.
      • VHD Location-OS: Specify the Azure storage account URL for the OS VHD file. This is the URL you copied when setting up the storage account.
      • VHD Location-Data: Specify the Azure storage account URL for the data VHD file. This is the URL you copied when setting up the storage account.
      • Disk Size: Specify the size of the OS and data VHD files, in gigabytes (i.e., 600 or 1100).
      • VM Size: Select a size for the VM from the drop-down menu. If you are using 1,100 GB VHD files, select an E8 VM.
      • Virtual Network Type: Select whether to use a new or existing virtual network from the drop-down menu.
      • Virtual Network Name: If you are using an existing virtual network, specify its name.
      • Virtual Network Resource Group: If you are using an existing virtual network, specify the name of its resource group.
      • Subnet Name: If you are using an existing virtual network, specify the name of its subnet.
      • Whitelist Outbound Zscaler IP Addresses: Select a Zscaler cloud to allowlist its IP addresses. To learn more, browse to config.zscaler.com, then click Zscaler Index Tool Requirements.
    8. Click the Review + Create tab, wait for the Validation passed message to appear, then click Create.
    9. On the confirmation page that is displayed, in the Deployment details section, click the name of the VM you created.
    10. On the overview page for the VM, click Serial console in the pane on the left side of the page.

      The Serial console page for the VM is displayed, and you see the console output for the Index Tool.

    The VM deployment takes several minutes. The Index Tool is ready to be configured when you see the prompt to change the zsroot password in the serial console output.

    Close
  • To configure the Index Tool VM:

    1. Ensure that you have added a Zscaler Index Tool in the Admin Portal. You need this configuration to complete the VM setup.
    2. Log in to the VM as user zsroot. The initial root password for this user is randomly generated.
    3. Change the root password:
      1. Enter the following command:
    sudo zadp change-password

    1. Enter the initial root password, the one that was randomly generated for you.
    2. Enter a new root password.

    1. Re-enter the new root password.

    After the password is changed, you need to log in to zsroot again using the new password.

    1. Go back to the Admin Portal, and go to Policies > Data Protection > Common Resources > Index Tool.
    2. Locate the Index Tool Configuration you added previously, and under the SSL Certificate column click Download.
    3. Copy over the SSL client certificate.zip file to the VM and install it:
      1. In this example, we're using scp to copy over the file:
    scp <SSL_certificate_zip_filename> zsroot@<vm_ip>:~/

    For example: scp EdmClientCertificate.zip zsroot@10.66.108.100:~/

    1. Enter the following command to install the SSL certificate:
    sudo zadp configure <SSL_certificate_zip_filename>

    For example: sudo zadp configure EdmClientCertificate.zip

    1. Enter the domain name that is used for the Index Tool's fully qualified domain name (FQDN). For example, if the Index Tool is reachable from indextool.mycompany.com, then the domain name entered here would be mycompany.com. The self-signed certificate would be generated for *.mycompany.com.
    2. Enter a passphrase, then re-enter the passphrase to confirm it.
    3. You are prompted to enter the full path name to the text file where the passphrase is stored. You can also press Enter twice to accept the default location and file, /home/zsroot/zscaler_zadp_webui_certificate_pass.txt.

    If the service was configured properly, the service:

    • Checks if the network is configured correctly.
    • Installs the SSL client certificate you specified.
    • Generates a self-signed SSL server certificate. If you need to install a custom server certificate, see .
    • Downloads the latest install package.
    • Starts the service.
    1. (Optional) If you need to install a self-signed or custom SSL server certificate:
      1. Enter the following command to install the server certificate:
    sudo zadp install-server-cert
    1. Enter the full path to the PEM formatted certificate file.
    2. Enter the following command to restart the Index Tool service:
    sudo zadp restart

    Go to https://<IP Address of the Index Tool VM> to access the Index Tool. After the Index Tool service has started, you can log in with your Admin Portal login credentials and create Index Templates to use when creating DLP dictionaries. To learn more, see Creating an Exact Data Match Template and Creating an Indexed Document Match Template.

    Close

Updating and Customizing a Deployed Zscaler Index Tool VM

With your Index Tool VM running, you can update and customize the VM based on your organization's needs.

  • If you have successfully configured the service, the service automatically downloads the latest build before it starts. To manually update the service:

    1. Enter the following command to stop the service:
    sudo zadp stop
    1. Enter the following command to install the update:
    sudo zadp update-now
    1. Enter the following command to start the service:
    sudo zadp start
    Close
  • To run the Index Tool in explicit proxy mode:

    1. Log in to the VM as user zsroot.
    2. Enter the following command:
    sudo zadp configure-network
    1. For Do you require a proxy server configuration?, enter y and press Enter.
    2. For proxyserver, enter the IP address of your proxy server (e.g., proxy.zscaler.net) and press Enter.
    3. For proxyport, enter your proxy port number (e.g., 9443) and press Enter.
      The VM then tests the connection and when this is successful, the configuration is complete.

    To remove the explicit proxy configuration:

    1. Enter the following command:
    sudo zadp configure-network
    1. For Do you require proxy server configuration?, enter n and press Enter.
    2. For Do you want to delete current proxy configuration?, enter y and press Enter.

    Requirements for Explicit Proxy Mode

    If you're using explicit proxy mode, DNS and NTP connections are not tunneled, meaning, you need an internal DNS server to run in this mode. The Index Tool needs to have DNS resolution for the current Master CA IP, update server, and the NTP server. The Index Tool host also needs to be able to query a DNS server to resolve the following settings:

    • smcacluster.<Zscaler cloud Name>
    • update1.<Zscaler cloud Name>
    • update2.<Zscaler cloud Name>
    • zdistribute.<Zscaler cloud Name>
    • The NTP server. By default, the Index Tool VM has the following FQDNs for NTP servers configured:
      • 0.freebsd.pool.ntp.org
      • 1.freebsd.pool.ntp.org
      • 2.freebsd.pool.ntp.org

    You can override these FQDNs to your internal IP address in your DNS server configuration or using other methods.

    In addition, since the proxy configuration doesn't allow authentication, you need to configure the proxy server to allow specific IP/MAC addresses without user and password authentication.

    The proxy server must also allow SSL bypass for communication from the VM to a specific set of IP addresses. These IPs are listed at config.zscaler.com/<Zscaler cloud Name>.net/edm. You can find your cloud name in the URL that your admins use to log in to the Zscaler service. For example, if an organization logs in to admin.zscalertwo.net, then that organization's cloud name is zscalertwo. So, you would go to config.zscaler.com/zscalertwo.net.

    Close
  • To configure the Index Tool service to run without elevated privileges:

    1. Log in to the VM as user zsroot.
    2. Enter the following command to stop the service:
    sudo zadp stop
    1. Open the /sc/conf/sc.conf file and update the value for zadp_ui_port to a port number higher than 1,000.
    2. Enter the following command to restart the service:
    sudo zadp start
    Close
  • An admin can request remote assistance and allow Zscaler Support to log in to an Index Tool without having to open a firewall connection for inbound traffic. This feature is disabled by default and must be enabled explicitly for the duration that remote support assistance is required.

    • To enable Zscaler Support to access your Index Tool:
    sudo zadp support-access-start

    This creates a long-lived SSH tunnel to the Zscaler cloud and sets up remote port forwarding. Zscaler Support can then use this tunnel to log in to your Index Tool.

    • To disable Zscaler Support access to your Index Tool:
    sudo zadp support-access-stop

    This brings down the long-lived SSH tunnel to the Zscaler cloud and all the remote connections.

    • To check the status of the Zscaler Support access to your Index Tool:
    sudo zadp support-access-status
    Close

Index Tool VM Commands

The following commands can be used to configure, update, and troubleshoot your VM.

CommandDescription
sudo zadp stopStops the Zscaler Index Tool service.
sudo zadp startStarts the Zscaler Index Tool service.
sudo zadp update-nowUpdates the Zscaler Index Tool service. The service must be stopped before you can run this command.
sudo zadp restartRestarts the Zscaler Index Tool service.
sudo zadp statusDisplays whether the Zscaler Index Tool service is running or stopped.
sudo zadp force-update-nowForces the Zscaler Index Tool service to update to the latest version regardless of what version is on the VM. The service is automatically stopped before the update begins.
sudo zadp troubleshootRuns a series of checks to help troubleshoot issues, such as checking the installed certificate, the zcloud server configuration, all services, and whether or not an update is needed.
sudo zadp collect-diagnosticsCreates a file with diagnostic information to send to Zscaler Support for troubleshooting purposes.
sudo zadp configure-syslog-serverConfigures external syslog server forwarding on the Zscaler Index Tool to forward file SFTP events and to log any critical changes to the configuration files monitored by the Index Tool. The external syslog server forwarding happens over UDP port 514, which cannot be modified.
Related Articles
About the Index ToolAdding an Index Tool ConfigurationModifying an Index Tool ConfigurationConfiguring the Index Tool with Amazon Web ServicesConfiguring the Index Tool with AzureConfiguring the Index Tool with VMWare