Cloud Storage
Cloud Storage is managed through app volumes. Volumes give a running app persistent file storage at a mount path, and can expose S3-compatible access when you need direct object workflows.
Features
Persistent volumes
Create a volume for an app, choose the mount path, and set a maximum size. The volume stays with the app across deployments.
S3-enabled access
Turn on s3Enabled when the same storage should be reachable from S3-compatible tooling or object workflows.
Explorer and storage URLs
Volume records expose s3Url and explorerUrl when available, so dashboards and tools can deep-link into stored files.
Redeploy after storage changes
Use redeployApp when changing volume settings should immediately roll the app onto a version with the updated storage mount.
Common workflow
- Create the volume with an app ID and mount path.
- Update the volume to enable S3 access or adjust settings.
- Redeploy the app when the runtime needs the new mount.
- List volumes to audit storage attached to the app.
SDK examples
Create an S3-enabled app volume
Create persistent app storage, enable S3 access, print explorer URLs, and list attached volumes.
Related docs
Source: stackmachine/sdks JavaScript examples.