# unikraft instances suspend

Suspend one or more instances.

```
unikraft instances suspend <target> ... [flags]
```

## Examples

Suspend an instance:

```bash
unikraft instance suspend demo-instance
```

Suspend with a drain timeout:

```bash
unikraft instance suspend demo-instance --drain-timeout 30000
```

## Options

```
  --drain-timeout DRAIN-TIMEOUT  Timeout in milliseconds for draining connections before suspending. (default -1)
  -f, --field FIELD           Specify which fields to include in the output.
  -o, --output OUTPUT         Output format. One of: kv, table, json, yaml, raw, quiet, template.
```

## Options inherited from parent commands

```
  --config file               Path to the configuration file.
  --log-level level           Set the logging level. (default info)
  --log-type type             Set the log type. (default text)
  --profile name              Set the current profile.
  --telemetry                 Toggle anonymous usage analytics. (default true)
```

## See Also

* [`unikraft instances`](../instances.mdx): Manage Unikraft Cloud instances.

