Set up hosts for the ThoughtSpot cluster
Set up hosts for the ThoughtSpot cluster on Amazon Web Services.
- Refer to AWS configuration options for the exact specification for the hosts:
- CPU
- memory
- disks
- Refer to Set up AWS resources for ThoughtSpot to create and launch your AWS virtual machines.
- Ensure that your AMI is an Amazon Linux 2 image.
[Optional] Set up AWS Systems Manager Agent
If you plan to use the AWS SSM agent as an alternative to SSH, create a new IAM role while creating VMs. This IAM role must have an SSM policy to grant AWS SSM permission to perform actions on your instances. Refer to Create an IAM instance profile for Systems Manager.
You must install the SSM agent on each node. Refer to Manually install SSM Agent on EC2 instances for Linux, if the SSM agent is not already on each node.
Partition the hosts
Ensure that all ThoughtSpot hosts meet the following partition and sizing requirements. All drives must be SSDs.
-
At least 20 GB available on the root drive, for yum packages and system logs.
-
At least 50 GB available for
/tmp
. -
At least 200 GB for ThoughtSpot installation, either on a secondary drive or as a separate partition on the root drive.
Note: This drive must be separate from the data drive(s).
Enable the hosts to download Amazon Linux 2 packages
Repositories
- Yum repositories: you must enable the following Yum repositories in your cluster:
6.3 and earlier:epel
,nux-desktop
,google-cloud-sdk
, andazure-cli
.
6.3.1 and alter:epel
,google-cloud-sdk
, andazure-cli
.
- Python repository: for Python, ensure the machine is able to reach the
PyPI
repository located at https://pypi.python.org/.
- R repository: for R, ensure the machine is able to reach the
CRAN
repository located at https://cran.rstudio.com/.
Make sure that you can download Amazon Linux 2 packages to all hosts, either from the official package repositories, or from a mirror repository owned and managed by your organization.
If you cannot access the Amazon Linux 2 repositories, there is no mirror repository in your organization, or you are unable to access Yum, Python, or R repositories, please contact ThoughtSpot Support.
Official package repositories
If the hosts of your ThoughtSpot cluster can access external repositories, either directly or through a proxy, your cluster is online. You can then proceed to download Yum, Python, and R package repositories.
Internal mirror repository
If the hosts of your ThoughtSpot cluster have access to an internal repository that mirrors the public repositories, copy the Yum, Python, and R package repositories to your hosts.
Enable an Ansible Control Server
Configure an Ansible Control Server, on a separate host, to run the Ansible playbook that ThoughtSpot supplies. You must install both rsync
and Ansible on the Ansible Control Server host.
Disable SELinux or run it in permissive mode
ThoughtSpot does not support policies that enforce SELinux. We recommend that you disable SELinux, or run it in permissive mode.
Ensure tmp has permission 777
The /tmp
directory must have the 777
permission.
Remove Defaults requiretty from /etc/sudoers
The /etc/sudoers
file must not have the Defaults requiretty
line. This line can cause cluster creation to fail.
Next steps
Next, get ThoughtSpot artifacts.