Skip to main content

Create a New Presto Cluster

This page will walk you through the creation of a Presto Cluster in the Ahana Compute Plane in your AWS account.

It’s easy to get going. Let’s get started.

Step 1: Go to the Create Cluster Page#

  • Navigate to the Clusters tab
  • Click on the Create Cluster button

Cluster Tab

Step 2: Provision a Presto Cluster#


Click on the Help Text icon to get additional help.

Enter Cluster Details#

Enter Cluster Details

Enter a Cluster Name#

Enter a Cluster Name

This needs to be unique across your Ahana compute plane. We recommend a descriptive name to help you identify clusters. It will also be used as part of the cluster endpoints. Example:

The cluster name must begin and end with a letter or number. It can be a maximum of 63 characters long.

Select the Workload Profile#

Workload Profile

Select the Workload Profile based on the number of concurrent queries user expected to run on this cluster. There are two types of workload profiles.

Low Concurrency is useful for clusters that run a limited number of queries or a few large, complex queries. It also supports bigger and heavier ETL jobs.

High Concurrency is better for running multiple queries at the same time. For example, dashboard and reporting queries or A/B testing analytics, etc.

Concurrent queries are simply the number of queries executing at the same time in a given cluster. Hence, we have classified workloads based on the number of concurrent queries and curated a set of tuned session properties for each profile.
This setting can be changed once the cluster has been created, and a cluster restart is not required. However, the change will only apply to new queries.

Enter the Cluster Settings#

Enter the Cluster Settings

Select the Presto Coordinator AWS Instance Types#

Select the AWS EC2 instance type to be provisioned for the Presto cluster coordinator. Since Presto has only 1 coordinator, it is important to have an instance that can support the workload. Recommended instance type is r5.4xlarge

Select the Presto Worker AWS Instance Type#

Select the AWS EC2 instance type to be provisioned for the Presto workers. Recommended instance type is r5.2xlarge


It is recommended to use a minimum AWS Instance type of r5.4xlarge for the Presto coordinator and r5.2xlarge for the Presto workers. You can find more information about the R5 instance class here.

Intel AWS

The M5, R5, and C5 instance types will provide you with best price performance from the underlying Intel Cascade Lake Process Technology.

To learn more about Intel-optimized instances, visit the AWS and Intel Partner Page.

Select the Scaling Strategy#

There are currently two types of scaling strategy you can use to manage your cluster:

  • Static
  • Scale Out only (CPU)

A Static scaling strategy means that the number of worker nodes is constant while the cluster is being used.

A Scale Out only (CPU) scaling strategy means that the number of worker nodes is increasing based on the worker nodes average CPU utilization.

Additionaly, both scaling strategies have the ability to scale in to the minimum number of worker nodes when the cluster is idle for a user-specified amount of time.

More details on the Presto Cluster Autoscaling page

Enter the number of Presto Workers#

Enter the number of worker nodes you want in the Presto cluster. Pick a number between 1 and 100. In addition to the workers, a coordinator is provisioned by default. The coordinator node is not included in this worker node count.

Set the Data Lake Settings#

Set the Data Lake Settings

Ahana-managed Hive Metastore#

You can optionally select to have Ahana create and managed a Hive Metastore for you for every cluster. Select the check box if you want the Ahana Hive Metastore to be provisioned.

Select the AWS EC2 instance type you want for the Hive Metastore. Recommended instance type is r5.4xlarge


If you select to create a Ahana-managed Hive Metastore, Ahana will provision a Hive Metastore named ahana_hive that comes pre-configured and attached to the cluster. It also is pre-integrated with an S3 bucket. You can find information about the S3 bucket created on the cluster page. Use the ahana_hive name in endpoints to connect to the HMS.

Presto Query Log#

The Presto Query Log is always stored in an S3 bucket by default. It can also optionally be attached to the Presto Cluster to query it with Presto. By selecting this option, Ahana creates an external table and view in the attached Hive Metastore for easy access to the log.

Set Presto Cluster Credentials#

Ahana requires that you add a username and password to your Presto clusters. Moreover, the authentication is done over HTTPS to secure your connection via clients, such as Superset, the Presto CLI, and the JDBC drivers.

Provide credentials for the Presto cluster

Enter a Username#

The username value can only consist of alphanumeric characters, dash(-), underscore(_), period(.), and tilde(~).

Enter a Password#

The password value must be at least 8 characters with at least one uppercase, one lowercase and one numeric character. It can only consist of alphanumeric characters, dash(-), underscore(_), period(.), and tilde(~).

Cluster Provisioning#

After you click the Create Cluster button, the cluster's page will initially show it in Pending state in the Pending Cluster table.

Cluster in pending state

Once the cluster provisioning is complete, it will move into active state in the Active Clusters table.

Cluster in active state

Presto Clusters are provisioned on an Amazon EKS cluster that was initially created in your Ahana Compute Plane. Each node, coordinator and workers as well as the Hive Metastore are provisioned in individual instances. This means that there is only one container per instance in the Kubernetes cluster for complete isolation and resource utilization.