How do file shares work?
After a file share is created and access rules are configured, an NFS server with the standard disk type is provisioned to host the shared files. The file share becomes available to Virtual Machines, Bare Metal servers, and Kubernetes pods within the connected private network. To access the file share, mount it to the local file system of each server. Once mounted, the file share is accessible as part of the local file system. The NFS protocol allows servers within a subnetwork to simultaneously read, write, and modify files on the file share, providing data consistency and facilitating team collaboration.Use cases
- Cloud infrastructure storage: connect multiple servers to the shared file storage to access the same data across servers and build distributed applications or clustered environments.
- Backup and archival storage: store backups and archival data, or extract data from Virtual Machines and physical servers.
- Web content delivery: store and serve static web content — images, videos — to improve performance of web applications running in the cloud.
- NFS as a persistent volume for Kubernetes: use the file storage to organize persistent volumes with the RWX (ReadWriteMany) access mode.
Features
The File Shares service provides the following capabilities:- Create and manage file shares using the NFS protocol
- Attach file shares to multiple instances
- Adjust file share sizes
- Delete and manage file shares
- View share information via API
- Select or create networks for share availability
- Set up access rules for file shares
- Create and recover from snapshots
Benefits
- On-demand storage scaling. Storage resources scale on demand without managing physical hardware, reducing costs. File storage capacity can be increased at any time by adjusting capacity parameters.
- Flexible data sharing across instances. Share and access data across multiple instances — Virtual Machines, Bare Metal servers, and Kubernetes pods.
- Cost savings. Consolidating storage resources with Cloud File Shares minimizes redundant storage devices and reduces overall storage costs.
- Simplified management. Storage management is available through the Customer Portal, the API, and infrastructure as code (IaC) tools like Terraform.