Skip to main content
Start a stopped instance

Usage

vastai start instance ID [OPTIONS]

Arguments

id
integer
required
ID of instance to start/restart

Description

This command attempts to bring an instance from the “stopped” state into the “running” state. This is subject to resource availability on the machine that the instance is located on. If your instance is stuck in the “scheduling” state for more than 30 seconds after running this, it likely means that the required resources on the machine to run your instance are currently unavailable.

Examples

vastai start instances $(vastai show instances -q)
    vastai start instance 329838

Global Options

The following options are available for all commands:
OptionDescription
--url URLServer REST API URL
--retry NRetry limit
--rawOutput machine-readable JSON
--explainVerbose explanation of API calls
--api-key KEYAPI key (defaults to ~/.config/vastai/vast_api_key)