Creating a connection
Note
This feature is in the Preview stage.
You can create connections of the following types:
Connecting to a cluster with a managed database
Managed Service for PostgreSQL
- In the management console
, select the folder you want to create a connection in. - Select Yandex MetaData Hub.
- In the left-hand panel, select
Connection manager. - Click Create connection.
- Specify the connection name.
- (Optional) Add a description and label for the connection.
- Select the Connection type.
- Under Connection to PostgreSQL, select Managed Service for PostgreSQL cluster as the connection type and specify the cluster you need.
- Under Authentication:
- Specify the Username you will use to connect to the cluster.
- Select the password setting method:
- Enter manually: You set the password manually.
- Generate: Password will be generated automatically. You can configure Lockbox password generation rules or leave the default ones.
- (Optional) List the databases whose connections you want to manage. You can connect only to the databases that exist in the cluster. You must have access to them configured.
- Click Create.
Managed Service for ClickHouse®
- In the management console
, select the folder you want to create a connection in. - Select Yandex MetaData Hub.
- In the left-hand panel, select
Connection manager. - Click Create connection.
- Specify the connection name.
- (Optional) Add a description and label for the connection.
- Select the Connection type.
- Under Connection to ClickHouse®, select Managed Service for ClickHouse® cluster as the connection type and specify the cluster you need.
- Under Authentication:
- Specify the Username you will use to connect to the cluster.
- Select the password setting method:
- Enter manually: You set the password manually.
- Generate: Password will be generated automatically. You can configure Lockbox password generation rules or leave the default ones.
- (Optional) List the databases whose connections you want to manage. You must have access to them configured.
- Click Create.
Managed Service for MySQL®
- In the management console
, select the folder you want to create a connection in. - Select Yandex MetaData Hub.
- In the left-hand panel, select
Connection manager. - Click Create connection.
- Specify the connection name.
- (Optional) Add a description and label for the connection.
- Select the Connection type.
- Under Connection to MySQL®, select Managed Service for MySQL® cluster as the connection type and specify the cluster you need.
- Under Authentication:
- Specify the Username you will use to connect to the cluster.
- Select the password setting method:
- Enter manually: You set the password manually.
- Generate: Password will be generated automatically. You can configure Lockbox password generation rules or leave the default ones.
- (Optional) List the databases whose connections you want to manage. You can connect only to the databases that exist in the cluster. You must have access to them configured.
- Click Create.
Managed Service for Redis
- In the management console
, select the folder you want to create a connection in. - Select Yandex MetaData Hub.
- In the left-hand panel, select
Connection manager. - Click Create connection.
- Specify the connection name.
- (Optional) Add a description and label for the connection.
- Select the Connection type.
- Under Connection to Redis, select Managed Service for Redis cluster as the connection type and specify the cluster you need.
- Under Authentication, select how to set the password:
- Enter manually: Enter the password manually.
- Generate: Specify the options to generate a Lockbox password automatically.
- (Optional) List the databases whose connections you want to manage. You must have access to them configured.
- Click Create.
Connecting to a user database installation
PostgreSQL
- In the management console
, select the folder you want to create a connection in. - Select Yandex MetaData Hub.
- In the left-hand panel, select
Connection manager. - Click Create connection.
- Specify the connection name.
- (Optional) Add a description and label for the connection.
- Select the Connection type.
- Under Connection to PostgreSQL, specify the connection parameters:
-
In the Connection type field, select User installation.
-
In the Hosts field, specify the database host address and port number for the connection.
-
(Optional) Enable TLS.
If your company has a certification authority (CA), the certificate issued by the CA will be used by default. If the company has no CA, upload the server's TLS certificate.
-
- Under Authentication:
- Specify the Username you will use to connect to the database.
- Select the password setting method:
- Enter manually: You set the password manually.
- Generate: Password will be generated automatically. You can configure Lockbox password generation rules or leave the default ones.
- (Optional) List the databases whose connections you want to manage. You must have access to them configured.
- Click Create.
ClickHouse®
- In the management console
, select the folder you want to create a connection in. - Select Yandex MetaData Hub.
- In the left-hand panel, select
Connection manager. - Click Create connection.
- Specify the connection name.
- (Optional) Add a description and label for the connection.
- Select the Connection type.
- Under Connection to ClickHouse®, specify the connection parameters:
-
In the Connection type field, select User installation.
-
In the Hosts field, specify the FQDNs or IP addresses of the hosts in the shard, HTTP or TCP port for connection, and the shard name.
-
(Optional) Enable TLS.
If your company has a certification authority (CA), the certificate issued by the CA will be used by default. If the company has no CA, upload the server's TLS certificate.
-
- Under Authentication:
- Specify the Username you will use to connect to the database.
- Select the password setting method:
- Enter manually: You set the password manually.
- Generate: Password will be generated automatically. You can configure Lockbox password generation rules or leave the default ones.
- (Optional) List the databases whose connections you want to manage. You must have access to them configured.
- Click Create.
MySQL®
- In the management console
, select the folder you want to create a connection in. - Select Yandex MetaData Hub.
- In the left-hand panel, select
Connection manager. - Click Create connection.
- Specify the connection name.
- (Optional) Add a description and label for the connection.
- Select the Connection type:
- Under Connection to MySQL®, specify the connection parameters:
-
In the Connection type field, select User installation.
-
In the Hosts field, specify the database host address and port number for the connection.
-
(Optional) Enable TLS.
If your company has a certification authority (CA), the certificate issued by the CA will be used by default. If the company has no CA, upload the server's TLS certificate.
-
- Under Authentication:
- Specify the Username you will use to connect to the database.
- Select the password setting method:
- Enter manually: You set the password manually.
- Generate: Password will be generated automatically. You can configure Lockbox password generation rules or leave the default ones.
- (Optional) List the databases whose connections you want to manage. You must have access to them configured.
- Click Create.
Redis
- In the management console
, select the folder you want to create a connection in. - Select Yandex MetaData Hub.
- In the left-hand panel, select
Connection manager. - Click Create connection.
- Specify the connection name.
- (Optional) Add a description and label for the connection.
- Select the Connection type.
- Under Connection to Redis, specify the connection parameters:
- Under Authentication, specify a username and select how you want to set the password:
- Enter manually: Enter the password manually.
- Generate: Specify the options to generate a Lockbox password automatically.
- (Optional) List the databases whose connections you want to manage. You must have access to them configured.
- Click Create.
ClickHouse® is a registered trademark of ClickHouse, Inc