Storage Volumes
Solti mounts remote cloud storage buckets directly into the job's container filesystem using high-performance FUSE drivers (s3fs/mount-s3, gcsfuse, blobfuse2).
Workload Identity Federation (WIF) connections support volume mounts on all three clouds — AWS S3 (via mount-s3, which automatically refreshes the short-lived federated session for long-running jobs), Google Cloud Storage (via gcsfuse), and Azure Blob Storage (via blobfuse2). No static keys are needed anywhere; see Connections.
Minimal Configuration
Only two fields are required to mount storage:
volumes:
datasets: # Volume name (the map key)
bucket: my-ml-datasets
mountPath: /mnt/r2
Volume Field Reference & Defaults
volumes is a map keyed by volume name — the key is the volume's unique identifier, so no separate name field exists (duplicate keys are rejected by YAML/JSON parsing):
| Property | Type | Required | Default Value | Description |
|---|---|---|---|---|
| (map key) | string | Yes | — | Unique volume name within the job. |
bucket | string | Yes | — | Target storage bucket or container name across S3, GCS, Azure Blob, or Cloudflare R2. |
mountPath | string | Yes | — | Absolute destination path inside the running container filesystem where data appears. |
connection | string | No | First matching connection | Project connection supplying credentials. If omitted, Solti automatically identifies the first active connection with access to the bucket. |
prefix | string | No | "" (Bucket root) | Subdirectory path prefix inside the bucket to mount, isolating mounts to specific folders. |
CLI Volume Syntax
From the command line, --volume (repeatable) accepts a structured spec:
--volume bucket=my-ml-datasets,prefix=some/prefix,mountPath=/mnt/r2
Supported keys are bucket, mountPath, prefix, and connection (the same fields as the YAML spec). The volume name (the YAML map key) defaults to the bucket name; pass --volume-name <name> to set it explicitly:
solti job run \
--volume bucket=my-ml-datasets,prefix=some/prefix,mountPath=/mnt/r2 \
--volume-name datasets \
--image astral/uv:latest -- python train.py
Solti automatically resolves the matching cloud storage credentials from the project's connections (or the connection= key, if given). See the CLI manual for details.