Yandex Cloud
Search
Contact UsGet started
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • AI Studio
    • Business tools
  • 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
  • Pricing
  • Customer Stories
  • Documentation
  • Blog
© 2025 Direct Cursus Technology L.L.C.
Yandex Compute Cloud
    • All guides
      • Creating an empty disk
      • Creating an empty disk with a large block
      • Creating a non-replicated disk
      • Creating a high-performance SSD
      • Recovering a disk from a snapshot
      • Recovering a disk from an image
    • Viewing service resource operations
  • Yandex Container Solution
  • Access management
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Release notes

In this article:

  • Creating a stand-alone non-replicated disk
  • Creating a non-replicated disk in a placement group
  1. Step-by-step guides
  2. Creating a disk
  3. Creating a non-replicated disk

Creating a non-replicated disk

Written by
Yandex Cloud
Improved by
Danila N.
Updated at July 14, 2025
  • Creating a stand-alone non-replicated disk
  • Creating a non-replicated disk in a placement group

You can create a stand-alone non-replicated disk or add such a disk to a disk placement group.

The disk size must be a multiple of 93 GB.

Creating a stand-alone non-replicated diskCreating a stand-alone non-replicated disk

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

  2. Select Compute Cloud.

  3. In the left-hand panel, select Disks.

  4. Click Create disk.

  5. Enter a name for the disk. The naming requirements are as follows:

    • It must be from 2 to 63 characters long.
    • It can only contain lowercase Latin letters, numbers, and hyphens.
    • It must start with a letter and cannot end with a hyphen.
  6. Add a description for the disk, if required.

  7. Select the availability zone the disk will reside in.

  8. Select Non-replicated SSD as the disk type.

  9. Select the required block size.

  10. Specify the required disk size.

  11. Optionally, under Encryption:

    • Select Encrypted disk.
    • In the KMS key field, select the key you created earlier. To create a new key, click Create.

    To create an encrypted disk, you need the kms.keys.user role or higher.

    Warning

    You can specify encryption settings only when creating a disk. You cannot disable or change disk encryption. You also cannot enable encryption for an existing disk.

    If you deactivate the key used to encrypt a disk, image, or snapshot, access to the data will be suspended until you reactivate the key.

    Alert

    If you destroy the key or its version used to encrypt a disk, image, or snapshot, you will irrevocably lose access to the data. For details, see Destroying key versions.

  12. Select or set up a schedule for automatically creating disk snapshots, if required. For more information about setting up schedules, see this guide.

    When creating a disk, you can only select a single snapshot schedule. After the disk is created, you can add a few more schedules, if required, by following this guide.

  13. Click Create disk.

By default, the CLI uses the folder specified when creating the profile. To change the default folder, use the yc config set folder-id <folder_ID> command. You can also set a different folder for any specific command using the --folder-name or --folder-id parameter.

  1. See the description of the CLI command for creating disks:

    yc compute disk create --help
    
  2. To create a non-replicated disk named nr-disk, run this command:

    yc compute disk create \
      --name nr-disk \
      --type network-ssd-nonreplicated \
      --size 93 \
      --kms-key-id <key_ID>
    

    Where:

    • --name: Disk name.

    • --type: Disk type.

    • --size: Disk size.

    • --kms-key-id: ID of the KMS symmetric key to create an encrypted disk. This is an optional parameter.

      To create an encrypted disk, you need the kms.keys.user role or higher.

      Warning

      You can specify encryption settings only when creating a disk. You cannot disable or change disk encryption. You also cannot enable encryption for an existing disk.

      If you deactivate the key used to encrypt a disk, image, or snapshot, access to the data will be suspended until you reactivate the key.

      Alert

      If you destroy the key or its version used to encrypt a disk, image, or snapshot, you will irrevocably lose access to the data. For details, see Destroying key versions.

    Result:

    done (1s)
    id: epdb2517b970********
    folder_id: b1g7gvsi89m3********
    ...
    block_size: "4096"
    status: READY
    disk_placement_policy: {}
    hardware_generation:
      legacy_features:
        pci_topology: PCI_TOPOLOGY_V1
    kms_key:
      key_id: abjbaqdga6hs********
      version_id: abj295dgqnlp********
    

