Creating an ultra high-speed network storage with three replicas (SSD)
You can create an ultra high-speed network storage with three replicas (SSD), which is a high-performance SSD offering the same speed as a non-replicated SSD, plus redundancy.
The disk size must be a multiple of 93 GB.
-
In the management console
, select the folder where you want to create a disk. -
Select Compute Cloud.
-
In the left-hand panel, select
Disks. -
Click Create disk.
-
Enter a name for the disk. The naming requirements are as follows:
- It must be 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.
-
Add a description for the disk, if required.
-
Select the availability zone the disk will reside in.
-
Select
SSD IO
as the disk type. -
Select the required block size.
-
Specify the required disk size.
-
Optionally, under Encryption:
- Select Encrypted disk.
- In the KMS key field, select the key you created earlier. To create a new key, click Create new key.
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, access to the data will be irrevocably lost. For details, see Destroying key versions.
-
Click Create disk.
The folder specified in the CLI profile is used by default. You can specify a different folder through the --folder-name
or --folder-id
parameter.
-
See the description of the CLI command for creating disks:
yc compute disk create --help
-
To create a high-performance disk named
ssd-io-disk
, run this command:yc compute disk create \ --name ssd-io-disk \ --zone ru-central1-a \ --type network-ssd-io-m3 \ --size 93G \ --kms-key-id <key_ID>
Where:
-
--name
: Disk name. -
--zone
: Availability zone. -
--type
: Disk type. -
--size
: Disk size. -
--kms-key-id
: ID of the KMS symmetric key to create en 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, access to the data will be irrevocably lost. For details, see Destroying key versions.
Result:
id: a7li08c1fd8l******** folder_id: aoerb349fdhb******** created_at: "2024-11-25T21:22:20Z" name: ssd-io-disk type_id: network-ssd-io-m3 zone_id: ru-central1-a size: "99857989632" 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********
-
Use the create REST API method for the Disk resource or the DiskService/Create gRPC API call.