> 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/civo/resize-instance.md).

# resize-instance

Resize a service (worker) instance to a new size.

## Syntax

```bash
rumi cloud civo resize-instance \
  --api-key <token> \
  --region <region> \
  --network <network> \
  --name <name> \
  --size <size> \
  [options]
```

## Options

| Option      | Short | Description                                                   | Default  |
| ----------- | ----- | ------------------------------------------------------------- | -------- |
| `--api-key` | `-k`  | The Civo API token to use (or set `CIVO_API_TOKEN`)           | Required |
| `--region`  | `-r`  | The Civo region in which to resize the instance (e.g. `FRA1`) | Required |
| `--network` | `-n`  | The name of the network the instance is in                    | Required |
| `--name`    | `-a`  | The name of the service instance to resize                    | Required |
| `--size`    | `-z`  | The new size of the service instance (e.g. `g4s.xsmall`)      | Required |
| `--nowait`  | `-o`  | Do not wait for the instance to fully start                   | `false`  |

## Example

```bash
rumi cloud civo resize-instance \
  --api-key $CIVO_API_TOKEN \
  --region FRA1 \
  --network my-cloud \
  --name myapp \
  --size g4s.xsmall
```

## Notes

* Use [list-instance-sizes](/rumi-cli/commands/cloud/civo/list-instance-sizes.md) to discover valid `--size` values.

## See Also

* [launch-instance](/rumi-cli/commands/cloud/civo/launch-instance.md)
* [start-instance](/rumi-cli/commands/cloud/civo/start-instance.md)
* [list-instance-sizes](/rumi-cli/commands/cloud/civo/list-instance-sizes.md)
