---
title: "ezgh compute instances resize"
description: "Change an instance's type."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.ezghcloud.com/llms.txt
> Use this file to discover all available pages before exploring further.

# ezgh compute instances resize

{/* Generated by ezgh-cli's internal/tools/clidocs from the ezgh command tree. Don't edit: change the command's help in ezgh-cli and regenerate. */}

```sh
ezgh compute instances resize <instance> <instance-type> [--wait] [flags]
```

Change an instance's type. A running instance is restarted with the new type, on its host or another one; a stopped one starts with it next time.

Part of [`ezgh compute instances`](/cli/reference/compute-instances).

## Examples

```sh
ezgh compute instances resize web-1 t0.large --wait
```

## Flags

| Flag | Type | Default | Description |
| --- | --- | --- | --- |
| `--wait` | boolean |  | wait until it's resized, and print it then |
| `--wait-timeout` | duration | `10m0s` | how long `--wait` waits |

This command also takes the [global flags](/cli/reference#global-flags).

Source: https://docs.ezghcloud.com/cli/reference/compute-instances-resize/index.mdx
