---
schema_version: "1"
id: b1de5a02e5edae0f7efb0402c43790affe115ca1d2a81fa32ac6df5ac765fa49
title: Self-Deploy a Single Tableau Server on Microsoft Azure
collection: tableau
version: next
locale: en-us
portal_url: https://docs.salesforce.com/tableau/next/en-us/server-linux/ts_azure_single_server.md
canonical_url: https://help.tableau.com/v0.0/server-linux/en-us/ts_azure_single_server.htm
source_site: help.tableau.com
content_type: documentation
content_hash: ae78addfeb44713be421034937f3e9e7b3df20352d28b9a782370d972cf703d0
description: Deployments on public clouds continue to be supported but the content for third-party public cloud deployments is no longer updated
---
[Skip to main content](#main-content)

# Self-Deploy a Single Tableau Server on Microsoft Azure

## This is archived content

Deployments on public clouds continue to be supported but the content for third-party public cloud deployments is no longer updated.

For the latest Tableau Server deployment content, see the [Deploy](https://help.tableau.com/current/server-linux/en-us/install.htm) section of Tableau Server help.

For those customers who have access, we recommend Tableau Cloud. For more details, see:

- [Tableau Cloud Manual Migration Guide](https://help.tableau.com/current/guides/migration/en-us/emg_intro.htm)
- [Tableau Cloud Trial for Admin](https://help.tableau.com/current/server-linux/en-us/install.htm)
- [Tableau Cloud: Get Started for Admin](https://www.tableau.com/learn/get-started/online-admin)

## Introduction

You can install and run Tableau Server on a Microsoft Azure virtual machine (VM). Tableau Server is an online solution for sharing, distributing, and collaborating on content created in Tableau.

Perform the following tasks to install and run Tableau Server on a Microsoft Azure virtual machine (VM):

## Step 1: Set up an Azure VM

Create a Microsoft Azure virtual machine (VM) where you'll install Tableau Server.

1. Sign in to the [Microsoft Azure portal](https://portal.azure.com/) (https://portal.azure.com).
2. On the Microsoft Azure dashboard, click **New**.
3. Under **Azure Marketplace**, select **Compute**, and then on the **New** blade, click **See all.**
4. On the **Compute** blade, choose one of the supported Linux distributions, for example, **Ubuntu Server**, and then on the **Ubuntu Server** blade, choose **Ubuntu Server 18.04 LTS** or **Ubuntu Server 20.04 LTS**.
5. On the **Ubuntu Server** blade, review the information. In the **Select a deployment model** drop-down list, select **Resource Manager**, and then click **Create**.
6. On the **Create virtual machine** - **Basics** blade, specify the following information:
    
    1. **Name:** Enter a name for the instance. This must be 15 or fewer characters.
    2. **VM disk type:** choose SSD.
    3. **User name:** Enter your user name. You will use this user name to log in to the VM using Remote Desktop Protocol (RDP).
    4. **SSH public key | Password:** Enter your SSH public key or password. You will use this SSH public key or password to log in to the VM.
    5. **Subscription:** The Azure subscription this VM should be associated with.
    6. **Resource group:** Choose **Create new** and then enter the name of a new resource group to host the VM’s resources.
    7. **Location:** The location of the new resource group.
7. At the bottom of the **Basics** blade, click **OK**.
8. On the **Create virtual machine** - **Choose a size** blade, click **View all** in order to see all available virtual machine sizes.
9. Select a VM that meets the [system requirements](https://help.tableau.com/v0.0/server-linux/en-us/ts_azure_virtual_machine_selection.htm) for Tableau Server. For example, choose the **DS13\_V2** size, and then click **Select**.
10. In the **Create virtual machine** - **Settings** blade, under **Storage**, set **Use Managed Disks** to **Yes**.
11. In the **Create virtual machine** - **Settings** blade, under **Network**, click **Network security group (firewall)**.
12. Next, you'll create inbound rules that allow specific types of internet traffic to reach your VM. On the **Create network security group** blade, click **Add an inbound rule**.
13. On the **Add inbound security rule** blade, and then in the **Service** drop-down list box, choose **HTTP**.
14. In the **Priority** box, give the rule a priority, for example, 100. Lower numbers are processed first. For example, a rule priority of 100 will be processed before a rule priority of 110.
15. In the **Name** box, enter a name for the inbound rule, for example HTTP Port-80, and then click **OK**.
16. Repeat steps 11-14 to create a second rule for the HTTPS service with a priority of 101.
17. When complete, the **Create network security group** dialog should include three rules to allow SSH, HTTP, and HTTPS access. Click **OK**.
18. On the **Create virtual machine** - **Settings** blade, review the settings, make any desired changes, and then click **OK**.
19. On the **Create virtual machine** - **Create** blade, under **Summary**, review your settings and click **Create**.
    
    After the VM deployment process is complete and the VM is running, click the your VM’s tile on the Azure Dashboard.
20. Under **Settings**, click **Disks**.
    
    **Note:** Your VM was provisioned with only one disk. We recommend adding a second disk and installing Tableau Server on its own disk.
21. On the **Disks** blade, under **Data disks**, click **Add data disk**. In the **Name** column, in the **No managed disks available** drop-down list, choose **Create disk**.
22. On the **Create managed disk** blade, in the **Name** field, enter a name for the disk.
23. Set the **Size (GiB)** field to **128**, **512**, or **1024**, and then click **Create**.
    
    **Note:** Even though the **Size** field allows any number, Azure will round up the provisioned storage to one of those values as per current 3 options for Premium Storage disk size. We recommend you select at least **512** GiB, which will provide a minimally acceptable amount of IOPS and throughput.
24. In the **Host Caching** column, select **None**, and then click **Save**.

## Step 2: Connect to your Azure VM

Use Secure Shell (SSH) from a computer running Linux to connect to your Azure VM running Linux. If you're connecting from a computer running Microsoft Windows, you'll need to install an SSH client such as [PuTTY](http://www.putty.org/), or a Remote Desktop Protocol (RDP) client such as [xrdp](http://www.xrdp.org/), to connect to your Azure VM running Linux. For more information, see [Install and configure Remote Desktop to connect to a Linux VM in Azure](https://docs.microsoft.com/en-us/azure/virtual-machines/linux/use-remote-desktop) at the Microsoft Azure website.

## Step 3: Add a second disk to your Azure VM

You must configure the data disk you added before Linux will recognize it. You will install Tableau Server on this disk in [Self-Deploy a Single Tableau Server on Microsoft Azure](#Step4).

1. On your Azure VM running Linux, open a command prompt.
2. Display all attached disks. Type `sudo fdisk -ls`.
3. Create a partition. Type `sudo fdisk /dev/sdc`.
4. At the fdisk prompt, type `n`, and then press `Enter`.
5. To create a new primary partition, type `p` and then press `Enter`.
6. To specify the partition number, enter a number. Otherwise, press `Enter` to accept the default.
7. To specify the first sector of the partition, enter a number. Otherwise press `Enter` to accept the default, which is the first free sector on the disk.
8. To specify the last sector of the partition, enter a number. Otherwise press `Enter` so that the partition occupies the entire disk.
9. To save your changes to the disk, type `w`.
10. To format the disk, type `sudo mkfs.ext4 /dev/sdc`.
11. To create a directory for the disk, type `sudo mkdir /data`
12. To list all drives and their UUIDs, type `sudo ls -l /dev/disk/by-uuid`.
    
    Make note of the UUID for the disk you just added. You'll need this in step 12.
13. To permanently mount the disk, edit the fstab file. Type `sudo nano /etc/fstab`.
14. At the end of the fstab file, add the following line:
    
    `UUID=_<uuid of the disk you're adding>_ /data ext4 defaults 0 1`
    
    where:
    
    `/data` is the mount point created in step 11 above.
    
    `defaults` sets the default options of `rw`, `suid`, `dev`, `exec`, `auto`, `nouser`, and `async`. For more information see [Linux filesystem mount options](http://man7.org/linux/man-pages/man8/mount.8.html#FILESYSTEM-INDEPENDENT_MOUNT_OPTIONS).
    
    `0` disables backing up the device/partion (command dump).
    
    `2` specifies that fsck checks the root volume for error at boot time before checking this data volume.
15. To save and exit the file, press `ESC`, press `CTRL + X`, press `Y`, and then press `Enter`.
16. Restart your VM.

## Step 4: Install Tableau Server on your Azure VM

Installing Tableau Server on your Microsoft Azure virtual machine (VM) is similar to installing it on any other server.

**Note:**

- You can select local authentication or Active Directory authentication. However, if you select Active Directory authentication, Active Directory must be set up on Azure. For more information, see [Install a replica Active Directory domain controller in an Azure virtual network](https://azure.microsoft.com/en-us/documentation/articles/virtual-networks-install-replica-active-directory-domain-controller/) in the Microsoft Azure documentation.
- The Run As user must be a local user on the server instance.

1. Copy the Tableau Server installation program to the data disk you added to your VM by doing one of the following:
    
    - Copy the Tableau Server installation program to the data disk you added to your VM by doing one of the following:
        
        - **Download the installer directly**. While logged into the VM, open a browser, browse to the [Tableau Server download page](http://www.tableau.com/products/server/download), and download the 64-bit version of Tableau Server.
        - **Copy the installer to the VM**. If you already have a copy of the Tableau Server installer on your computer, copy it to the disk you added to your VM. Create a folder on the VM where you want to put the installer. From your computer, upload the Tableau Server installer file (for example, TableauServer-64bit-10.5.exe) to the VM.
            
            **Note:** Install Tableau Server in the /data directory on the disk you added in [Self-Deploy a Single Tableau Server on Microsoft Azure](#Step3).
    - **Copy the installer to the VM**. If you already have a copy of the Tableau Server installer on your computer, copy it to the VM. Create a folder on the VM where you want to put the installer. From your computer, upload the Tableau Server installer file (for example, TableauServer-64bit-10.5.exe) to the VM.
2. Run the Tableau Server installer on the VM to start the server installation process. The installation process works the same as it does on any other server. For more information, see [Install and Configure Tableau Server](https://help.tableau.com/v0.0/server-linux/en-us/install_config_top.htm).

## Step 5: Access your Azure VM from a remote browser

Make sure that users can access the Azure virtual machine (VM) where you've installed Tableau Server.

1. In the Microsoft Azure portal, navigate to the **Overview** page of your VM. Note the Public IP address associated with the VM.
2. (optional) To give your VM a public hostname, click the Public IP address.
3. On another computer (not on the VM), open a browser.
4. In the browser, type the IP address or DNS name of the Tableau Server you installed on the VM.
    
    Examples:
    
    `http://13.64.47.61` or `http://tableauonazure.westus.cloudapp.azure.com`
5. If you cannot connect to the instance, see [Troubleshooting Tableau Server on Microsoft Azure](https://help.tableau.com/v0.0/server-linux/en-us/ts_azure_troubleshooting.htm).

## Step 6: Publish data to Tableau Server on your Azure VM

After you set up Tableau Server on your Microsoft Azure virtual machine (VM), users in your organization can publish workbooks and data sources to Tableau Server on the VM. The process works the same way that it does if Tableau Server is installed on premises, except that users must sign in to the server running on the VM.

Before you allow users to publish, make sure that each user has been created with the Publisher site role in Tableau Server and that the users have Publisher permissions. For more information, see [Add Users to Tableau Server](https://help.tableau.com/v0.0/server-linux/en-us/users_add.htm).

To publish workbooks and data sources to Tableau Server, users must sign in to the server using the IP address (or optional DNS hostname) that you created for your VM (e.g., `http://13.64.47.61` or `http://tableauonazure.westus.cloudapp.azure.com`) and use their assigned user name and password. For more information, see [How to Publish Workbooks to a Tableau Server](https://help.tableau.com/current/pro/desktop/en-us/help.htm) in the Tableau documentation.

## Step 7: Manage Tableau Server licenses when shutting down or deleting your Microsoft Azure VM

Ensure that your Microsoft Azure virtual machine (VM) uses a static MAC address or static VM ID. If your Microsoft Azure VM isn't using a static MAC address or static VM ID, you must deactivate your Tableau Server license prior to stopping the instance. Otherwise your Tableau Server can become unlicensed when you shut down your Microsoft Azure VM, which requires you to reactivate your license when you restart the VM. In addition, when you stop your VM using the Azure portal, resources are deallocated and you stop accruing charges, except for storage. However, if you stop your VM by shutting down the operating system, resources are not deallocated by Azure and you will continue to accrue charges.

Deleting a VM deallocates all of its resources, including external storage. You might delete your VM when you no longer need it. Always deactivate your Tableau Server license before you shut down and delete your VM.

Before you delete your VM, do the following:

1. Sign in to your VM.
2. Create a backup of Tableau Server, and then copy the `.tsbak` file to another location that will be accessible after the VM is no longer available. For more information, see [Perform a Full Backup and Restore of Tableau Server](https://help.tableau.com/v0.0/server-linux/en-us/backup_restore.htm).
3. Use the [tsm licenses deactivate](https://help.tableau.com/current/server-linux/en-us/cli_licenses_tsm.htm#TSMDeactivate) command to deactivate your Tableau Server product key. You can now shut down and delete your VM.