m_...). The CLI and the SDKs also
take its name.
Pause a machine
Pause keeps memory and running processes, so a resume picks up where you left off. A machine also pauses by itself when it is idle. To change when, see Auto-pause.stop() starts a paused
machine first, then stops it.
Resume a paused machine
Stop a machine
Stop shuts the machine down. Files stay. Processes end, and the next start boots fresh.Start a stopped machine
Restart a stuck machine
restart (or recover) power-cycles a machine that stopped answering. The root disk and /data are
kept. Processes and memory are not.
How a restart stops the machine
How a restart stops the machine
Stop asks the guest to power off, then sends Ctrl+Alt+Del. Once the timeout runs out (60 seconds, or
--timeout up to 10 minutes), it kills the VM, so a hung guest comes back too. Writes the guest had
not flushed can be lost. A machine stuck in starting with no start in progress cannot be
power-cycled.Restore a snapshot in place
Restore puts the machine’s disks back to a snapshot’s. The machine keeps its ID, name, hostname, public port URLs, and ssh-config block.--stopped (Python: stopped=True, API: "desiredState": "stopped"). To start a new machine from a snapshot instead, see
Snapshots.
Delete a machine
Delete removes the machine and its files. Snapshots are kept.Reboot or shut down from inside the machine
Older templates and reboot loops
Older templates and reboot loops
Machines created from a template older than this behavior stop on a reboot too. A machine that
reboots more than 5 times in 10 minutes is left stopped.
How it works
Every change to a machine is an operation, and a machine runs at most one at a time. The dashboard shows operations in the operations tray, and these states: Creating, Starting, Running, Stopping, Stopped, Pausing, Paused, Resuming, Deleting, Failed. Over the API, lifecycle calls answer202 Accepted with an operation. Follow the operation with Get an
operation until it is succeeded or failed, as
API overview describes. The CLI and the SDKs
do this for you.
Sizes and create options
vCPUs, memory, disk, templates, and every create field.
Storage and retention
What is kept, for how long, and the archive and delete deadlines.