# add-floatingip

Add floating ip to a flexi instance in your project. This command allows you to add floating ip to a flexi instance.

## Usage

```
cldkctl flexi-intance add-floatingip[name]  [flags]
```

## Steps

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

1. Run the following command in your terminal:

```
cldkctl flexi-instance add-floatingip [instance-name] 
```

2. Replace **\[instance-name]** with the name of the instance.
3. Select the **floating IP type**.

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2FflncZFd54sPggqqDnSxc%2Fimage.png?alt=media&#x26;token=36a47918-0ef6-4c21-8597-9b38195aadb4" alt=""><figcaption></figcaption></figure>

4. Select the **billing type**.

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2FmhOllLxBjhhxAlD0C6GJ%2Fimage.png?alt=media&#x26;token=f9d50cdf-c654-4d49-aaf1-9f9b5baadfff" alt=""><figcaption></figcaption></figure>

5. Select the **port**.
6. Confirm the floating IP addition by selecting **Confirm**.

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2F6AIea8UR1YhvmtJDvlUF%2Fimage.png?alt=media&#x26;token=af4fd4c4-79fd-4fdf-b073-dbdcb6456c37" alt=""><figcaption></figcaption></figure>

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

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2FEEBKzEvTclWF5lIVMHZo%2Fimage.png?alt=media&#x26;token=004bfaad-5433-415b-b6a1-4307f3defcd9" alt=""><figcaption></figcaption></figure>

## Flags

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

<table><thead><tr><th width="234.44451904296875">Flag</th><th>Description</th></tr></thead><tbody><tr><td>-h, --help</td><td>Help for the  add-floatingip command.</td></tr><tr><td>-p, --project string</td><td>Specify project ID.</td></tr></tbody></table>
