Managing connections
Written by
Updated at July 7, 2026
Yandex Query connections are necessary to access data sources and sinks.
Creating a connection
To create a connection:
-
In the management console
, select the folder where you want to create a connection. -
Navigate to Yandex Query.
-
In the left-hand panel, select Connections.
-
Click
Create new. -
Specify the connection name and description. The naming requirements are as follows:
- The name must consist of lowercase Latin letters.
- It must be between 3 and 63 characters in length.
- It may contain digits and hyphens.
- It must start with a letter and cannot end with a hyphen.
-
Select the connection type and specify the Connection type parameters:
Object StorageData StreamsManaged Service for ClickHouse®Yandex MPP Analytics for PostgreSQLManaged Service for MySQL®Managed Service for PostgreSQLManaged Service for YDBMonitoring- Bucket auth:
PublicorPrivate. - For a public bucket, specify a name in the Bucket field.
For a private bucket:- Select Cloud and Folder where the data source is located.
- Select an existing bucket or create a new one.
- Select an existing or create a new service account. You will use it to access the data.
- Select the Cloud and Folder where the data source is located.
- Select or create a new serverless Managed Service for YDB database with a Yandex Data Streams stream.
- Select an existing or create a new service account. You will use it to access the data.
- Cluster: Select an existing Managed Service for ClickHouse® cluster or create a new one.
- Service account: Select an existing Managed Service for ClickHouse® service account or create a new one. Assign it the
managed-clickhouse.viewerrole allowing it to connect toManaged Service for ClickHouse®clusters. - Database: Select the database you will use when working with the ClickHouse® cluster.
- Login: Username you will use to connect to ClickHouse® databases.
- Password: Password you will use to connect to ClickHouse® databases.
- Cluster: Select an existing Yandex MPP Analytics for PostgreSQL cluster or create a new one.
- Service account: Select an existing Yandex MPP Analytics for PostgreSQL service account or create a new one. Assign it the
managed-greenplum.viewerrole allowing it to connect toYandex MPP Analytics for PostgreSQLclusters. - Database: Select the database you will use when working with the Greenplum® cluster.
- Schema: Specify the namespace
you will use when working with the Greenplum® database. - Login: Username you will use to connect to Greenplum® databases.
- Password: Password you will use to connect to Greenplum® databases.
- Cluster: Select an existing Managed Service for MySQL® cluster or create a new one.
- Service account: Select an existing Managed Service for MySQL® service account or create a new one. Assign it the
managed-mysql.viewerrole allowing it to connect toManaged Service for MySQL®clusters. - Database: Select the database you will use when working with the MySQL® cluster.
- Login: Username you will use to connect to MySQL® databases.
- Password: Password you will use to connect to MySQL® databases.
- Cluster: Select an existing Managed Service for PostgreSQL cluster or create a new one.
- Service account: Select an existing Managed Service for PostgreSQL service account or create a new one. Assign it the
managed-postgresql.viewerrole allowing it to connect toManaged Service for PostgreSQLclusters. - Database: Select the database you will use when working with the PostgreSQL cluster.
- Login: Username you will use to connect to PostgreSQL databases.
- Password: Password you will use to connect to PostgreSQL databases.
- Cluster: Select an existing Managed Service for YDB database or create a new one.
- Service account: Select the Managed Service for YDB service account you will use for
Managed Service for YDBcluster connections and database authentication.
- Select the Cloud and Folder where the data source is located.
- Select or create a new service account that will be used for writing metrics.
- Bucket auth:
-
Click Create.
To use a connection with this service account, you need the iam.serviceAccounts.user role.
Now, you can create a binding.
Getting connection details
To view connection details:
- In the management console
, select the folder where you have created the connection. - Navigate to Yandex Query.
- In the left-hand panel, select Connections.
- Find the connection you need in the list and click
in its row. The source and service account details will appear under General. The connection ID, creation timestamp, and creator will appear under Meta.
Modifying connection settings
To edit connection settings:
- In the management console
, select the folder where you have created the connection. - Navigate to Yandex Query.
- In the left-hand panel, select Connections.
- Find the connection you need in the list, click
in its row, and select Edit. - Update the connection settings. Note that the connection type is read-only.
- Click Modify.
Deleting a connection
To delete a connection:
- In the management console
, select the folder where you have created the connection. - Navigate to Yandex Query.
- In the left-hand panel, select Connections.
- Find the connection you need in the list, click
in its row, and select Delete. - Confirm connection deletion.
ClickHouse® is a registered trademark of ClickHouse, Inc