Connection
With Yandex Connection Manager, you can manage database connection parameters. Connections are created automatically when you create a new managed database cluster in Yandex Cloud for PostgreSQL, ClickHouse®, and MySQL® clusters. For other types of clusters, you can create a connection manually.
Clusters created before the Connection Manager integration was implemented, will operate as they used to. For such clusters, you can enable integration manually in additional cluster settings.
You cannot edit or delete any connection or secret created automatically together with a new cluster: they are updated automatically when editing user settings in a managed database cluster.
A connection contains all the information about database connection parameters. The sensitive part of this information, such as the user password for database access, is stored in Yandex Lockbox as a secret.
You can also create new connections with secure storage of custom database installation passwords and use them in Yandex Cloud services available to you.
Tip
When creating a connection to a custom database installation intended for Yandex DataLens, specify the host's external address.
You can configure access to connections using Yandex Connection Manager roles. You can assign roles for a cloud, folder, or separate connection. They will also apply to nested resources.
In terms of management, there are two types of connections:
- Managed: Created automatically by a managed database cluster.
- Manual: Created by a user or a third-party service.
Dependencies
Connections can have dependencies, which indicate services that use or manage connections. Dependencies are listed in a separate section for each connection. There are two types of dependencies: use dependencies and connection management dependencies (for managed connections).
You cannot delete a connection you created manually as long as it has at least one dependency.
You cannot edit or delete managed connections manually, as they contain current data for connection to the cluster that created them.
Examples of dependencies:
|
Dependency |
Type |
|
Managed database clusters that got connections automatically when created |
Management dependency |
|
Backups of managed database clusters that are using the connection. After you delete the cluster that created the connection, its backups are stored for another week; therefore, the connection does not get deleted right away together with the cluster. |
Use dependency |