Compute Commands
Complete reference for Outpost CLI compute commands — dev, serve, jobs, and sandbox.
Compute commands let you provision machines, deploy inference services, run batch jobs, and manage workloads from the command line. Every compute resource can be created, inspected, and torn down without leaving your terminal.
[Note] For reproducible setups, define your infrastructure in a seed.toml file and use the --config flag. This gives you a declarative specification that you can version-control alongside your code.
[Note] For reproducible setups, define your infrastructure in a
seed.tomlfile and use the--configflag. This gives you a declarative specification that you can version-control alongside your code.
outpost dev launch
Launch a new development machine with GPU support.
Syntax
Options
| Option | Description |
|---|---|
--name / -n | Name for the machine |
--cloud | Cloud provider (e.g., aws, azure) |
--region | Cloud region (e.g., us-east-1) |
--gpus | GPU type and optional count (e.g., A100, V100:4, H100) |
--cpus | Number of CPUs to allocate |
--memory | Amount of memory in GB (e.g., 64) |
--disk-size | Disk size in GB (e.g., 200) |
--image | Container image |
--spot | Use spot instances |
--config / -c | Config file |
-s, --namespace | Namespace (global flag) |
-h, --help | Display help |
Examples
outpost dev list
List all machines.
Syntax
Examples
outpost dev status
Get the current status of a machine.
Syntax
Examples
The output includes the machine's state (running, stopped, creating), instance type, resource allocation, and uptime.
outpost dev start
Start a previously stopped machine. The machine's disk is preserved, so you resume exactly where you left off.
Syntax
Examples
outpost dev stop
Stop a running machine. The machine's disk is preserved, so you can start it again later without losing data.
Syntax
Examples
[Note] Stop machines when you're not actively using them. You are not billed for compute time while a machine is stopped, but disk storage charges still apply.
[Note] Stop machines when you're not actively using them. You are not billed for compute time while a machine is stopped, but disk storage charges still apply.
outpost dev delete
Delete a machine permanently.
Syntax
Examples
[Warning] outpost dev delete permanently removes the machine and all its data. Push your work before deleting. Use outpost dev stop to preserve the disk.
[Warning]
outpost dev deletepermanently removes the machine and all its data. Push your work before deleting. Useoutpost dev stopto preserve the disk.
outpost dev ssh
SSH into a running machine.
Syntax
Examples
outpost dev exec
Execute a command on a running machine.
Syntax
Examples
outpost dev logs
View logs from a running or stopped machine.
Syntax
Examples
outpost serve launch
Deploy a new persistent inference service.
Syntax
Options
| Option | Description |
|---|---|
--name / -n | Name for the service |
--cloud | Cloud provider (e.g., aws, azure) |
--region | Cloud region (e.g., us-east-1) |
--gpus | GPU type and optional count (e.g., A10G, A100:4) |
--cpus | Number of CPUs to allocate |
--memory | Amount of memory in GB |
--disk-size | Disk size in GB |
--port | Port the service listens on |
--command | Command to start the HTTP server |
--replicas | Number of replicas |
--image | Container image |
--config / -c | Config file |
-s, --namespace | Namespace (global flag) |
-h, --help | Display help |
Examples
outpost serve list
List all services.
Syntax
Examples
outpost serve status
Get the current status of a deployed service.
Syntax
Examples
Shows the service's state, URL, instance type, replica count, and request metrics.
outpost serve scale
Scale the number of replicas for a service.
Syntax
Examples
outpost serve delete
Delete a service.
Syntax
Examples
outpost jobs launch
Run a new batch processing job. Jobs run to completion on dedicated hardware and automatically terminate when finished, so you only pay for actual compute time.
Syntax
Options
| Option | Description |
|---|---|
--name / -n | Name for the job |
--cloud | Cloud provider (e.g., aws, azure) |
--region | Cloud region (e.g., us-east-1) |
--gpus | GPU type and optional count (e.g., A100, A100:4) |
--cpus | Number of CPUs to allocate |
--memory | Amount of memory in GB |
--disk-size | Disk size in GB |
--command | Command to execute (required) |
--image | Container image |
--spot | Use spot instances |
--config / -c | Config file |
-s, --namespace | Namespace (global flag) |
-h, --help | Display help |
Examples
[Note] Jobs automatically stop and release compute resources when finished. You are only billed for the time the job is actively running.
[Note] Jobs automatically stop and release compute resources when finished. You are only billed for the time the job is actively running.
outpost jobs list
List all jobs.
Syntax
Examples
outpost jobs status
Get the current status of a job.
Syntax
Examples
Shows the job's state (running, completed, failed), instance type, duration, and exit code.
outpost jobs logs
View logs from a running or completed job.
Syntax
Examples
outpost jobs cancel
Cancel a running job.
Syntax
Examples
outpost jobs delete
Delete a job.
Syntax
Examples
outpost sandbox launch
Launch a throwaway sandbox environment.
Syntax
Options
| Option | Description |
|---|---|
--image | Container image (e.g., pytorch:latest) |
-h, --help | Display help |
Examples
outpost sandbox list
List all sandboxes.
Syntax
outpost sandbox status
Get the current status of a sandbox.
Syntax
outpost sandbox delete
Delete a sandbox.
Syntax
seed.toml configuration
For reproducible, version-controlled infrastructure, define your workloads in a seed.toml file at the root of your repository.
Machine configuration
Service configuration
Job configuration
[Note] Store your seed.toml files in your Outpost repository alongside your code. This makes infrastructure reproducible across team members and environments.
[Note] Store your
seed.tomlfiles in your Outpost repository alongside your code. This makes infrastructure reproducible across team members and environments.
Common workflows
Interactive development
Train and deploy
Tear down resources
Previous → Overview