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.
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 |
|---|---|
|
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. |
|
|
This provides an easier way of deployment using the Azure portal. |
|
|
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.
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 the Integrations Gallery (Preferred)
-
From the Tanium console, navigate to Shared Services> Integrations Gallery.
-
Click Microsoft Azure VM Extensions.
-
Click Create Profile, add values to the Name field and choose Content Set and if needed Log Level.
-
Then back on the “Configuration” Tab look for the “Actions” tab you can either copy the base 64 string of the tanium-init.dat file or download it directly.
Create a tanium-init.dat File using Client Management (Legacy)
-
From the Tanium console, navigate to Shared Services > Client Management.
-
Click the Client Management dropdown then Client Deployment Templates.
-
Click Create Client Deployment Template.
-
Enter an appropriate name in the Name field.
-
Select a Client Version that your Tanium Server supports.
-
Under the Custom Tags add a value InstalledByAzure and leave the rest of the fields blank.
-
Click Save.
-
-
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..
Create a resource group
This step is only needed if you are using Azure Policy deployment or ARM deployments.
-
Log into your Azure portal.
-
Using the search bar, search for Resource Groups.
-
Select Resource groups, then click + Create.
-
Enter the information for the resource group.
-
Choose your subscription in the Subscription field.
-
Enter Azure-VM-Extension-Test-Central in the Resource group field.
-
Select your region in the Region field. Keep all the Azure resources you create for testing in the same region.
-
Leave the rest of the fields empty.
-
-
Proceed to the Review + Create page and click Create.