Compute Commands
Complete reference for Outpost CLI compute commands — dev, serve, jobs, and sandbox.
Compute commands let you provision GPU 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.
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), GPU 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
outpost dev delete
Delete a machine permanently.
Syntax
Examples
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, GPU 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
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), GPU 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
Common workflows
Interactive development
Train and deploy
Tear down resources
Previous → Repository Commands