Filesystem is a high-performance, persistent storage solution for containers and bare metal servers on the Latitude.sh platform. It provides scalable storage that ensures data is retained across reboots, making it ideal for workloads requiring long-term data management and flexibility.The Filesystem is optimized for fast access and seamless integration, offering a reliable way to manage data-intensive applications.
It is not possible to reduce the size of an existing filesystem. You can only
expand it.
Log in to the Latitude.sh dashboard and navigate to Storage > File
storage in the sidebar. Click Create filesystem, specify the name of
your filesystem and click Create.
From the Latitude.sh dashboard, navigate to Bare metal and go to Storage. Click Connect to bare metal and copy the code shown.Log in through SSH to the server you want to attach the filesystem to and paste the code you just copied. When prompted, enter the directory where you want to mount the filesystem.
By default, only root and storage-users can write to the filesystem. If
needed, you can give others write access by using sudo usermod -aG storage-users [username]
Navigate to Serverless in the left sidebar and click Deploy container. In the Container Settings, provide a name for your container, specify the image and tag, and select or enter a registry URL. You can also add a new private registry if needed.After selecting the container size, choose an existing filesystem from the dropdown, or create a new storage volume. Specify the app destination and storage origin, then click Deploy.