Borealis Docs
Sandbox lifecycle
Inspect logical availability, execution state and durability before choosing how to pause, resume or stop a sandbox.
Identify the runtime
Runtime v2 sandboxes advertise runtime.logical-vm.v2 and show a logical-machine panel in the organisation workspace. That panel separates availability, physical execution state and the latest durable generation. Use its controls for those machines. Older container sandboxes use the container start/stop workflow described below.
A successful request can mean an operation was accepted, not completed. Keep the sandbox and operation IDs and follow the reported state before sending dependent work.
Wake or resume a logical VM
Use the machine’s wake/start control. Wait for the wake operation to complete and the workload to become ready. A suspended machine can retain its process state; a cold machine with a committed checkpoint can recover that saved execution state on compatible capacity.
Logical identity survives changes in physical placement. This does not promise uninterrupted network connections or recovery of changes made after the last committed checkpoint. Check your application after recovery.
Suspend and release resources
A hot pause retains the current VM’s memory and disk state for resume. Pausing alone is not a durable backup.
For a machine with checkpointing enabled, Save and suspend saves execution state before releasing resident resources. A suspended resident machine can offer Release memory. Follow the operation through to completion and inspect the committed generation rather than assuming a button click established recovery.
Ephemeral machines do not gain durability by being paused. Their retained state can resume while the same incarnation survives, but there is no host-loss recovery guarantee. See Snapshots and durability.
Stop automatic wake
Stop automatic wake prevents new wake, execution and ingress admission while the stop operation drains existing activity. For checkpoint-enabled machines, the stop workflow captures and commits state before retirement. Checkpoint-disabled machines retire without a durable snapshot.
Wait for pending stop work to complete before requesting an explicit restart. Current logical availability and physical resource release can change at different times; inspect the operation and billing state for their respective results.
Recover a lost machine
Use the latest committed checkpoint and the platform’s recovery status for a durable logical VM. Do not create a replacement while an uncertain operation may still be active without first checking its outcome.
A lost ephemeral VM cannot be made durable retroactively or silently restarted from its original image. Create a new VM explicitly, restore application data from your backups and account for any uncertain external effects from the old execution.
Legacy container start and stop
A container sandbox’s main command must remain running for interactive work. Stopping a container ends its processes; starting it again is not memory continuation. Legacy environment snapshots preserve supported filesystem state, and workspace archives move files separately.
Use container commands only for resources exposing that workflow. Runtime v2 clients discover logical-machine operations through the current catalogue rather than substituting a container stop command for pause or checkpoint operations.
Delete deliberately
Deletion permanently removes the resource. Export needed data, check the sandbox and organisation, and review the deletion preflight before confirming. Cleanup may remain pending after acceptance.
A timeout does not establish failure. Inspect the existing operation before retrying with its original idempotency key. Deletion also retires the VM’s private-network attachments; it does not delete the networks themselves.
See API reliability and Monitoring.