it’s time to create an Instance to run on your VPC
Category : Khuyến Mại
Are you 10+ websites owner tired of restrictive VPS and other “cloud hosting” offers that are nothing but “repackaged” shared hosting.
Why not to build your own cPanel / WHM cloud server.
Actually that takes less than 20 minutes and will save you lots of money and headache in feature.
DO IT YOURSELF Build Your Own cPanel Cloud Hosting with Amazon AWS: Part 1.
January 12, 2017 Surprised.
Below, you will find the instruction on how to build your own cPanel Cloud Hosting Server with Amazon AWS just right now.
What are the advantages: Almost 100% uptime.
Immediate access to all functions and features you need.
Your own resource management.
Scale up and down anytime with just a couple of clicks or even automate this.
No “bad neighborhood effect”.
More websites you host, more economy you get.
Create your VPC (Virtual Private Cloud)
Log into your Amazon AWS Console account or sign up here if you don’t have one.
Select a data center where you would like to deploy your VPC
Choose where to deploy your VPC
TIP: Generally, it’s recommended to choose a data center that is nearest to your web site visitors, however any US-based Amazon data center is OK for “all over the world” traffic.
Now you are in Amazon AWS Console.
Search for VPC – that’s what we need and click it.
Once done, you will see VPC Dashboard
Here you have to click Start VPC Wizard
VPC with a Single Public Subnet is what you need for your Private Cloud
Give name to your VPC.
Your Cloud Hosting, for example and leave other fields intact.
Then, click Create VPC.
It takes about ten seconds to create your VPC.
Once done you will see Your VPC has been successfully created message
Now, click OK.
Your VPC is ready.
It’s time to set Security Group.
What is Security Group.
It’s a list of rules on how your VPC can be accessed from Internet.
It’s an external Firewall that protects your Private Cloud from unauthorized access.
There are Inbound and Outbound Rules.
Each Inbound Rule defines allowed port and IP address to access from, while an Outbound Rule defines port and IP address that your VPC allowed to communicate to.
All ports and IP addresses that are not in the list are blocked by default.
Step 2. Set Security Rules.
Follow arrow tags in exact order as shown on illustration.
Start with Select Security Groups.
Now choose your VPC.
Then select Inbound Rules.
And click Edit.
Set Inbound Rules as shown below and click Save.
TIP: For better security: you can assign your IP address to 22 port instead of 0.0.0.0 to limit SSH access from your IP address only.
Next, set Outbound Rules to pass all the traffic from your VPC to Internet without limitations as shown.
Once you are done with setting up your VPC’s Security Group
it’s time to create an Instance to run on your VPC.
What is Amazon AWS Instance.
You can think of Instance as it was a server.
However, it’s not a server itself, but just a bunch of settings that determines your VPC parameters like CPU cores, SSD volume and networking speed.
Step 3. Create EC2 Instance.
Here select Services.
Once done, click.
Then, select AWS Marketplace.
And type CentOS 7 in Search field and press Enter.
Now, look for CentOS 7 AMI and click Now it’s time to choose your Instance Type.
Basically, that’s how fast your Private Cloud will be.
Your choice totally depends on how many websites you will host and how many visitors daily they will have.
I’ts recommended to start with t2.small Instance.
Don’t worry, you can upgrade or downgrade it any time you wish.
Now select t2.small Instance.
And click Next:Configure Instance Details You may consider selecting Instance Type if you going to host 1-10 simple websites with less than 1000 visitors per day.
Your Instance will be free of charge for first 1 year.
Now select your VPC in Network settings.
Then flag Protect against accidental termination.
Once done, click Next: Add Storage 12.
Confirm that you would like to continue with your VPC security settings and click Next.
Add some Storage to your VPC 14
Then, click Next: Add Tags.
Please note that WHM / cPanel takes around 4GB, plus allow enough space for your websites to migrate.
On this page, click Next: Configure Security Group.
Here flag Select an existing security group.
Then select Security Group you have created in Step 2 18.
And click Review and Launch.
Now review your Instance details and click.
Now select Create a new key pair.
Then type in your key pair name (e.g.
Keep vpn.pen in a safe place.
You will need it to access your Virtual Private Cloud.
Now wait for Instance to create.
Once it’s ready, click View Instances.
Your Instance is ready.
It’s time to give it some name (Your Instance, e.g.).
Once your Instance is created, you will need an IP address to access it as well as to direct your websites’ visitors to your Private Cloud.
Now it’s time to get Elastic IP address and associate it with your VPC
What is Elastic IP address.
In simple words it’s an IP address that you can associate and disassociate with your Private Cloud in a couple of clicks (hence Elastic).
Please note: you can purchase WHM / cPanel license for a particular IP address only, .
So you’ll need an IP address for your VPC you can rely on
Step 4. Allocating Elastic IP address with your Virtual Private Cloud
Here select Elastic IPs.
And click Allocate new address.
Once done, Click Allocate.
Then wait for new Elastic IP address to allocate.
Next, select your Elastic IP address.
Then click Actions.
And select Associate IP address.
Now select your Instance from the dropdown menu.
Finally, click Associate.
You have assigned IP address to your Private Cloud.
Now it’s time to connect using that IP address and get WHM / cPanel installed.
Read Part 2 of our guide: Build Your Own cPanel Cloud Hosting with Amazon AWS: Part 2.
Chris Pouras on March 12, 2017 at 5:16 pm Hi, Where I can find part 2 of this tutorial.
I’ve installed cPanel/whm on my Amazon Instance already, so what I have to do next in order to get my cloud hosting ready.
on March 12, 2017 at 5:44 pm Hello Chris.
We’ll publish part two soon.
Required fields are marked Name Email |.
Designed by | Powered by.