Create Trino cluster
-
In the control panel, from the top menu, click Products and select Trino.
-
Click Create cluster.
-
Enter the cluster name.
-
Select a location. Once the cluster is created, the location cannot be changed.
-
Select a Trino version. Once the cluster is created, the version cannot be changed.
-
Fill in the blocks:
- Configuration;
- Network;
- Administrator password;
- optional: Catalogs;
- optional: Additional parameters.
-
Check the cluster price.
-
Click Create cluster.
Configuration
-
Select the coordinator configuration.
-
Select the worker configuration.
-
Optional: set the number of workers:
3.1. If the cluster should have a fixed number of workers, select Fixed and specify the number of workers.
3.2. If the cluster should have autoscaling configured, select Autoscaling and specify the minimum and maximum number of workers. The number of workers will change automatically only within the specified range depending on the cluster load.
After creating a cluster, you can change the coordinator and worker configuration and the number of workers. For details, see the Scale cluster instructions.
Network
A Trino cluster can only be connected to a private subnet. You can create a new subnet or add the cluster to an existing one. The subnet cannot be changed after the cluster is created.
New private subnet
Existing private subnet
-
In the Subnet field, select New private subnet.
-
In the Network field, select an existing network or create a new one.
-
Optional: change the subnet CIDR.
-
Optional: to connect to the Trino GUI or Trino CLI from the internet, select the External access to GUI checkbox. You can enable external access after creating the cluster.
Administrator password
-
Enter the administrator password or click Generate. The password must contain:
- at least eight characters;
- uppercase and lowercase Latin letters;
- digits;
- special characters —
@,$,!,%,*,?,&.
-
Copy and save the administrator password — it is required to connect to the cluster. You will not be able to view the password in the control panel, but you can change it.
Optional: Catalogs
When creating a cluster, you can add up to 10 catalogs. If you need more than 10 catalogs, add additional catalogs after creating the cluster.
-
Click Add.
-
Enter the catalog name. The name can contain:
- lowercase Latin letters only;
- digits;
- underscores;
- up to 63 characters.
-
Optional: enter a catalog description.
-
Select the connector type.
-
Set the connection parameters for the data source. Connection parameters differ depending on the selected connector.
If the catalog requires additional connector parameters that are not available in the control panel, create a ticket. In the ticket, specify the connector type and the required parameters.
PostgreSQL
MySQL
Iceberg
ClickHouse®
5.1. Enter the DNS address or IP address of the database server.
5.2. Enter the port for connecting to the database server.
5.3. Enter the database name.
5.4. Enter the database username.
5.5. Enter the database user password.
-
Click Add.
Optional: Additional settings
To access cluster logs, enable logging. Logging uses the Logs service.
-
Select the Collect technical cluster logs in the log service checkbox.
-
Select a log group or create a new group.
-
If you selected a new group, enter its name.
ClickHouse® is a registered trademark of ClickHouse, Inc. https://clickhouse.com.