With Terraform, you can quickly create a cloud infrastructure in Yandex Cloud and manage it using configuration files. These files store the infrastructure description written in HashiCorp Configuration Language (HCL). If you change the configuration files, Terraform automatically detects which part of your configuration is already deployed, and what should be added or removed.

Terraform is distributed under the Business Source License. The Yandex Cloud provider for Terraform is distributed under the MPL-2.0 license.

For more information about the provider resources, see the relevant documentation on the Terraform website or its mirror.

If you do not have Terraform yet, install it and configure the Yandex Cloud provider.

  1. In the configuration file, define the non-replicated disk parameters:

    resource "yandex_compute_disk" "nr" {
      name       = "<non-replicated_disk_name>"
      size       = <non-replicated_disk_size>
      block_size = <block_size>
      type       = "network-ssd-nonreplicated"
      zone       = "<availability_zone>"
      kms_key_id = "<KMS_key_ID>"
    }
    

    Where:

    • name: Non-replicated disk name. Follow these naming requirements:

      • It must be from 2 to 63 characters long.
      • It can only contain lowercase Latin letters, numbers, and hyphens.
      • It must start with a letter and cannot end with a hyphen.
    • size: Non-replicated disk size, which must be a multiple of 93 GB.

    • block_size: Block size in bytes (minimum storage unit on the disk). The maximum disk size depends on the specified block size. By default, the block size is 4 KB for all new disks; however, this is insufficient for disks larger than 8 TB. For more information, see Creating an empty disk with a large block.

    • type: Disk type. Specify network-ssd-nonreplicated to create a non-replicated disk.

    • zone: Availability zone

    • kms_key_id: ID of the KMS symmetric key to create an encrypted disk. This is an optional parameter.

      To create an encrypted disk, you need the kms.keys.user role or higher.

      Warning

      You can specify encryption settings only when creating a disk. You cannot disable or change disk encryption. You also cannot enable encryption for an existing disk.

      If you deactivate the key used to encrypt a disk, image, or snapshot, access to the data will be suspended until you reactivate the key.

      Alert

      If you destroy the key or its version used to encrypt a disk, image, or snapshot, you will irrevocably lose access to the data. For details, see Destroying key versions.

    For more information about yandex_compute_disk properties, see this Terraform article.

  2. Make sure the configuration files are correct.

    1. In the command line, navigate to the directory where you created the configuration file.

    2. Run a check using this command:

      terraform plan
      

    If the configuration description is correct, the terminal will display a list of the resources being created and their settings. If the configuration contains any errors, Terraform will point them out.

  3. Deploy the cloud resources.

    1. If the configuration does not contain any errors, run this command:

      terraform apply
      
    2. Confirm creating the resources: type yes in the terminal and press Enter.

      This will create all the resources you need in the specified folder. You can check the new resources and their settings using the management console or this CLI command:

      yc compute disk list
      

Use the create REST API method for the Disk resource or the DiskService/Create gRPC API call.

Creating a non-replicated disk in a placement groupCreating a non-replicated disk in a placement group

You can only create a disk in an existing disk placement group.

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

  2. Select Compute Cloud.

  3. In the left-hand panel, select Disks.

  4. Click Create disk.

  5. Enter a name for the disk. The naming requirements are as follows:

    • It must be from 2 to 63 characters long.
    • It can only contain lowercase Latin letters, numbers, and hyphens.
    • It must start with a letter and cannot end with a hyphen.
  6. Add a description for the disk, if required.

  7. Select the availability zone the disk will reside in.

    The availability zone for your disk must match the zone of the placement group where you want to create it.

  8. Select Non-replicated SSD as the disk type.

  9. Select a disk placement group.

    If you select a partition placement group, specify the number of the partition you want to add the disk to.

  10. Specify the required disk size.

  11. Select or set up a schedule for automatically creating disk snapshots, if required. For more information about setting up schedules, see this guide.

    If you want to set another schedule, you can add it after the disk is created.

  12. Click Create disk.

