Version: 2.0.1
OpenPanel Installation on Google Cloud
This guide will walk you through deploying OpenPanel on a Google Cloud VM instance with Ubuntu.
Prerequisitesโ
- An active Google Cloud account.
- Basic familiarity with SSH, Compute Engine, and firewall settings.
Step 1: Create a VM Instanceโ
- Log in to the Google Cloud Console.
- Navigate to Compute Engine โ VM instances โ Create Instance.
- Choose a boot disk image:
- Ubuntu 24.04
- Select a machine type meeting the minimum requirements:
- 1 CPU, 2 GB RAM (recommended:
e2-smallor equivalent)
- 1 CPU, 2 GB RAM (recommended:
- Add a network tag (e.g.,
OPENPANEL) for firewall rules. - In Network interfaces, assign a static external IP.
- Click Create to launch the VM.
Step 2: Configure Firewall Rulesโ
- Navigate to VPC Network โ Firewall rules โ Create Firewall Rule.
- Configure the rule:
- Targets: Specified target tags โ
OPENPANEL - Source IP ranges:
0.0.0.0/0 - Protocols and ports:
tcp:2087(admin panel port)
- Targets: Specified target tags โ
- Save the firewall rule.
OpenPanel manages its own internal firewall; the above rule allows external access to the admin panel.
Step 3: Connect to Your VMโ
Use SSH to connect:
ssh username@yourStaticIpAddress
Replace
usernamewith your VM username (e.g.,ubuntuordebian) andyourStaticIpAddresswith your static external IP.
Step 4: Run the OpenPanel Installerโ
Once connected, run the installer script:
bash <(curl -sSL https://openpanel.org)
Follow the prompts to select your preferred database engine and complete installation.
Step 5: Access OpenPanelโ
- Open your browser and navigate to:
https://yourStaticIpAddress:2087
- Log in using the credentials created during installation.
Notesโ
- Ensure your VM meets OpenPanel minimum requirements.
- After installation, consider restricting firewall access for better security.
- Use the OpenPanel Install Command Generator for advanced configuration options.
Congratulations! You have successfully installed OpenPanel on Google Cloud.