File storage
Note
File storage is at the Preview stage.
File storage is a virtual file system that can be attached to multiple Compute Cloud VMs in the same availability zone. Users can share files in storage and use them from different VMs.
Storage is attached to a VM through the Filesystem in Userspace (FUSE) interface as a virtiofs device that is not linked to the host file system directly.
By default, file storage has a zero quota. To increase the quota, contact support.
File storage as a Yandex Cloud resource
File storage (stores) is created in a folder and inherits access rights.
You're charged for the space used by storage depending on its size. For more information, see Pricing for Compute Cloud. The maximum storage size is 8192 GB.
OS support
You can attach file storage to VMs running Linux with kernel version 5.4 or higher. To check the kernel version, use the uname -r
command. If you create a VM from a custom image, prepare it by following the instructions.
Attaching file storage to Windows-based VMs in Compute Cloud is currently not supported.
File storage types
When creating file storage, you can choose one of the following types:
- SSD storage (
network-ssd
): Fast file storage on SSD drives. - HDD storage (
network-hdd
): Standard network storage on HDD drives.
After creating storage, you can't change its type.
Attaching and detaching file storage
Each file storage can be attached to one or more VMs. Storage and all the VMs it's attached to must be in the same availability zone.
When you delete a VM, any attached storage is detached from it. In this case, the data in storage is saved and their attachments to other VMs are preserved.
See also