# kraft cloud instance stop

```
kraft cloud instance stop [FLAGS] [UUID|NAME [UUID|NAME]...]
```

### Examples

```
# Stop an instance by UUID
$ kraft cloud instance stop 77d0316a-fbbe-488d-8618-5bf7a612477a

# Stop an instance by name
$ kraft cloud instance stop my-instance-431342

# Stop multiple instances
$ kraft cloud instance stop my-instance-431342 my-instance-other-2313

# Stop all instances
$ kraft cloud instance stop --all

# Stop an instanace by name and wait for connections to drain for 5s
$ kraft cloud instance stop --wait 5s my-instance-431342

```

## Options

```
  -a, --all                      Stop all instances
  -d, --drain-timeout duration   Time to wait for the instance to drain all connections before it is stopped (ms/s/m/h)
  -f, --force                    Force stop the instance(s)
  -h, --help                     help for stop
  -w, --wait duration            Timeout for the instance to stop (ms/s/m/h)
```

## Options inherited from parent commands

```
      --allow-insecure   Allow insecure connections to the Unikraft Cloud API
      --metro string     Unikraft Cloud metro location
      --token string     Unikraft Cloud access token
```

## See Also

* [`kraft cloud instance`](/docs/cli/kraft/cloud/instance): Manage instances

