Skip to main content

Microsoft Azure Installer

On this page, we explain step by step how to install CloudPanel on Microsoft Azure.

Launching a Virtual Machine

  1. Log in to the Microsoft Azure Portal.

  2. Go to Virtual Machines and click on Azure virtual machine.

Create Virtual Machine

Instance details

Enter the name of your Virtual Machine, select a Region, select Ubuntu 24.04 or 22.04 or the Debian 12 or 11 image
and choose the size of your instance.

Instance Details

Administrator account

As Authentication type select SSH Public Key (recommended) or Password.

On the following site, you can learn how to create an SSH Public Key:
https://docs.microsoft.com/en-us/azure/virtual-machines/linux/mac-create-ssh-keys

Enter the Username and your SSH Public Key.

SSH Key

Inbound port rules

Select which virtual machine network ports are accessible from the public internet.
You can specify more limited or granular network access on the Networking tab.

Select the inbound ports: HTTP, HTTPS and SSH and click on the button Next: Disks >

Inbound port rules

Disks

Select Premium SSD as OS disk type and continue to Review + create.

Premium SSD

Review + create

Click on the button Create to launch your virtual machine.

Review and Create

Firewall

To access the CloudPanel after the installation, we need to create a firewall rule.

  1. Click in the left navigation on Networking --> Network settings and click on the button Create port rule.
Firewall Rule
  1. Create a firewall rule to allow all TCP traffic.
Security

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 Azure, 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.

Source: Any
Source port ranges: *
Destination: Any
Service: Custom
Destination port ranges: 0-65535
Protocol: Any
Acton: Allow
Priority: 100
Name: Allow_All

Add Firewall Rule

Install CloudPanel

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

  1. Login via SSH to the Instance.
ssh -i path_to_your_private_key azure@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 https://installer.cloudpanel.io/ce/v2/install.sh -o install.sh; \
echo "2aefee646f988877a31198e0d84ed30e2ef7a454857b606608a1f0b8eb6ec6b6 install.sh" | \
sha256sum -c && sudo CLOUD=msa bash install.sh

Access CloudPanel

Security

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