How to Setup cPanel on AWS

If you are hosting websites on AWS installing cPanel/WHM makes them easy to manage.

The Amazon Cloud hosting makes it easy to start with a single site and use the flexibility of AWS to add more sites over time.

This article is going to cover how to setup cPanel & WHM on an EC2 CentOS instance. AWS offers cloud hosting services. Here are some of the best cloud hosting alternatives to consider as well.

  1. Sign in to your AWS account

How to Setup cPanel on Amazon Web Services

  1. Go to the AWS Marketplace and search for “cPanel”

How to Setup cPanel on Amazon Web Services

  1. Check the Estimated Pricing and click “Accept Terms”. It May Take a Moment or Two For Your Request to Be Processed

How to Setup cPanel on Amazon Web Services

  1. Click “Continue to Configuration” When Its Available

How to Setup cPanel on Amazon Web Services

  1. Select Your Configuration Options, for cPanel it is Just the Version and Region and Click “Continue to Launch”

How to Setup cPanel on Amazon Web Services

  1. Choose the Way Your Launching the Instance and the Size of the Instance

How to Setup cPanel on Amazon Web Services

  1. Create a New Security Group by Pressing “Create New Security Group Based on Seller Settings”

How to Setup cPanel on Amazon Web Services

  1. Name the Security Group and Add a Description The Click “Save”

How to Setup cPanel on Amazon Web Services

  1. Now Create a Key Pair Using the “Create a key pair in EC2” Link

How to Setup cPanel on Amazon Web Services

  1. Click “Create Key Pair”.

How to Setup cPanel on Amazon Web Services

  1. Name the Key and Press “Create”. A Private Key File Will be Generated. You Will Need This To Connect To Your Instance Via SSH.

How to Setup cPanel on Amazon Web Services

  1. Click “Launch” in the Marketplace Window to Launch Your EC2 Instance

How to Setup cPanel on Amazon Web Services

  1. It’s Going To Take a Minute Or Two For the Instance to Start. In the EC2 Instance Manager Wait Until Your Instance’s State is “running”

How to Setup cPanel on Amazon Web Services

  1. Create a Private Key using the .PEM File Downloaded When You Created the Key Pair. Connect to You Instance Using SSH and the IP. The username is “centos”

How to Setup cPanel on Amazon Web Services

  1. Switch to the Root User and Set a New Password

$ sudo su root
# passwd
  1.  Now if You Browse To Your Instance IP on Port 2087 You Can Get To Your WHM Console. Login With The Root Login You Just Setup. Agree to The License Agreement.

How to Setup cPanel on Amazon Web Services

  1. On the Next Screen Setup Your Admin Email Contact Addresses And Host Name And Other Networking Options Then Click “Save and Goto Step 3”

How to Setup cPanel on Amazon Web Services

  1. On the Next Screen We’re Going to Define the IP Adresses CPanel Can Use. Alternatively click “Skip this step and use my server’s default settings.”

How to Setup cPanel on Amazon Web Services

  1. On the Next Screen Configure Your DNS

How to Setup cPanel on Amazon Web Services

  1. Setup Services Such as FTP or again click “Skip this step and use my server’s default settings.”

How to Setup cPanel on Amazon Web Services

  1. Configure Your Disk Quotas and Click “Finish”

How to Setup cPanel on Amazon Web Services

You’re now setup and ready to begin using WHM and cPanel. You may get a few extra prompts about new features before reaching the WHM dashboard. This is a great way to make a scalable web hosting platform controlled by cPanel using AWS.

How to Setup cPanel on Amazon Web Services

Check out these top 3 Cloud hosting services:

HostArmada
$1.79 /mo
Starting price
Visit HostArmada
Rating based on expert review
  • User Friendly
    4.5
  • Support
    4.5
  • Features
    4.5
  • Reliability
    4.5
  • Pricing
    4.0
IONOS
$1.00 /mo
Starting price
Visit IONOS
Rating based on expert review
  • User Friendly
    4.5
  • Support
    4.0
  • Features
    4.5
  • Reliability
    4.5
  • Pricing
    4.3
Hostinger
$1.99 /mo
Starting price
Visit Hostinger
Rating based on expert review
  • User Friendly
    4.7
  • Support
    4.7
  • Features
    4.8
  • Reliability
    4.8
  • Pricing
    4.7

How to Host a Website on AWS Lightsail

This tutorial will show you how to host your website on AWS Lightsail, which is
2 min read
Mark Armistead
Mark Armistead
Author

How to Use Docker Containers with AWS EC2

EC2 is a popular product that provides scalable virtual servers in the cloud whi
4 min read
Max Ostryzhko
Max Ostryzhko
Senior Web Developer, HostAdvice CTO

How to Use Docker Containers with AWS EC2

EC2 is a popular product that provides scalable virtual servers in the cloud whi
4 min read
Max Ostryzhko
Max Ostryzhko
Senior Web Developer, HostAdvice CTO

How to Run VPS Networks in AWS EC2

In this guide, we will look at how to set up Virtual Private Server (VPS) with A
4 min read
Michael Levanduski
Michael Levanduski
Expert Hosting Writer & Tester
HostAdvice.com provides professional web hosting reviews fully independent of any other entity. Our reviews are unbiased, honest, and apply the same evaluation standards to all those reviewed. While monetary compensation is received from a few of the companies listed on this site, compensation of services and products have no influence on the direction or conclusions of our reviews. Nor does the compensation influence our rankings for certain host companies. This compensation covers account purchasing costs, testing costs and royalties paid to reviewers.
Click to go to the top of the page
Go To Top