> 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/deka-vpn-gpu/remote-instance-using-putty-1.md).

# Remote Instance using Putty

In this guide we will run virtual remote control of the Service Portal Cloudeka machine using PuTTY from your computer.

{% hint style="warning" %}
To run remote control of virtual machines using putty, make sure you have done the following configuration:

a. [Create VPC](/deka-flexi/deka-flexi-network/vpc-network/create-vpc-network.md)

b. [OpenVPN Configuration](/deka-vpn-gpu/openvpn.md)

c. [IPSec COnfiguration](/deka-vpn-gpu/configuration-deka-vpn-ipsec.md)
{% endhint %}

The case examples used in this guide are two projects, each of which has a virtual machine on an Instance in the Service Portal Cloudeka. The following IP addresses are used in each project.

| Column                     | Project A      | Project B       |
| -------------------------- | -------------- | --------------- |
| (a) VPN - Floating IP      | 103.191.14.149 | 103.168.135.220 |
| (b) VPN - Network          | 10.10.10.0     | 10.20.20.0      |
| (c) VPN - Network OpenVPN  | 20.20.20.0/24  | -               |
| (d) Instance - Gateway IP  | 10.10.10.1     | 10.20.20.1      |
| (e) Instance - Internal IP | 10.10.10.55    | 10.20.20.6      |

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

<figure><img src="/files/6JTloTrdt6lz1sLrYUix" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/4beG9PjaYGGwsJx2EsLu" alt=""><figcaption></figcaption></figure>

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

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

Here are the steps to run remote control of virtual machines in the Service Portal Cloudeka using PuTTY:

* Make an OpenVPN connection using Viscosity Inline from Project A.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/21vpn/21.83%20connect.png" alt=""><figcaption></figcaption></figure>

* Enter the Username and Password used according to the OpenVPN User list in Project A.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/21vpn/21.84%20login.png" alt=""><figcaption></figcaption></figure>

* Run putty on your computer. Enter the IP address used by the virtual machine in Project A.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/21vpn/21.85%20putty.png" alt=""><figcaption></figcaption></figure>

* Press the Accept button to enter the Project A virtual machine.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/21vpn/21.86%20credential.png" alt=""><figcaption></figcaption></figure>

* Enter the username and password used by the virtual machine.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/21vpn/21.87%20login.png" alt=""><figcaption></figcaption></figure>

* You have successfully logged into the Project A virtual machine.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/21vpn/21.88%20login-instance.png" alt=""><figcaption></figcaption></figure>

To be able to test the connection to Project B, you must conImage Security on Project A on the Service Portal Cloudeka, namely adding the IP address of the subnet used by Project B.

* On the Project A page in the Service Portal Cloudeka, select the Security menu and press the Edit button to make configuration changes.

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

* On the Edit Security page, you will add two new rules to Inbound by pressing the New Rule button.

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

* The first type of rule is SSH, while the second type of rule is All ICMP Rule. In each Source column for both Types, enter the IP address of the subnet used by Project B, namely 10.20.20.0/24.

<figure><img src="/files/1d5eoh1Qb4F6JuVMFWqX" alt=""><figcaption></figcaption></figure>

* Press the Save button to save changes.

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

* Do the same steps to conImage Security on Project B by adding the subnet IP address on Project A, namely 10.10.10.0/24.

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

* Enable IPsec on Project A, make sure the IP address used is the Project B subnet.

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

* Test the connection via Putty from the Project A virtual machine to the Project B virtual machine by inputting the following syntax: ping 10.20.20.6.

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/21vpn/21.95%20sec-add-ip.png" alt=""><figcaption></figcaption></figure>

* The results of testing the network connection to the Project B virtual machine were completed in 3005 milliseconds (± 3 seconds).

<figure><img src="https://putri.box.cloudeka.id/cloudeka-assets/static/images/21vpn/21.96%20sec-add-ip.png" alt=""><figcaption></figcaption></figure>
