How to Setup CyberPanel on AWS EC2
If you want to setup CyberPanel on AWS EC2, read the article and follow the steps to do so. We will go from signing up on Amazon AWS to setting up an instance and installing CyberPanel
After reading this article you can easily set up an EC2 instance with Cantos 8 and install CyberPenel on it. Follow all the steps mentioned below.
Table Of Contents:
- AWS Access and Basics
- Create an EC2 instance on AWS
- EC2 Setup with Centos 8 minimal
- Ports Configuration (Firewall Configurations)
- Access Key Setup
- Access server using Bitvise
- Install CyberPanel
AWS Access and Basics:
To Set up an EC2 instance and install CyberPanel on AWS. First of all, you need an AWS account to do this. If you already have an AWS account. Log in using this link. And provide the required information.
If you do not have an account, go to this link. And provide the required information.
Amazon Web Services is a platform by Amazon that provides Web services globally.
Create an EC2 instance on AWS:
You can see this dashboard when you access the AWS console.
Go to the Services option on the top menu.
Click on the Services and you can see this screen.
EC2 Setup with Centos 8 minimal
You can see the EC2 option on you screen click to start the process.
Once you click on the EC2 option now this screen appear.
From here you can create an EC2 instance with Centos 8 as OS. You have to click on the Launch Now option and proceed to the next steps.
1.1. Choose AMI
Choose an Amazon Machine Image (AMI). Here you have to select the operating system image that will be used in this Instance.
On the screen above you have to go on the AWS Marketplace Option.
Here you have to search for Centos. (You can also go for any operating system you want to install but make sure it is supported by CyberPanel).
From the different versions of Centos, we go for the CentOS 8 Minimal (CentOS 8.2.2004).
Click on Select button to proceed with the instance set up.
After selecting the operating system you can see a Pricing Page. Click Continue to processed (this is just a description of how much you will be charged depending upon the instance size you choose on next screen)
1.2. Choose Instance Type:
In this step, you have to choose the instance size of your choice. And click for the next step. I choose a general that has a free trial.
1.3. Configure Instance
In this step leave the settings as default if you want to change anything go according to your requirement. If you don’t want to change anything then leave this as default and processed to next.
1.4. Add Storage
Add or change the storage according to your requirement. Processed to the next after changes.
1.5. Add Tags
Add any tags you want to add in this step. Like name, title etc.
Add the information like this:
After this processed to next.
1.6. Configure Security Group
This is the most important part of this process. You must have to add all CyberPanel ports before actually installing CyberPanel otherwise some features of CyberPanel may not work.
There is only one port in default configuration which looks like:
Add all the ports as seen in the picture below
Add IP as 0.0.0.0/0, ::/0
Ports that are needed to open for CyberPanel to work properly (In IP Address section you may want to replace 0.0.0.0/0 with your IP for some services like SSH to better protect your server against attacks):
In the last step of the EC2 setup review all the information you added before in the previous steps.
Access Key Setup:
Once set up is completed you have to create a key pair to access server otherwise you can not enter SSH to install CyberPanel. You can upload an existing key as well but we will create and download new key.
Download this Key Pair in your local computer, so that we can use it later to access this instance.
Use this key and Launch this instance.
You can see the Amazon EC2 will not set-up your instance in few seconds and it will be ready to use.
After completion of this process, you can check your instances through. Services-> EC2 -> Instances here you can see all information.
Access server using Bitvise:
Once all is done for the EC2 setup. Its time to access the server and install CyberPanel. You can access your server using different tools but for this article, we will use Bitvise. If you don’t have Bitvise installed on your computer download it from here.
After downloading provide your IP address for Host field, Username will be centos(Default username is centos). Port 22. Set the initial methods to a public key and client key to auto.
To grant the access to your key click on the Client key manager. and on the next screen click on the import option.
Select you key file and i will appear on the Client Key Manager.
After all, click on the login button to get server access.
Once terminal was launched.
Follow this guide to install CyberPanel.
Read More: HOW TO CHANGE TIMEZONE ON LINUX SERVER