Pause or stop: what your agent keeps

Before a break, a weekend or the holidays, choose what your computer keeps. Pause keeps the running programs; stop keeps only the disk. This guide sums up the rules from Pause, stop and timeouts, Lifecycle and states, On-demand and always-on, Pricing and billing and Honest limits.

What each action keeps

Action What you get back Compute charges (on-demand) Storage charges
Pause Memory is written to disk: processes, terminals and desktop windows come back on resume None while paused Disk and saved memory at $0.05 per GB-month of stored size, inside the monthly cap
Stop The disk only; memory is discarded and the next start boots fresh None while stopped Disk at $0.05 per GB-month of stored size, inside the monthly cap
Delete Nothing; the computer is purged after 24 hours None See Lifecycle and states

Pausing the largest sizes takes longer, because the whole memory is saved to disk.

How long a pause lasts

Saved memory is kept for 30 days. Before it ages out you get seven days' notice; then the computer becomes stopped and keeps its disk. Scheduled maintenance does not discard it either: paused computers keep their memory through a restart.

Holiday example: pause on Friday, December 18 and resume on Monday, January 4. That is 17 days, inside the 30-day window, so your agent's programs are where you left them.

Before you leave

  1. Pause on-demand computers you want to come back to as they are. A computer you forget to pause is still covered: its run timer (3,600 seconds by default) runs the configured on_timeout action, which is pause unless you set stop.
  2. Always-on computers: pausing saves nothing. Always-on is the cap spread over 730 hours and is charged in every state except deleted. For a long break, switch it to on-demand first. Switching back later needs free always-on capacity, and a refused switch leaves the computer unchanged.
  3. Copy off anything that matters. Snapshots and images are not backups: they are kept alongside the computers. Keep your own copy of important files.
  4. Leave enough balance for storage. Paused and stopped computers keep accruing storage charges. GET /billing/balance shows your runway. If the balance reaches zero, computers and disks are kept free of charge for 14 days, after which they may be deleted under the rules on Pricing and billing.

When you come back

  • Resume a paused computer, or start a stopped one. Your balance must cover at least $1 or one hour of your projected spend, whichever is more.
  • Resuming an on-demand computer can be refused with 503 capacity_unavailable when capacity is in use; retry later. An always-on computer keeps its slot unless it was released for low balance.
  • Each computer's monthly cap counts per UTC calendar month. A computer left running all month costs at most its cap for compute and its own storage; snapshot storage and traffic beyond the included amounts are billed outside the cap.

See Lifecycle and states for every transition and Events to watch them happen.

Questions: support@dory.run.