2 Replies Latest reply on Feb 26, 2018 6:17 AM by Rohit Maheshwari

    Automate Tableau Server Installation using powershell commands in User Data

    Rohit Maheshwari

      Hi Guys,

       

      I am new to Tableau. Working with one of our clients. We have the tableau server in AWS and to automate it. I want to use powershell commands in user data.

       

      Can anyone please help me with that?

       

      Till now I have just the below scripts of powershell.

       

      I am missing last bit which can install the tableau.exe setup by passing data.

       

      We use terraform as Infrastructuire deployment tool. So I don't want to use already available Cloud Formation template.

      <powershell>

      Invoke-WebRequest https://tableau-quickstart.s3.amazonaws.com/Setup-Server-x64.exe -OutFile c:\Users\Administrator\Desktop\tableau.exe

      $script = New-Object Net.WebClient

      $script | Get-Member

      $script.DownloadString("https://chocolatey.org/install.ps1")

      iwr https://chocolatey.org/install.ps1 -UseBasicParsing | iex

      choco upgrade chocolatey

      choco install -y nano

      choco install -y python2

      python -m pip install --upgrade pip

      <powershell>

       

      NOTE: Please ignore the python installation part.