Shared Filesystems (SFS)
Last updated
Last updated
Shared filesystems allow you to store and share files across different instances, making collaboration or distributed workloads easier. Unlike block volumes, which are attached to a single instance at a time, shared filesystems let multiple instances read and write to the same storage. This makes it ideal for tasks like sharing data between applications or managing large, centralized file repositories. Shared filesystems are scalable, reliable, and great for managing data in environments with multiple users or systems.
Shared filesystems is a Beta feature and currently only available in location FIN-02. The feature will be expanded soon!
Create a new shared filesystem in two ways. One way is by clicking Create filesystem on the Shared filesystems screen.
Choose your settings and click Create filesystem.
If you have running instances, you will see the Share settings modal and any available instances (instances in unsupported locations will be inactive and cannot be selected). Choose any and all available instances that you would like to have access to your filesystem. Click Confirm settings and see Mounting a shared filesystem below to complete the process.
The other way to create a shared filesystem is during deployment of a new instance. This will automatically be shared to the instance it is created with.
To mount SFS on your instance, you need to first share it with the instance via the cloud dashboard.
There are two ways to share the filesystem with the instance:
When a shared filesystem is added during the instance creation, it will be shared to the instance automatically, and you can skip straight to Mounting a shared filesystem.
Otherwise, you can share and unshare to instances by clicking the Share settings button.
Choose which instances you would like to have access to the shared filesystem and click Confirm settings. Note that you can only share to instances within the same location (e.g. FIN-02).
Sharing to long-term instances requires payment upfront based on the instance with the longest remaining contract time. You are only charged for additional contract time that has not already been paid.
Once the SFS has been shared with your instance, you can proceed to mount it.
Create a directory to which you want to mount the SFS:
Mount the shared filesystem, replace <PSEUDO>
with the filesystem's pseudopath:
Add filesystem to the /etc/fstab
, to have it mount on instance startup. Replace <DC>
with the location (ex: fin-02
):