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.
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.
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.