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

# resize-instance

Retype a running service instance. The instance is stopped, its type is changed via ModifyInstanceAttribute, and it is restarted.

## Syntax

```bash
rumi cloud aws resize-instance \
  --profile <profile> \
  --network <network> \
  --name <instance> \
  --instance-type <type> \
  [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 the instance is in                | Required    |
| `--name`          | `-a`  | The name of the service instance to resize            | Required    |
| `--instance-type` | `-t`  | The target EC2 instance type (e.g. t3.large)          | Required    |
| `--no-wait`       | `-o`  | Whether to not wait for the instance to fully restart | `false`     |

## Example

```bash
rumi cloud aws resize-instance \
  --profile my-aws-profile \
  --network my-network \
  --name w1 \
  --instance-type t3.large
```

## See Also

* [start-instance](/rumi-cli/commands/cloud/aws/start-instance.md)
* [stop-instance](/rumi-cli/commands/cloud/aws/stop-instance.md)
* [list-instances](/rumi-cli/commands/cloud/aws/list-instances.md)
