lizard volume

Manage Persistent Volumes for sandboxes and services. Alias: lizard vol.

Usage

lizard volume list [flags]
lizard volume create <name> [flags]
lizard volume resize <volume> --size <gb> [flags]
lizard volume rm <volume> [flags]

A volume’s name is its key within the project. Every command takes a name or an ID, and -p, --project to target a project other than the linked one. In a folder that is not linked, commands use your account’s default project.

Subcommands

lizard volume list

List the project’s volumes with size, status, and the sandbox they’re attached to (alias ls). --json also includes the generated IDs. -s, --service <name> shows the volume attached to that service instead.

lizard volume create <name>

Create a volume. Names use lowercase letters, digits, and dashes, start and end with a letter or digit, are up to 64 characters, and are unique in the project.

FlagDescription
--size <gb>Size in whole GB (default 5); a sandbox volume takes 1 to 50. The CLI reads the server’s current limits first
--region <code>Region for the volume; it must match the sandbox that will attach it
-s, --service <name>Create the volume and attach it to this service instead. A service has at most one volume, and its files survive restarts and redeploys
--mount-path <path>With --service: where the service sees the volume (default /data)
-p, --project <id>Project name, slug, or ID

The sandbox volumes of one workspace can add up to 200 GB of allocated size. A create or resize past that fails with HTTP 403 and code volume_quota_exceeded.

lizard volume resize <volume> --size <gb>

Grow a volume in place; no data is copied. A sandbox that has the volume attached keeps running but still sees the old size. The next sandbox that attaches the volume sees the new size, so to use it now, delete the sandbox and create a new one with --volume. A volume can only grow. Some volumes created before October 2026 can also shrink if at least 10% of the new size stays free.

lizard volume rm <volume>

Delete a volume and its data (alias delete). It fails while the volume is attached; delete the sandbox first.

FlagDescription
-y, --yesSkip confirmation

Sandbox volume storage costs $0.14 per GB-month of used space. See Size and price.

Examples

Create a volume and attach it

lizard volume create agent-workdir --size 10
lizard sandbox create --volume agent-workdir

Grow a volume

lizard volume resize agent-workdir --size 20

Delete a volume

lizard volume rm agent-workdir --yes

See also

Updated