# Install on Google Compute

### Create a virtual machine

* On the Google Cloud Platform dashboard go to Compute Engine/VM instances.
* &#x20;Click the "CREATE INSTANCE" button.
* Enter `rport-server` as the name.
* Select a region near to you.
* Select General-purpose as machine family.
* Select N1 (Powered by Intel Skylake) as series
* f1-micro 1vCPU,614MB Memory) as machine type \~5.00 USD monthly estimate
* "Select Debian GNU/Linux 11 (bullseye)" as boot disk.
* On the firewall section enable "Allow HTTP" and "Allow HTTPS".&#x20;
* Create the VM instance by clicking the Create button

![Create a VM instance on Google Compute](/files/xoZY5vB5v1ncQdTMPte2)

### Create a custom firewall

The default firewall is not suitable for the RPort server.

Go to `VPC Network` -> `Firewall`. Click on `CREATE FIREWALL RULE` on top of the existing rules. Create the firewall rule as shown on the screenshot. It's important to apply the rule only to specify the target tag `rport-server`.

![Firewall rule for the rport server](/files/zWkRVYsFtRGa9Aa7MUy4)

Once the firewall has been created, go back to the settings of the virtual machine. Click on `EDIT` on the top. Scroll down to the Network Tags and enter `rport-server`. This attaches the newly created firewall rule to the VM. Click on `Save` at the bottom.

![Activate the firewall rule for the rport server.](/files/PJZ5gFm588NuEKGftPzq)

### Install the RPort server on your new droplet

From the list of VM instances, grab the public ipv4 address of your newly created instance.&#x20;

![](/files/-MeuS2jkYkq7LjOuaPqR)

Connect over SSH to the instance using the `root` user. Usually, you must specify the private key created for the instance or the region. For example, `ssh root@143.198.182.188`

{% hint style="info" %}
The username is usualy extracted from the SSH key and therefore it's very likely not `root`.
{% endhint %}

👉 Follow the generic instructions [how to install RPort on a VM](/install-the-rport-server/install-rport-on-any-virgin-cloud-vm.md).


---

# 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://kb.rport.io/install-the-rport-server/install-on-google-compute.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.
