How to Setup WHM/cPanel in AWS

This tutorial demonstrates how to setup WHM/cPanel on your AWS account, which is a server management tool similar to Plesk and quite popular.

Why do you want to Install WHM/cPanel

cPanel is a web hosting control panel developed by cPanel, L.L.C., an American corporation. The software provides a graphical interface and automation tools designed to simplify the process of hosting a web site to the website owner or the “end-user”. Wikipedia

According to Datanyze, cPanel is used on more than 223,479 websites worldwide. So now we know that cPanel is a server management software, the next question is why do we need to install it?

Basically, when you create a new instance with Ubuntu / Amazon Linux, you actually don’t take any server management software. All you need to do via shell with command prompt. Like create a new virtual host or assigning a new domain to a folder, these types of tasks you have to do it via SSH if you don’t have installed any server management software.

cPanel is a handy tool that you can use to manage your commercial web hosting and allow your customers to do a lot of the tasks from a web interface. So this is one of the main reasons that you should learn how to install cPanel on your EC2 instance.

How to Install WHM/cPanel

Now you know about cPanel, Next question is how you are going to install cPanel. I have shown here, how you can find the cPanel AMI in the marketplace.
I have also displayed, how to connect to your server after creating the instance from AMI.

One tip for those who want to use WHM/cPanel in AWS for their hosting business is to use an elastic IP address. Otherwise, every time when the server reboots, you will get a new IP address, and then you need to change your A records for all the domains which you have linked to your server.

Conclusion

So in summary, if you want to do hosting business commercially then WHM/cPanel is a nice software which you can use to manage your hosting business and give your clients a web interface to manage all there files/database from there. At this time of writing, more than 634,254 websites usages WHM/cPanel as their server management software. So it’s better to know how to set up WHM/cPanel in AWS so that you can start your own hosting business or can work for a hosting company as a system administrator.

Interested in WordPress, checkout my other articles on WP or visit my WordPress blog topwptips.com

Atiqur Rahman

I am MD. Atiqur Rahman graduated from BUET and is an AWS-certified solutions architect. I have successfully achieved 6 certifications from AWS including Cloud Practitioner, Solutions Architect, SysOps Administrator, and Developer Associate. I have more than 8 years of working experience as a DevOps engineer designing complex SAAS applications.

This Post Has One Comment

Leave a Reply