> For the complete documentation index, see [llms.txt](https://docs.cloudeka.id/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cloudeka.id/deka_flexi/deka-flexi-network/6.1_vpc_network/add-editport.md).

# Add/EditPort

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

* On the Network page, select the VPC that you want to add the port to.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/6network/6.9%20add%20port.png" alt=""><figcaption><p>Add Port</p></figcaption></figure>

* Select the Ports tab and press the Add Port button.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/6network/6.10%20add-port.png" alt=""><figcaption><p>Add Port</p></figcaption></figure>

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

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/6network/6.11%20add-port%20(a).png" alt=""><figcaption><p>Add Port</p></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>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="https://putri.box.cloudeka.id/cloudeka-assets/static/images/6network/6.12%20add-port-b.png" alt=""><figcaption><p><em>Add Port</em></p></figcaption></figure>

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

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/6network/6.13%20add-port-c.png" alt=""><figcaption><p>Add Port</p></figcaption></figure>

To be able to update the data used by the port on the VPC Details page, press the More button and select Edit.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/6network/6.14%20edit-port-a.png" alt=""><figcaption><p>Edit Port</p></figcaption></figure>

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

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/6network/6.15%20edit-port-b.png" alt=""><figcaption><p>Edit Port</p></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.cloudeka.id/deka_flexi/deka-flexi-network/6.1_vpc_network/add-editport.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
