> 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_compute/details-instance/attach-interface.md).

# Attach Interface

On virtual machines in the Cloudka portal service, you can attach or detach VPC interfaces and Ports that are used by the virtual machine manually by specifying the IP address for your Instance to use. To attach a VPC make sure that you have created a VPC for the VPC creation step in sub-section VPC Network. Here are the steps to attach a VPC-based interface used by a virtual machine:

* On the Cloud services portal page select the Instance menu in Deka Flexi.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/2computeinstance/2.1%20Instance%20Page.png" alt=""><figcaption><p>Attach Interface</p></figcaption></figure>

* Click the Attach Interface button in the More column.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/2computeinstance/2.157%20attach.png" alt=""><figcaption><p>Attach Interface</p></figcaption></figure>

* You can choose by port or by VPC.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/2computeinstance/2.158%20attach%20by%20port.png" alt=""><figcaption><p>Attach Interface</p></figcaption></figure>

1. **by VPC** If you choose by VPC then you must select VPC and enter the IP address that the Instance will use.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/2computeinstance/2.159%20attach%20by%20vpc.png" alt=""><figcaption><p>Attach Interface - by VPC</p></figcaption></figure>

2. **by Port** If you choose by Port but there is no Port available then you can add a port in the VPC which can be seen in sub-chapter Add Port.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/2computeinstance/2.160%20attach%20by%20port.png" alt=""><figcaption><p>Attach Interface - by Port</p></figcaption></figure>

* After filling in all the columns, press the Attach button and the notification "Interface has been successfully attached!"

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/2computeinstance/2.161%20attach%20by%20vpc.png" alt=""><figcaption><p>Attach Interface</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_compute/details-instance/attach-interface.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.
