Skip to content

Managing Computers

A Computer's state says whether it's running and which actions you can take. Each action, from starting to deleting, has its own section below. To change its pool or owner, see Moving and transferring.

States

#

The dashboard shows a Computer's state on its Overview. The CLI shows it with a message that explains it.

heaven view my-site
StateDashboardMeaning
creatingCreatingHeaven is creating the disk.
preparing_imagePreparing imageHeaven is preparing the image.
startingStartingThe Computer is booting or waiting to boot.
runningOnlineThe Computer is running and SSH answers.
checkingOnlineThe Computer is running and Heaven is checking SSH.
degradedDegradedThe Computer is running but SSH doesn't answer.
restartingRestartingThe Computer is restarting, at your request or after it stopped unexpectedly.
resettingResettingHeaven is replacing the disk with a fresh image.
stoppingStoppingThe Computer is shutting down.
stoppedStoppedThe Computer is off.
pausedPausedThe Computer's processes and memory are frozen.
failedFailedThe Computer didn't start or stopped unexpectedly. The message gives the cause.
image_failedImage failedHeaven couldn't prepare the image or restore the disk.
heldHeldHeaven has put a hold on the Computer or its pool.
movingMovingThe Computer is moving to another pool or server.
deletingDeletingHeaven is deleting the Computer.
unknownUnknownHeaven can't tell the Computer's state right now.

A start waiting for memory shows Waiting for memory in lists. When Heaven pauses a Computer itself, the dashboard says why: Paused: storage full, Paused: storage error or Paused by Heaven.

Heaven can hold a Computer or its whole pool, for example when it suspends an organization. A held Computer stays off until Heaven lifts the hold, then starts again if it was running before. To keep it off, stop it while it's held. Contact support about a hold.

Reference: List or read Computers.

What each action keeps

#

These actions need Admin access to the Computer, which its owner has. Every action keeps the Computer's shares and backups, and only a rename changes its addresses.

ActionProcesses and memoryDisk and snapshotsPool's CPU and memory
StopEndedKeptFreed
StartFresh bootKeptUsed
PauseFrozen, memory keptKeptCPU freed, memory kept
ResumeContinue where they wereKeptUsed
RestartEnded, then a fresh bootKeptUsed
ResetEnded, then a fresh bootDisk replaced by a fresh image, snapshots keptUsed
RenameKeep runningKeptUnchanged
ResizeKeep runningDisk grows if askedLimits change
DeleteEndedDeletedFreed

Deleting a Computer also releases its public ports and detaches its static address, which the organization keeps.

Start and stop

#

Stopping a Computer asks its operating system to shut down, and turns it off if that takes too long. Starting it boots from its disk. A stopped pool must be started first.

In Overview, choose Start, or open Restart, stop and more and choose Stop.

heaven start my-site
heaven stop my-site

Reference: Start a Computer, Stop a Computer.

Pause and resume

#

Pausing freezes a Computer's processes and keeps its memory, so it resumes exactly where it was. A paused Computer uses no CPU but keeps its memory in the pool. Resuming a Computer that was paused with its pool also resumes the pool.

In Overview, open Restart, stop and more and choose Pause, then Resume to continue.

heaven pause my-site
heaven resume my-site

Reference: Pause a Computer, Resume a Computer.

Restart

#

Restarting ends the Computer's processes and boots it again from its disk. It starts a stopped Computer, and it's the way back from Failed. In Overview, open Restart, stop and more and choose Restart.

heaven restart my-site

Reference: Restart a Computer.

Reset

#

Resetting replaces the Computer's disk with a fresh copy of its image and runs its setup script again. The Computer keeps its name, addresses, shares and snapshots.

In Settings, under Danger zone, choose Reset. The CLI can also switch images and preview the change.

heaven reset my-site --dry-run
heaven reset my-site --image heaven-ubuntu

Reference: Reinstall a Computer.

Rename

#

Renaming changes the Computer's addresses while it keeps running. The result lists the new addresses.

In Settings, change Name and press Enter.

heaven rename my-site backend

Reference: Rename a Computer.

Resize

#

Resizing changes a Computer's CPU and memory limits, or grows its disk, within its pool. A running Computer applies new limits right away unless its message says a restart is needed. Resume a paused Computer before resizing it.

In Settings, choose a Size limit. The CLI sets each limit separately.

heaven resize worker --cpu 2 --memory 4GiB

Reference: Resize a Computer.

Create several

#

In the New Computer form, enter several names or set how many Computers to create. The CLI takes a count, a list of names, or a Computer to copy into each.

heaven create --pool web --count 3
heaven create --pool web --names my-site,backend --copy worker

A pool runs a limited number of creates at once. See Request rates.

Reference: Create a Computer.

Delete

#

Deleting a Computer removes it with its disk and snapshots.

In Settings, under Danger zone, choose Delete Computer and confirm.

heaven delete my-site

Reference: Delete Computers.