Write Review

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:

Was this article helpful?