File storage
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.
Each file storage is located either in the ru-central1-a
or ru-central1-b
availability zone where it is replicated to provide data protection. File storage is not replicated across availability zones.
Storage is attached to a VM through the Filesystem in Userspace
By default, file storages have a zero quota. To increase the quota
File storage as a Yandex Cloud resource
File storage is created in a folder and inherits its access rights.
You are charged for the space used by a storage depending on its size. For more information, see Compute Cloud pricing. The maximum storage size is 8192 GB.
File storage types
When creating a file storage, you can choose one of the following types:
- SSD storage (
network-ssd
): Fast file storage based on SSD drives. - HDD storage (
network-hdd
): Standard network storage based on HDD drives.
Once you have created a storage, you cannot change its type.
Attaching and detaching file storage
You can attach each file storage to one or more VMs. A storage and all VMs it is attached to must be in the same availability zone.
When you delete a VM, any attached storages are detached from it. In this case, the data the storages contain is saved and their links to other VMs persist.
Requirements and restrictions
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 using this guide.
Attaching file storages to Windows-based VMs in Compute Cloud is currently not supported.
Delivering metrics to Yandex Monitoring
File storage metrics are not delivered to Yandex Monitoring
Metric delivery to Monitoring via Unified Agent is not supported.
See also