# 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](https://1574570054-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MekeI9EovpQqbUTQSdM%2Fuploads%2FOb6VQCnhdIBs2e52nxJH%2Fcreate-rportd-on-gpc.png?alt=media\&token=6b120f01-d8f1-4608-8d15-2bdc1e1710c3)

### 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](https://1574570054-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MekeI9EovpQqbUTQSdM%2Fuploads%2FxTFEigyMitR8fng7fvDC%2Fimage.png?alt=media\&token=48ac90b6-65e6-4493-b0b6-71578bd4b6e7)

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.](https://1574570054-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MekeI9EovpQqbUTQSdM%2Fuploads%2FlqhIlSxGCsQ37ZXcphMn%2Fimage.png?alt=media\&token=c72d57a9-3c22-4908-8d5e-db7752497f47)

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

![](https://1574570054-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MekeI9EovpQqbUTQSdM%2F-MeuNnQxmCL1cRZx97Pj%2F-MeuS2jkYkq7LjOuaPqR%2Fimage.png?alt=media\&token=89dc4dae-3262-4b84-bb05-0d68ec8705ea)

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](https://kb.rport.io/install-the-rport-server/install-rport-on-any-virgin-cloud-vm).
