Yandex Cloud
Documentation
PresentationContact UsTry it for free
© 2026 Direct Cursus Technology L.L.C.
Command line interface
  • Getting started
    • All guides
    • Installation
    • Updates
    • Deletion
    • Working with command versions
    • Overview
    • help
    • init
      • Overview
        • Overview
        • add-access-binding
        • add-labels
        • backup
        • create
        • delete
        • expand
        • get
        • list
        • list-access-bindings
        • list-backups
        • list-logs
        • list-operations
        • move
        • remove-access-binding
        • remove-labels
        • reschedule-maintenance
        • restore
        • set-access-bindings
        • start
        • stop
        • update
        • update-config
      • connect
    • version
  • Releases
  • Troubleshooting
  1. Reference
  2. managed-greenplum
  3. cluster
  4. create

yc managed-greenplum cluster create

Written by
Yandex Cloud
Updated at December 3, 2026
View as Markdown

Create a Greenplum cluster

Command UsageCommand Usage

Syntax:

yc managed-greenplum cluster create <CLUSTER-NAME> [Flags...] [Global Flags...]

FlagsFlags

Flag

Description

--name

string

Cluster name.

--description

string

Cluster description.

--environment

string

Cluster environment. Values: production, prestable.

--network-id

string

Network id.

--network-name

string

Network name.

--master-host-count

int

Master host count. Values: 1, 2. Default is 2.

--segment-host-count

int

Segment host count. Default is 2.

--segment-in-host

int

Numbers of segments in host.

--user-name

string

Cluster owner user name.

--user-password

string

Owner user password. Must be 8-128 characters long.

--master-config

KEY=VALUE[,KEY=VALUE...]

Descriptions of master config for Greenplum cluster.

--segment-config

KEY=VALUE[,KEY=VALUE...]

Descriptions of segment config for Greenplum cluster.

--labels

key=value[,key=value...]

A list of label KEY=VALUE pairs to add.

--host-group-ids

[]string

A list of host groups for Greenplum cluster.

--master-host-group-ids

[]string

A list of host groups for Greenplum master subcluster.

--segment-host-group-ids

[]string

A list of host groups for Greenplum segment subcluster.

--security-group-ids

[]string

A list of security groups for the Greenplum cluster.

--deletion-protection

Deletion Protection inhibits deletion of the cluster.

--cloud-storage

KEY=VALUE[,KEY=VALUE...]

Descriptions of cloud storage for Greenplum cluster.

--service-account

string

ID of the service account used for access Yandex Cloud resources.

--disk-encryption-key-id

string

ID of the KMS key for cluster disk encryption.

--datalens-access

Allow access for DataLens.

--websql-access

Allow access for Web SQL.

--datatransfer-access

Allow access for DataTransfer.

--yandexquery-access

Allow access for Yandex Query.

--trino-access

Allow access for Trino (including TLS for gpfdist).

--version

string

Version of Greenplum or Cloudberry used in the cluster.

--zone-id

string

ID of the availability zone where the host resides.

--subnet-id

string

ID of the subnet that the host should be created in.

--backup-window-start

timeofday

Start time for the daily backup in UTC timezone. Format: HH:MM:SS

--backup-retain-period-days

int

Retention time in days of automated backups

--assign-public-ip

Whether the host should get a public IP address.

--maintenance-window-slot

PROPERTY=VALUE[,PROPERTY=VALUE...]

Weekly maintenance slot. Can be repeated; replaces the complete schedule. Cannot be combined with --maintenance-anytime or --maintenance-window. Example: day=MONDAY,start-time=01:30:00,duration=1h,allow-temporary-unavailability=true

Possible property names:

  • day: Day of week: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY. Values: 'monday', 'tuesday', 'wednesday', 'thursday', 'friday', 'saturday', 'sunday'

  • start-time: Start time in UTC, in HH:MM:SS format.

  • duration: Positive slot duration, for example 1h or 90m.

  • allow-temporary-unavailability: Allow temporary unavailability during this slot.

--maintenance-anytime

Allow maintenance at any time. Replaces the complete schedule. Cannot be combined with --maintenance-window-slot or --maintenance-window.

--connection-pooling-mode

string

Connection pooler pooling mode

--connection-pooling-size

int

Connection pooler size

--connection-pooling-client-idle-timeout

int

Connection pooler client idle timeout

--connection-pooling-idle-in-transaction-timeout

int

Connection pooler idle in transaction timeout

--connection-pooling-discard

Clean up server connections when they are returned to the connection pool.

--analyze-and-vacuum

KEY=VALUE[,KEY=VALUE...]

Configuration for ANALYZE and VACUUM background operations.

--query-killer-idle

KEY=VALUE[,KEY=VALUE...]

Configuration of idle query killer.

--query-killer-idle-in-transaction

KEY=VALUE[,KEY=VALUE...]

Configuration of idle in transaction query killer.

--query-killer-long-running

KEY=VALUE[,KEY=VALUE...]

Configuration of long running query killer.

--log-enabled

Whether logs are delivered to Monium Logs.

--log-folder-id

string

Folder ID for logs.

--log-command-center-enabled

Deliver Command Center logs.

--log-greenplum-enabled

Deliver Greenplum logs.

--log-pooler-enabled

Deliver Pooler logs.

--async

Display information about the operation in progress, without waiting for the operation to complete.

Global FlagsGlobal Flags

Flag

Description

--profile

string

Set the custom profile.

--region

string

Set the region.

--cloud-id

string

Set the ID of the cloud to use.

--folder-id

string

Set the ID of the folder to use.

--folder-name

string

Set the name of the folder to use (will be resolved to id).

--debug

Debug logging.

--debug-grpc

Debug gRPC logging. Very verbose, used for debugging connection problems.

--no-user-output

Disable printing user intended output to stderr.

--pager

string

Set the custom pager.

--no-pager

Do not pipe help output through a pager.

--format

string

Set the output format: text (default), yaml, json, json-rest.

--retry

int

Enable gRPC retries. By default, retries are enabled with maximum 5 attempts.
Pass 0 to disable retries. Pass any negative value for infinite retries.
Even infinite retries are capped with 2 minutes timeout.

--timeout

string

Set the timeout.

--token

string

Set the OAuth token to use.

--jq

string

Query to select values from the response using jq syntax

--endpoint

string

Set the Cloud API endpoint (host:port).

--impersonate-service-account-id

string

Set the ID of the service account to impersonate.

--no-browser

Disable opening browser for authentication.

--query

string

Query to select values from the response using jq syntax

--print-metadata

Print operation metadata along with result.

--syntax

string

Choose syntax option.

--cli-auto-prompt

string[="on"]

Enable interactive auto-prompt mode. Values: on, partial, off. Bare --cli-auto-prompt is equivalent to --cli-auto-prompt=on.

--no-cli-auto-prompt

Disable interactive auto-prompt mode (overrides --cli-auto-prompt, env and profile).

-h, --help

Display help for the command.

  • Creating a cluster
  • Enabling access from Trino
  • Transferring data to the default log group

Was the article helpful?

Previous
backup
Next
delete
© 2026 Direct Cursus Technology L.L.C.