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.
Sign in to your AWS account

- Go to the AWS Marketplace and search for “cPanel”

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

Click “Continue to Configuration” When Its Available

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

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

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

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

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

- Click “Create Key Pair”.

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

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

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”

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”

Switch to the Root User and Set a New Password
$ sudo su root # passwd
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.

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

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.”

On the Next Screen Configure Your DNS

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

Configure Your Disk Quotas and Click “Finish”

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.

Check out these top 3 Cloud hosting services:
Hostinger
IONOS
Flashcloud


