Using an Azure Virtual Machine Extension to Install and Register a Tanium Client for Windows Virtual Machines

Using an Azure Virtual Machine Extension to Install and Register a Tanium Client for Windows Virtual Machines

Overview

This article provides step-by-step instructions for using an Azure Virtual Machine (VM) Extension that will install a Tanium Client on your Virtual Machine in the Microsoft Azure cloud and register the Tanium Client with your Tanium Server automatically using a Windows VM. You can deploy the extension differently depending on the needs of your environment.

Note:

Before proceeding to the deployment method of your choice, complete the steps in the Getting started section.

See the Deploy the Tanium Client in Microsoft Azure environments using the Tanium Client VM extensionNo Content found for /db/organizations/tanium/repositories/master/content/documents/userguides/client/azure_vm_extension.dita in the Client Management User Guide for more information.

Deployment Method

Use Case

Using an Azure Policy to Deploy Azure VM Extension

Best used for an Azure Subscription and Resource Group scope because you can deploy the policy to all new VMs in Azure and use Azure policy rules to run remediation tasks to make sure all your VMs in that Subscription and Resource Group have the Azure VM Extension installed.

Using the Azure Portal GUI to Deploy Azure VM Extension

This provides an easier way of deployment using the Azure portal.

Using the Azure CLI to Deploy Azure VM Extension

Best used with single Azure VM instances, you can target them directly with an Azure CLI command and install the Azure VM Extension for the Tanium Client.

Using an ARM Template to Deploy a VM with the Tanium Client VM Extension

Best used in environments where you create many new VMs at one time or frequently create similar VMs on which you want the Azure VM Extension to be installed. See Azure ARM templates for more information.

Getting started

Regardless of which method you choose to deploy your Azure VM extension, you must complete a few steps to prepare your environment for your Azure VM Extension installation. You need a tanium-init.dat file and a designated resource group before proceeding to one of the three deployment methods.

Depending on which method you choose to deploy your Azure VM extension, you will need to complete a few steps to prepare your environment for your Azure VM Extension installation. You need a tanium-init.dat or string base 64 equivalent file before proceeding to one of the four deployment methods.

Note:

If you already have a tanium-init.dat file, skip this section and begin with the Create a resource group section.

There are two ways to create a tanium-init.dat file:

  • The preferred way is to use the new integrations gallery

  • The legacy way is through Client Management.

Create a tanium-init.dat File using Client Management (Legacy)

  1. From the Tanium console, navigate to Shared Services > Client Management.


    Using an Azure Virtual Machine
  2. Click the Client Management dropdown then Client Deployment Templates.


    2.1
  3. Click Create Client Deployment Template.

    1. Enter an appropriate name in the Name field.


      Deployment Template Overview Name
    2. Select a Client Version that your Tanium Server supports.


      Content to Deploy Client Version * Select... Latest Available 7.6 version Latest Available 7.4 version
    3. Under the Custom Tags add a value InstalledByAzure and leave the rest of the fields blank.


      azure
    4. Click Save.

  4. Return to the Client Deployment Templates page, open the Client Deployment Template that you created in the previous step, and download the tanium-init.dat file..


    Tanium Client Management Client Deployment Templates > Show Client Deployment Template > Overview Client Installations Scheduled Client Deployments Client Deployments Endpoint Credentials Client Deployment Templates Configuration Management Client Versions Client Upgrades Client Health Azure VM Extension 1 Content to deploy Tanium Client Version Latest available 7.6 version Release Date Documentation Release Notes Details Created At: Updated At: 11/4/2024, PM 11/4/2024, PM Method and settings Space Required (Windows): Space Required (non-Windows): SSI-I Ports: Delay Between Retries: Number of Retries: Simultaneous Installations: File Transfer Timeout: Install Validation Retry Limit: Client Settings Client Tags 3000 MB 3000 MB 22 5 seconds 5 20 10 minutes 5 Installation Directory (Windows): Installation Directory (non-Windows): New Installs Allowed: Existing Clients: Enable Verbose Logging: o Default Default True Upgrade False

Create a resource group

This step is only needed if you are using Azure Policy deployment or ARM deployments.

  1. Log into your Azure portal.

  2. Using the search bar, search for Resource Groups.


    Basic Steps Outlined
  3. Select Resource groups, then click + Create.

  4. Enter the information for the resource group.


    4.1
    1. Choose your subscription in the Subscription field.

    2. Enter Azure-VM-Extension-Test-Central in the Resource group field.

    3. Select your region in the Region field. Keep all the Azure resources you create for testing in the same region.

    4. Leave the rest of the fields empty.

  5. Proceed to the Review + Create page and click Create.