> For the complete documentation index, see [llms.txt](https://docs.cloudeka.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cloudeka.ai/guidance-for-enterprise/cloudeka-api-list/command-reference/cldkctl-flexi/instance/resize.md).

# resize

Resize a flexi instance in your project. This command allows you to resize a flexi instance.

## Usage

```
cldkctl flexi instance resize [name] [flags]
```

## Steps

Follow the steps below to run and view the result of this command:

#### Interactive Mode

1. Run the following command in your terminal:

```
cldkctl flexi instance resize [name] -i 
```

2. Replace **\[name]** with the name of the instance you want to resize.
3. Select the **plan type** for the instance.
4. Select the **instance size** based on the available configuration.
5. Confirm the resize operation by selecting **Confirm**.

<figure><img src="/files/HA9jSMk6A9PJPLfmj9dM" alt=""><figcaption></figcaption></figure>

6. Once completed successfully, the terminal displays the success message.

<figure><img src="/files/HFwcUFNYJkpTYc4F4ufx" alt=""><figcaption></figcaption></figure>

#### Non-Interactive Mode

1. Provide all required values using command flags.
2. Add `--auto-confirm` or `-y` to skip confirmation prompts in non-interactive mode.
3. Run the command in your terminal.
4. Once completed successfully, the terminal displays the success message.

<figure><img src="/files/psnY7TMFEDH2UmJ1Qlkm" alt=""><figcaption></figcaption></figure>

## Flags

{% hint style="info" %}
This command supports [global flags](/guidance-for-enterprise/cloudeka-api-list/global-flags.md). Refer to the Global Flags section for details
{% endhint %}

| Flag           | Shorthand |       | Description                |
| -------------- | --------- | ----- | -------------------------- |
| --auto-confirm | -y        | false | Skip confirmation prompt   |
| --flavor-id    |           |       | Instance size/flavor ID    |
| --help         | -h        |       | help for resize            |
| --interactive  | -i        | false | Force interactive TUI mode |
| --project      | -p        |       | Specify project ID         |