If you do not have the Yandex Cloud CLI installed yet, install and initialize it.

By default, the CLI uses the folder specified when creating the profile. To change the default folder, use the yc config set folder-id <folder_ID> command. You can also set a different folder for any specific command using the --folder-name or --folder-id parameter.

  1. See the description of the CLI command for creating disks:

    yc compute disk create --help
    
  2. In a placement group, create a non-replicated disk in the default folder using one of these strategies:

    • Spread placement:

      yc compute disk create \
        --name <disk_name> \
        --type network-ssd-nonreplicated \
        --size <disk_size> \
        --disk-placement-group-name <placement_group_name> \
        --kms-key-id <key_ID>
      

      Where:

      • --name: Disk name.

      • --type: Disk type.

      • --size: Disk size.

      • --disk-placement-group-name: Placement group name.

      • --kms-key-id: ID of the KMS symmetric key to create an encrypted disk. This is an optional parameter.

        To create an encrypted disk, you need the kms.keys.user role or higher.

        Warning

        You can specify encryption settings only when creating a disk. You cannot disable or change disk encryption. You also cannot enable encryption for an existing disk.

        If you deactivate the key used to encrypt a disk, image, or snapshot, access to the data will be suspended until you reactivate the key.

        Alert

        If you destroy the key or its version used to encrypt a disk, image, or snapshot, you will irrevocably lose access to the data. For details, see Destroying key versions.

      Result:

      done (1s)
      id: epdtncic35ru********
      folder_id: b1g7gvsi89m3********
      ...
      status: READY
      disk_placement_policy:
        placement_group_id: epdn946ilslh********
      hardware_generation:
        legacy_features:
          pci_topology: PCI_TOPOLOGY_V1
      kms_key:
        key_id: abjbaqdga6hs********
        version_id: abj295dgqnlp********
      
    • Partition placement:

      yc compute disk create \
        --name <disk_name> \
        --type network-ssd-nonreplicated \
        --size <disk_size> \
        --disk-placement-group-name <placement_group_name> \
        --disk-placement-group-partition <partition_number>
      

      Where:

      • --name: Disk name.

      • --type: Disk type.

      • --size: Disk size.

      • --disk-placement-group-name: Placement group name.

      • --disk-placement-group-partition: Partition number in the placement group.

      • --kms-key-id: ID of the KMS symmetric key to create an encrypted disk. This is an optional parameter.

        To create an encrypted disk, you need the kms.keys.user role or higher.

        Warning

        You can specify encryption settings only when creating a disk. You cannot disable or change disk encryption. You also cannot enable encryption for an existing disk.

        If you deactivate the key used to encrypt a disk, image, or snapshot, access to the data will be suspended until you reactivate the key.

        Alert

        If you destroy the key or its version used to encrypt a disk, image, or snapshot, you will irrevocably lose access to the data. For details, see Destroying key versions.

      Result:

      done (1s)
      id: epdtncic35ru********
      folder_id: b1g7gvsi89m3********
      ...
      disk_placement_policy:
        placement_group_id: epdn946ilslh********
        placement_group_partition: 2
      kms_key:
        key_id: abjbaqdga6hs********
        version_id: abj295dgqnlp********
      

Use the create REST API method for the Disk resource or the DiskService/Create gRPC API call.

See alsoSee also

  • Creating a disk snapshot schedule

Was the article helpful?

Previous
Creating an empty disk with a large block
Next
Creating a high-performance SSD
© 2025 Direct Cursus Technology L.L.C.