Skip to main content

Google Compute Engine Installer

On this page, we explain step by step how to install CloudPanel on Google Compute Engine.

Launching an Instance

  1. Log in to the Google Cloud Console.

  2. In the left navigation, click on Compute Engine --> VM instances and click on the button Create Instance.

Create Instance

Name and Region

Enter the Name of the instance and select a Region to deploy.

Name and Region

Machine Configuration

Select the Machine Family, Series and Machine Type.

Machine Type

Boot Disk

Select Ubuntu 24.04 or 22.04 or Debian 12 or 11 as Boot Disk Image.

Minimum Size

Configure as minimum 10 GB Boot Disk Image and select SSD persistent disk as Boot Disk Type.

Boot Disk


Allow HTTP and HTTPS Traffic.



  1. Add cloudpanel in Network tags.
Network Tags
  1. Click on External IPv4 address and then on RESERVE STATIC EXTERNAL IP ADDRESS.
Create IP Address

Enter a Name for the Static IP Address and click on Reserve.


Click on the button Add Item and enter your Public SSH Key.

Add SSH Key


Click on the button Create to launch the VM Instance.

Firewall Rules

  1. To access CloudPanel later, we need to create a Firewall Rule.

  2. Click on CREATE FIREWALL RULE and create the following rule:

Name: allow-cloudpanel-all
Targets: Specified target tags
Target tags: cloudpanel
Source filter: IP ranges
Source IP ranges:
Protocols and ports: Allow all


This firewall rule opens ALL ports. CloudPanel has an integrated Firewall which takes care of the ports.

If you want to use the Firewall Rules from Google, you need to open the TCP ports: 22, 80, 443, and 8443 (CloudPanel).
Also, open port 443 for UDP to allow HTTP3 connections.
Don't forget to remove all rules in the admin area of CloudPanel to disable the UFW Firewall.

Firewall Rule

Install CloudPanel

After launching the Instance, log in with SSH and run the installer script.

  1. Login via SSH to the Instance.

The UserName is either the UserName you specified when you created the SSH key or the one defined in your Google Profile.

Check the following site for a step-by-step guide.

ssh -i path_to_your_private_key username@yourIpAddress
  1. Switch to the root user:
sudo su root
  1. Update the system and install the required packages.
apt update && apt -y upgrade && apt -y install curl wget sudo
  1. Run the installer with your preferred Database Engine.
curl -sS -o; \
echo "d5a88a6d7ad05e3afa019b41f5aed5a61311917ef5516f04b6cf6248b414186c" | \
sha256sum -c && sudo CLOUD=gce bash

Access CloudPanel


For security reasons, access CloudPanel as fast as possible to create the admin user. There is a small time window where bots can create the user. If possible, open port 8443 only for your IP via firewall.

You can now access CloudPanel via Browser: https://yourIpAddress:8443

Ignore the self-signed certificate warning and click on Advanced and Proceed to continue to CloudPanel.

Ignore Self-Signed Certificate