Skip to main content

Deploying in Starburst Enterprise Platform (SEP) on AWS

These instructions describe how to deploy the Aerospike Trino connector in Starburst Enterprise on AWS. Starburst Enterprise is an enterprise-ready distribution of open source Trino (formerly PrestoSQL).

The Aerospike connector does not support the following Starburst Enterprise features:


Provision EC2 instance

Log into the AWS Management Console, then click Services > Compute > EC2.

EC2 instance

Select Launch Instances.

Launch EC2 instance

Choose AMI > Ubuntu Image 20.04 XXX > 64 Bit(X86) > Select.

EC2 instance properties

Select Choose Instance Type > t3.2xlarge.

EC2 instance type

Select Next: Configure Instance Details.

EC2 instance details

Go to Add Storage > Add New Volume and check the specified settings. If they look good, click Next: Add Tags.

EC2 storage properties

Choose Add Tags > Add Tag then enter the appropriate value for Key and Value. For example, Development and Starburst_Node_Dev_X or QA and Starburst_Node_QA_X.

At the bottom of the screen, click Next: Configure Security Group.

EC2 instance security group

If you need ports other than SSH, like port 8080 or 3000-3003, select Configure Security Group > Add Rule. Add rules to allow the necessary ports.

EC2 instance security group rule

Click Review and Launch.

EC2 instance review and launch

Review the settings, then click Launch.

EC2 instance launch

Select one of the options:

  • Choose an existing key pair
  • Create a new key pair
  • Proceed without a key pair

EC2 instance key options

If existing keys are available, select Choose an existing key pair, select the Public/Private key, tick the box to confirm you have access, then click Launch Instances.

EC2 instance key pair

Deploy Starburst and Aerospike

Pick the public IP address of the recently-created instance before proceeding to the next steps from the AWS console. For the following examples, we assume the IP address is

Use PuTTY (Windows) or Terminal (Mac) to log into the configured instance.


The following steps have been tested in Terminal on Mac.

ssh -i ~/Downloads/Private_Key_Latest.pem ubuntu@

Install Java and Python, if they are not pre-configured on your instance.

sudo apt update
sudo apt-get install openjdk-11-jdk
sudo apt install python3.8

Download Starburst Enterprise LTS version. As of publication of this documentation, Release 370-e LTS is the latest version.

Upload it to the /home/ubuntu directory on your instance.

Go to the /home/ubuntu directory on your instance and install UUID.

cd /home/ubuntu
sudo apt-get install uuid

Run the UUID command and capture the node ID for


Upload all relevant files to the home/ubuntu directory, including:

Make the /etc/sep directory and copy over your license key.

sudo mkdir -p /etc/sep
cd /etc/sep
sudo cp /home/ubuntu/*.license .

Move to the /home/ubuntu directory, then uncompress the Starburst installation package.

cd /home/ubuntu
tar xvfz starburst-enterprise-370-e.1.tar.gz

Move the uncompressed Starburst file to /opt/starburst, then go to that directory and create a symlink.

sudo mv starburst-enterprise-370-e.1 /opt/starburst
cd /opt/starburst
sudo ln -s /etc/sep etc

Go to the /opt/starburst/plugin directory and make a directory for Aerospike.

cd /opt/starburst/plugin/
sudo mkdir aerospike

Copy all the JAR files from the Aerospike Trino Connector download into the new /opt/starburst/plugin/aerospike directory.

Create a /var/trino/data directory and give it read/write/execute permissions for all users.

mkdir -p /var/trino/data
sudo chmod 777 /var/trino/data

Move into the /etc/sep directory and edit the file.

sudo vi

Set the following configurations. For use the UUID you captured previously with the uuid command.

node.environment=production ## UUID captured previously

Save and exit the file.

Edit jvm.config.

sudo vi jvm.config

Now configure Trino in Starburst Enterprise. Refer to Trino Configuration for more details.

Here's a sample configuration:


Save and exit the file.



Set the cluster configurations, using one of the two following options.

Option 1: Single-Node Deployment

discovery.uri=http://[coordinator node IP address]:8080

Option 2: Multi-Node Deployment

If you plan to use one or more worker nodes, one set of configurations applies to the coordinator node, and a second set applies to each worker node.

On the coordinator node:

discovery.uri=http://[coordinator node IP address]:8080

On each worker node:

discovery.uri=http://[coordinator node IP address]:8080

You can use any DevOps automation tool to automate applying configurations to worker nodes.

Save and exit the file.


sudo vi

Set the following configuration.


Save and exit the file.

Create a catalog directory and move into it.

sudo mkdir catalog
cd catalog

Create a file named

sudo vi

Set your desired configurations. See Connector Configuration Properties for available settings.

Example configuration file:
## aerospike node list

Save and exit the file.

By default, the Trino connector uses heuristics to rapidly infer schemas without the need for you to specify them. However, you can choose to specify the schema by creating a table definition. See Specifying Trino Schemas for more information.

Go to /usr/bin then run the Starburst launcher.

cd /usr/bin
python3 /opt/starburst/bin/ run

Starburst launcher

Watch the Server Started messages and troubleshoot any errors that may arise.

Although we have tested connecting to Starburst Enterprise with DBeaver, we encourage you to try out other Starburst clients based on your needs. See the supported SQL statements and Examples for how to develop SQL queries to generate insights from Aerospike data.