# Connect to VM Instance

This document describes how to connect to a VM instance. you can access it securely from your computer using Remote Desktop Protocol (RDP) for Windows Server instance or Secure Shell (SSH) for Linux instance or Cloudeka portal, here's how to access it.&#x20;

{% hint style="success" %}
Before you connect, make sure the following prerequisites are met:

* Your VM instance has a Public IP/Floating IP, if you want access from the public.
* Your Cloudeka Firewall rule allows TCP inbound traffic from your client's public IP address to your instance using port 3389 for Remote Desktop Protocol (RDP) & port 22 for Secure Shell (SSH).
  {% endhint %}


---

# Agent Instructions: 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:

```
GET https://docs.cloudeka.id/deka_flexi/deka_flexi_compute/connect-to-vm-instance.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
