Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
  • Blog
  • Pricing
  • Documentation
Yandex project
© 2025 Yandex.Cloud LLC
Yandex Compute Cloud
    • All guides
      • Creating a disk placement group
      • Adding a disk to a placement group
      • Getting information about a disk placement group
      • Configuring disk placement group access permissions
      • Removing a disk from a placement group
    • Viewing service resource operations
  • Yandex Container Solution
  • Access management
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Release notes
  1. Step-by-step guides
  2. Disk placement groups
  3. Creating a disk placement group

Creating a disk placement group

Written by
Yandex Cloud
Improved by
Danila N.
Updated at May 13, 2025

To create a placement group for non-replicated disks:

Management console
CLI
API
  1. In the management console, select the folder where you want to create a disk placement group.

  2. Select Compute Cloud.

  3. In the left-hand panel, select Placement groups.

  4. Go to the Non-replicated disk placement groups tab.

  5. In the top-right corner, click Create and select Non-replicated disk placement group.

  6. Enter a name for the placement group. The naming requirements are as follows:

    • It must be from 2 to 63 characters long.
    • It may contain lowercase Latin letters, numbers, and hyphens.
    • It must start with a letter and cannot end with a hyphen.
  7. Provide a description for the disk placement group, if required.

  8. Specify the availability zone.

  9. Select a placement strategy: spread or partition.

    If you select the partition placement strategy, specify the number of partitions for non-replicated disks.

  10. Click Create.

If you do not have the Yandex Cloud (CLI) command line interface yet, install and initialize it.

The folder specified when creating the CLI profile is used by default. To change the default folder, use the yc config set folder-id <folder_ID> command. You can specify a different folder using the --folder-name or --folder-id parameter.

  1. See the description of the CLI command for creating a disk placement group:

    yc compute disk-placement-group create --help
    
  2. Create a disk placement group in the default folder with one of the following placement strategies:

    • Spread placement:

      yc compute disk-placement-group create \
        --name <disk_placement_group_name> \
        --zone <availability_zone> \
        --strategy SPREAD
      

      Where:

      • --name: Disk placement group name.
      • --zone: Availability zone.
      • --strategy: Placement strategy.
    • Partition placement:

      yc compute disk-placement-group create \
        --name <disk_placement_group_name> \
        --zone <availability_zone> \
        --strategy PARTITION \
        --partition-count <number_of_partitions>
      

      Where:

      • --name: Disk placement group name.
      • --zone: Availability zone.
      • --strategy: Placement strategy.
      • --partition-count: Number of partitions, two to five.
  3. Get a list of disk placement groups in the default folder:

    yc compute disk-placement-group list
    

    Result:

    +----------------------+---------------------+-------------------+--------+---------------+
    |          ID          |        NAME         |       ZONE        | STATUS |   STRATEGY    |
    +----------------------+---------------------+-------------------+--------+---------------+
    | epd3oalmkmbp******** | drbasic-partition-1 | ru-central1-b | READY  | PARTITION [3] |
    | epdn7r7co1v4******** | drbasic-spread-2    | ru-central1-b | READY  | SPREAD        |
    +----------------------+---------------------+-------------------+--------+---------------+
    
  4. Get information about the created disk placement group by specifying its name:

    yc compute disk-placement-group get \
      --name <placement_group_name>
    

    Result:

    id: epd4sug6kesk********
    folder_id: w3qrbj9swoty********
    created_at: "2021-03-23T12:49:59Z"
    name: first-group
    zone_id: ru-central1-b
    status: READY
    spread_placement_strategy: {}
    

Use the create REST API method for the DiskPlacementGroup resource or the DiskPlacementGroupService/Create gRPC API call.

Was the article helpful?

Previous
Deleting a snapshot schedule
Next
Adding a disk to a placement group
Yandex project
© 2025 Yandex.Cloud LLC