Skip to main content
Use novita sandbox resize to expand a running sandbox’s CPU, memory, or disk without restarting it. sandbox can also be written as sbx.

Prerequisites

  • Use a running sandbox and choose targets within your quota.

Usage

CLI
Specify at least one resource; omitted resources stay unchanged. All values are positive absolute totals, not increments. New memory and disk totals must be whole GiB; an existing non-whole-GiB value can be kept unchanged if it represents a whole number of MiB. Only expansion is supported. A target equal to the current value is skipped; a lower target fails.

Create with resources

You can also specify resources when creating a sandbox. Omitted resources use the template defaults.
CLI
The -d / --detach option returns to your shell without attaching an interactive terminal. See Create Sandbox for creation constraints.

Output and partial success

Default output shows each requested resource separately. For structured output, use:
CLI
The CLI can exit with code 0 even when a resource failed. For automation, inspect every status under resources rather than relying only on the exit code.
  • applied: the target is active.
  • skipped: the resource already matched the target.
  • failed: inspect reason and message.
  • unknown: the result is not yet confirmed. Query sandbox details again later; do not assume the reported allocation is final.
A successful resource is not rolled back when another fails. See partial success and result statuses.

Inspect resources and quotas

CLI
info and list show CPU in cores and memory and disk in MiB, whereas resize input and results use GiB for memory and disk. Check current allocation and quota before choosing a target.
Last modified on December 1, 2026