> 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/network/floatingip/create.md).

# create

Create a new floating ip network in your project. This command allows you to add a new floating ip with the specified details.

## Usage

```
cldkctl flexi network floatingip create [flags]
```

## Aliases

```
create, create, add
```

## 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 network floatingip create -i
```

2. The terminal displays the **Floating IP Type** options.

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

3. Select the **Billing Type** for the floating IP.

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

4. Select the **Resource Type**, then choose the resource where the floating IP will be attached.
5. Select the instance from the **Resource** list.

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

6. Select the **VPC Port** associated with the selected instance.

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

7. Confirm the creation by selecting **Confirm**, or cancel the process by selecting **Cancel**.

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

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

<figure><img src="/files/6VSBoKFjJ1VeTON9ezwj" 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/cBVOWA9UTK5YpB666swv" 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 | Default | Description                                                                   |
| --------------- | --------- | ------- | ----------------------------------------------------------------------------- |
| --auto-confirm  | -y        | false   | Skip confirmation prompt in non-interactive mode                              |
| --billing-type  |           |         | Billing type: Monthly, PPU, or Trial (required in non-interactive mode)       |
| --help          | -h        |         | Help for the create command                                                   |
| --interactive   | -i        | false   | Force interactive TUI mode                                                    |
| --ip-type       |           |         | Floating IP type: reserved or non-reserved (required in non-interactive mode) |
| --port-id       |           |         | VPC Port ID (required in non-interactive mode)                                |
| --resource-id   |           |         | Resource (instance) ID (required in non-interactive mode)                     |
| --resource-type |           |         | Resource type: Instance                                                       |
