Skip to main content
Stop a running instance

Usage

vastai stop instance ID [OPTIONS]

Arguments

id
integer
required
id of instance to stop

Description

This command brings an instance from the “running” state into the “stopped” state. When an instance is “stopped” all of your data on the instance is preserved, and you can resume use of your instance by starting it again. Once stopped, starting an instance is subject to resource availability on the machine that the instance is located on. There are ways to move data off of a stopped instance, which are described here: https://vast.ai/docs/gpu-instances/data-movement

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)