DB network and clusters
When creating a cluster, you can:
- Set the network for the cluster itself.
- Set the subnets for each host in the cluster.
- Request a public IP address to access the cluster from outside the Cloud.
You can create a cluster without specifying any subnets for the hosts, if the availability zone selected for each host contains exactly one subnet of the cluster network.
Hostname and FQDN
The name of each host in the cluster Managed Service for PostgreSQL is generated when it is being created. This name will be the host's fully qualified domain name (FQDN).
You can use the FQDN to access the host within a single cloud network. Read more in the documentation on Yandex VPC.
The hostname and, consequently, the FQDN cannot be changed.
Public access to a host
Any cluster host can be accessible from outside Yandex.Cloud if you requested public access when creating the host. To connect to such a host, use its FQDN.
It is not possible to request a public address after creating a host, but you can replace one of the existing hosts with a new host that has a public address.
When deleting a host with a public FQDN, the assigned IP address is revoked.