Storage
DUST has 2 storage solutions for your containers. First, there's Ceph Object Storage, giving you an S3 endpoint for cloud storage. Secondly, there's Storage Volumes, which is more like a persistent physical disk (that's stored on the cloud) that your container mounts. Ceph Object Storage is well-suited for static files that you want to upload (images, templates), while Storage Volumes are well-suited for persistent files that your container creates and modifies (databases, logs).
Ceph Object Storage (S3)
In the Storage tab of your project, you should find an S3 endpoint, region, secret key, and access key. These Should™ let you access your storage from any S3-compatible library/program. You should also find a slider for allocating capacity to the storage. If you want a (relatively) simple program for accessing it from your computer, consider using rclone.
-
To do this, create a new remote and set the remote type as
S3-compliant, Ceph as the provider, enter your access and
secret key, and finally enter
https://s3.ludd.ltu.seas the endpoint. You may leave all other options as the default (blank). This lets you access the storage using rclone's commands, such asls,sync, andmount. This is not anrclonetutorial; see rclone's documentation.
Storage Volumes
Also in the Storage tab of your project, you should find a Storage Volume section, with notably a green Create Storage Volume button. Come up with a cool name for it and allocate it some capacity. Then, in the configuration for your container job(s), you should find a Storage Volume Mounts box, with notably a green Mount Volume button. After pressing the aforementioned button, choose your cool name and type in a mountpoint. This is where the volume will be mounted in your container's filesystem (like an external disk). The directory will be created for you if it doesn't exist. You should then find your storage volume (perhaps after restarting the container job) at the given directory, ready to be used!