# create

Create a new flexi security in your project. This command allows you to define and create a new flexi security.

## Usage

```
cldkctl flexi-security create [flags]
```

## Aliases

```
create, add, new
```

## Steps

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

1. Run the following command in your terminal:

```
cldkctl flexi-security create 
```

2. Enter the **security name** and **description**.

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2F382oT3QPeSl8e5KKCz3R%2Fimage.png?alt=media&#x26;token=3a09ea3c-76f1-4f36-aac3-0665474b6ab4" alt=""><figcaption></figcaption></figure>

3. Select the instances to which the security group will be applied.

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2F5cnnDs1hdxgwj89VzSci%2Fimage.png?alt=media&#x26;token=29148827-a7f3-44d2-a9d1-c344fec0af12" alt=""><figcaption></figcaption></figure>

4. Choose whether to **add an inbound rule**.

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2FKGci225F3XltXFxGPwrs%2Fimage.png?alt=media&#x26;token=063176fb-8c3a-4c3c-9ed7-79672946935e" alt=""><figcaption></figcaption></figure>

5. Choose whether to **add an outbound rule**.

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2FwrMhHnAK0Ka21QKKvwlq%2Fimage.png?alt=media&#x26;token=0fac16a1-9814-4637-be91-55b5358bc330" alt=""><figcaption></figcaption></figure>

6. Confirm the security group creation.

<figure><img src="https://2882153758-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2Fi9YWb69HFXLHYlXffReU%2Fuploads%2Fy0L2VFt4LtbJHmeDseEK%2Fimage.png?alt=media&#x26;token=f2c96959-5a3d-4e86-b8a0-1c89e7bca905" 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%2FjrkSlzbW6ZB2Ivesk2Df%2Fimage.png?alt=media&#x26;token=bc74dae3-576c-4e31-a83e-95ab1f67112d" 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 %}

| Flag       | Description                  |
| ---------- | ---------------------------- |
| -h, --help | Help for the create command. |
