> For the complete documentation index, see [llms.txt](https://docs.rumi.systems/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.rumi.systems/rumi-cli/commands/cloud/aws/terminate-bastion.md).

# terminate-bastion

Terminate a bastion.

## Syntax

```bash
rumi cloud aws terminate-bastion \
  --profile <profile> \
  --network <network> \
  [options]
```

## Options

| Option      | Short | Description                                                                                             | Default     |
| ----------- | ----- | ------------------------------------------------------------------------------------------------------- | ----------- |
| `--profile` | `-p`  | AWS profile to use                                                                                      | Required    |
| `--region`  | `-r`  | AWS region                                                                                              | `us-east-1` |
| `--network` | `-n`  | Name of the network to terminate it into                                                                | Required    |
| `--name`    | `-b`  | The bastion name to terminate; required in a multi-bastion network, omitted in a single-bastion network | none        |
| `--no-wait` | `-o`  | Whether to not wait for the instance to fully terminate                                                 | `false`     |

## Example

```bash
rumi cloud aws terminate-bastion \
  --profile my-aws-profile \
  --network my-network \
  --name data
```

## Notes

This command refuses to terminate the last running jump-capable bastion while other Rumi instances still run, since doing so would strand the fleet (no SSH/SSM entry point would remain).

## See Also

* [launch-bastion](/rumi-cli/commands/cloud/aws/launch-bastion.md)
* [start-bastion](/rumi-cli/commands/cloud/aws/start-bastion.md)
* [stop-bastion](/rumi-cli/commands/cloud/aws/stop-bastion.md)
