> 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>
