Skip to main content
A box’s own disk dies with the box. A volume does not. This walks the proof end to end: write from one box, delete it, then read the same bytes from a box that did not exist when they were written.

Prerequisites

  • An API key from the console, exported as BOXLITE_API_KEY. See API keys.
  • pip install boxlite, and the REST URL exported as BOXLITE_REST_URL. See Quickstart.
Every example reads both values from the environment, so nothing hard-codes a credential.

See it in six commands

The whole proof, from a terminal. Box A writes, box A is destroyed, box B reads what A left behind:
boxlite volume talks to a REST server, so run boxlite auth login first — see boxlite volume.

Do the same from code

The property that makes a volume worth using: write through the mount in one box, destroy that box, mount the same volume in a different box, and the data reads back. The volume is backed by managed storage, not by the box.

Only what is under the mount path survives

This is the part people get wrong. The volume is mounted at one path, and only what you write under that path outlives the box: If something you expected to survive did not, check which side of the mount path it was written to before suspecting the volume.

Next steps

Volumes

What a volume is, the full parameter reference, and how Cloud differs from open source.