Skip to main content

Amazon Web Services Installer

On this page, we explain step by step how to install CloudPanel on an EC2 instance on Amazon Web Services.

Launching an EC2 Instance#

  1. Log in to the AWS Management Console.

  2. Go to the EC2 Service, and click on Launch Instances.

Click on the Launch Instances Button

Name and tags#

Enter the name of your EC2 Instance, e.g., my-cloudpanel-instance.

Name and Tags

Choose Operating System#

  1. Select Ubuntu 22.04 or Debian 11 as OS Image. Both Architectures x86 and ARM are supported by CloudPanel.
OS Image

Instance Type#

Choose an instance type and ensure that it fits the minimum requirements.

Instance Type

Key pair (login)#

Select a Key pair or Create a new key pair to log in via SSH after launching the instance.

Key Pair

Network settings#

  1. Click on Edit to make changes on the Network Settings.
Edit Network Settings
  1. Select the VPC, Subnet, and enter a Security Group Name and Description.
Edit Network Settings

Inbound security groups rules#

CloudPanel Firewall

All pre-configured CloudPanel Firewall Rules are not needed and should be removed.
If you want to use the CloudPanel integrated firewall for whitelisting ports, create a security group with one rule which allows All TCP. In that case, all traffic is filtered by the CloudPanel Firewall and not by AWS.

Create a Security Group with the following rules:

  • SSH (22) - For your IP only
  • HTTP (80) - For everyone
  • HTTPS (443) - For everyone
  • CloudPanel (8443) - For your IP only
Inbound security groups rules

Configure Storage#

Configure as minimum 10 GB disk size and select gp3 (Latest SSD generation).

Configure Storage

Launch Instance#

Click on the button Launch Instance to launch the instance.

Launch Instance

Create Elastic IP Address#

A static IP (Elastic IP Address) is needed for running web applications.

  1. To create an Elastic IP Address click in the left navigation on Network & Security --> Elastic IPs.

  2. Click on button Allocate Elastic IP address to create an Elastic IP Address.

  3. Select the Allocated IP Address and Associate it to your launched instance.

Associate Elastic IP Address

Install CloudPanel#

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

  1. Login via SSH to the EC2 Instance.
ssh -i path_to_your_private_key.pem ubuntu@yourElasticIpAddress
  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 -sSL https://installer.cloudpanel.io/ce/v2/install.sh | sudo CLOUD=aws bash

Access CloudPanel#

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

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

Ignore Self-Signed Certificate