Skip to main content

Deployment commands

These commands operate on both Jobs and Servers unless a provider limitation is noted.

anycloud status

anycloud status [id]
anycloud status <id> --watch
anycloud status <id> --json
OptionDescription
--verboseShow detailed events and error information
-w, --watchPoll until a terminal state
--interval SECONDSWatch interval; default 5, minimum 1
-p, --period WINDOWPicker window, such as 7d or 24h
-n, --limit COUNTPicker limit; default 200, maximum 1,000
--jsonRaw StatusResponse JSON

JSON contains deployment, vms[], and events[]. With --watch --json, stdout is newline-delimited JSON with one response per poll.

anycloud list

Alias: anycloud ls.

anycloud list [options]
OptionDescription
-f, --filter TEXTSubstring over ID, image, cloud, region, state, session, or agent
--status STATEExact state
--credential NAMEOne named credential
--session IDSession ID, prefix, label, or agent:hash
--agent NAMEAgent name
-p, --period WINDOWStart-time window
-n, --limit COUNTDefault 200, maximum 1,000
--jsonCompact JSON array
--csvHeader plus one row per deployment
--only-idsOne deployment ID per line

A bare interactive command opens a summary picker. Any filter or machine-readable flag prints directly. Non-interactive agent invocations default to their own detected session; an explicit --session or --agent overrides that cooperative scope.

anycloud exec

anycloud exec [id] "<command>"

On VM-host providers, the command runs inside the workload container. On provider-run-image substrates, it runs in the provider-controlled execution environment over Anycloud's SSH transport.

anycloud logs

anycloud logs [id] [--follow]
OptionDescription
-f, --followStream until interrupted
-w, --watchAlias for --follow

Provider-run-image deployments such as Vast do not currently expose container logs through this command. Use exec to inspect a file when applicable.

anycloud ssh

anycloud ssh [id]
anycloud ssh <id> --vm
anycloud ssh <id> --snapshot

The default opens a shell inside the workload container. --vm opens a host diagnostic shell. --snapshot commits an exited container and opens a shell in the snapshot. Provider-run-image substrates do not currently support the interactive SSH shell; use exec.

anycloud terminate

Terminate one or more deployments and clean up their cloud resources:

anycloud terminate [ids...]

With no ID in a terminal, choose deployments interactively.

anycloud resubmit

Put terminal deployments back in the queue with the same configuration:

anycloud resubmit [ids...]