> 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/deka-flexi/deka-flexi-network/vpc-network/configuration-port.md).

# Configuration Port

## Add Port

You can add ports to a VPC for other instances to use.

On the **Network** page, click the **Edit** button.

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

On the **Edit** page, several tabs are available cick the **Ports** tab, then click the **Add Port** button to add a new port.

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

The Add VPC Port window appears, with three columns that you must fill in.

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

<table><thead><tr><th width="176">Column</th><th>Description</th></tr></thead><tbody><tr><td><strong>Name</strong></td><td>Port name used. The minimum name length is 5 characters.</td></tr><tr><td><strong>Type</strong></td><td>Two options are available:<br><br><strong>a. Subnet:</strong> Automatically assigns an available IP address from the selected subnet.<br><strong>b. Fixed IP:</strong> Allows you to manually specify the IP address for the VPC Port.</td></tr><tr><td><strong>Subnet</strong></td><td>Defines the subnet where the VPC Port will be created. The selected subnet determines the network segment and IP address range assigned to the port.</td></tr><tr><td><strong>IP Address</strong></td><td>IP address used. For example, if the IP address on the network that uses a class C IP address is 198.18.1.0/24, then you must fill in the IP Address column with the host address starting from 198.18.1.2 to a maximum of 192.18.1 254.</td></tr><tr><td><strong>MAC Address</strong></td><td>A unique address used to identify a device. This column is optional to fill in, because when you add a port your port automatically gets a MAC Address.</td></tr><tr><td><strong>Port Security</strong></td><td>Two options are available:<br>a.Enabled can be directly used by Instances<br>b.Disabled is available in the VPC Port list but cannot be used by the Instance.</td></tr></tbody></table>

After filling in all the columns, the next step is to press the Add button to continue the process of adding ports to the VPC.

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

A notification **"port has been successfully added"** appears and the port is available in the VPC Port list.

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

## Edit Port

To update a VPC Port, on the VPC Details page, click the More (⋮) button in the port list, then select Edit.

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

You can only change the port configuration that has been added to VPC Ports, namely Name and Port Security.

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

After making the necessary changes to the VPC Port configuration, click **Update** to save the changes.

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

After the update is processed successfully, the changes are applied to the VPC Port configuration.

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

## Delete Port

{% hint style="danger" %}
Before you delete a port in the VPC, make sure there are no instances using the port you want to delete.
{% endhint %}

On the Ports tab on the VPC Details page press the Delete button in the More column.

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

Click the **yes button** to continue the deletion process.

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

The notification **"Port has been successfully deleted!"** that the port configuration has been successfully deleted.

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