Yandex Cloud
Search
Discuss with expertTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
    • Cloud Interconnect
    • Cloud Backup
    • Cloud Registry
    • Yandex AI Studio
    • Compute Cloud
    • Object Storage
    • Managed Service for Kubernetes®
    • Yandex BareMetal
    • Smart Web Security
    • Security Deck
    • Managed Service for PostgreSQL
    • Managed Service for ClickHouse®
    • Monium
    • Cloud CDN
    • Network Load Balancer
    • Virtual Private Cloud
    • Cloud DNS
    • Application Load Balancer
    • Yandex Cloud Video
    • Stackland
    • Yandex Cloud Router
    • Yandex Managed Service for Trino
    • Managed Service for MySQL®
    • Managed Service for Valkey™
    • Managed Service for Apache Spark™
    • Yandex StoreDoc
    • Managed Service for OpenSearch
    • Managed Service for Apache Kafka®
    • Data Transfer
    • Yandex MPP Analytics Engine for PostgreSQL
    • Yandex Managed Service for Apache Airflow®
    • Data Processing
    • Yandex MetaData Hub
    • Managed Service for YDB
    • Managed Service for Sharded PostgreSQL
    • Managed Service for YTsaurus
    • Yandex WebSQL
    • DataLens
    • Yandex Search API
    • SpeechSense
    • SpeechKit
    • DataSphere
    • Vision OCR
    • Translate
    • Yandex Identity Hub
    • Key Management Service
    • Certificate Manager
    • Yandex Lockbox
    • Audit Trails
    • SmartCaptcha
    • Cloud Desktop
    • Yandex SIEM
    • SourceCraft Code Assistant
    • Container Registry
    • Managed Service for GitLab
    • Managed Service for Prometheus®
    • Cloud Functions
    • API Gateway
    • Yandex Cloud Postbox
    • Message Queue
    • Serverless Integrations
    • IoT Core
    • Data Streams
    • Serverless Containers
    • Cloud Notification Service
    • Yandex Query
    • Identity and Access Management
    • Yandex Cloud Console
    • Resource Manager
    • Yandex Cloud Billing
    • Yandex Cloud Quota Manager
    • Cloud Apps
  • System Status
  • Marketplace
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2026 Direct Cursus Technology L.L.C.
Yandex Managed Service for PostgreSQL
  • Getting started
    • All guides
      • Getting information on existing clusters
      • Creating a cluster
      • Updating cluster settings
      • Managing cluster aliases
      • Stopping and restarting a cluster
      • Managing PostgreSQL hosts
      • Managing host aliases
      • Migrating hosts to a different availability zone
      • Managing replication slots
      • Managing backups
      • Managing backup policies
      • Managing disk space
      • Managing cluster access
      • Maintenance
      • Updating the PostgreSQL version
      • Deleting a cluster
  • Access management
  • Inspections and recommendations
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Public materials
  • Release notes

In this article:

  • Getting the cluster alias
  • Creating a cluster alias
  • Reassigning an alias between clusters
  • Deleting an alias
  1. Step-by-step guides
  2. Clusters
  3. Managing cluster aliases

Managing PostgreSQL cluster aliases

Written by
Yandex Cloud
Updated at September 8, 2026
View in Markdown
  • Getting the cluster alias
  • Creating a cluster alias
  • Reassigning an alias between clusters
  • Deleting an alias

An alias is a custom network name you can assign to each PostgreSQL cluster. An alias is mapped to a dedicated DNS record which always points to the cluster’s master host. This allows you to access the cluster using a human-readable name without the internal master host FQDN. An alias must be unique within a folder. You can assign only one alias to each cluster.

To connect your applications to a different cluster within the same folder, simply update the cluster-alias association.

Alias format:

c-<alias_name>-pg-<folder_ID>.rw.mdb.yandexcloud.net

Note

When creating an alias, you only need to specify its name.

Getting the cluster aliasGetting the cluster alias

To view the alias, you need the managed-postgresql.viewer role or higher for the folder.

Management console
  1. Navigate to Managed Service for PostgreSQL.

  2. Click the cluster name.

    The cluster alias is displayed in the CNAME alias field.

Creating a cluster aliasCreating a cluster alias

To create an alias, you need the managed-postgresql.editor role or higher for the folder.

Warning

Due to DNS propagation, it may take some time for the alias to become available after the operation completes.

Management console
  1. Navigate to Managed Service for PostgreSQL.
  2. Click the cluster name, then click in the CNAME alias section.
  3. In the window that opens, specify a name for the cluster alias. Use only lowercase Latin letters, numbers, and hyphens. The alias may be up to 63 characters long.
  4. Click Create alias.

Reassigning an alias between clustersReassigning an alias between clusters

You can only reassign an alias between clusters within the same folder. To reassign an alias, you need the managed-postgresql.editor role or higher for the folder.

Warning

Due to DNS propagation, it may take some time for the alias to become available after the operation completes.

Management console
  1. Navigate to Managed Service for PostgreSQL.

  2. You can reassign an alias using one of the two methods:

    • From the settings of the cluster the alias is assigned to.

      1. Click the name of the cluster whose alias you want to assign to another cluster within your folder, and click in the CNAME alias section.
      2. In the window that opens, select the new cluster for the alias.
    • From the target cluster settings.

      1. Click the name of the target cluster within your folder, and click in the CNAME alias section.
      2. In the window that opens, select the cluster the alias is currently assigned to.
  3. Confirm reassigning the alias and click Move alias.

Deleting an aliasDeleting an alias

To delete an alias, you need the managed-postgresql.editor role or higher for the folder.

Management console
  1. Navigate to Managed Service for PostgreSQL.
  2. Click the cluster name, then click in the CNAME alias section.
  3. In the window that opens, confirm the alias deletion.

Was the article helpful?

Previous
Updating cluster settings
Next
Stopping and restarting a cluster
© 2026 Direct Cursus Technology L.L.C.