Skip to content
pols.so docs
Esc
↑↓navigate↵open⌘Jpreview
On this page

pols resize

Change a sandbox's size; a running one restarts, its disk and files stay

Change a sandbox’s vCPUs, RAM and disk to those of another size (small, default, large or xlarge; see pols.so/pricing). The sandbox keeps its ID, name, addresses, disk, users, environment and vault entries. A running sandbox is shut down, resized and booted again, so the processes running in it stop; a stopped one is resized and stays stopped. The disk only grows, so a size with a smaller disk is refused. RAM is billed at the new size from the restart on.

Usage

pols resize SANDBOX --size SIZE [flags]

Examples

pols resize braveotter --size large
pols resize sbx_3k9x2m1q8zt4 --size xlarge --no-wait

Flags

-h, --help                    help for resize
    --no-wait                 return at once instead of waiting for the sandbox to get there
    --size string             the new size: small, default, large or xlarge
    --wait-timeout duration   how long to wait (default 5m0s)

The global flags work with this command too.