File storages
A 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 a storage and use them from different VMs.
Each file storage resides in an availability zone where it is replicated for data protection. File storages are not replicated across availability zones.
A storage is attached to a VM through Filesystem in Userspace
By default, file storages have a zero quota. To get your quotas
File storage as a Yandex Cloud resource
A file storage is created in a folder and inherits its access permissions.
You are charged for the space used by a storage depending on its size. For more information, see Compute Cloud pricing policy. The maximum storage size is 8,192 GB.
File storage types
When creating a file storage, you can choose one of the following types:
- SSD storage (
network-ssd
): High-speed SSD-based file storage. - HDD storage (
network-hdd
): Standard HDD-based file storage.
Once you have created a storage, you cannot change its type.
Attaching and detaching a file storage
You can attach each file storage to one or multiple 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 connections to other VMs persist.
Requirements and restrictions
OS support
You can attach a 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.
See also