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
Rescue a machine whose boot hook blocks it
Every boot runs the executables in/usr/local/lib/instabox/data-init.d (the template’s, and any
you add) before sshd starts. A hook that never returns, or exits non-zero, keeps the machine from
starting: the start fails after a few minutes, and every exec, SSH or files call that wakes the
machine fails the same way. A rescue start boots the machine without running those hooks, so you
can fix the hook from inside. Everything else of the boot runs, /data included. The next start
runs the hooks again.
409 operation_conflict: stop it first. A paused one is
refused too, since it resumes without booting: resume it, then stop it.
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.