Setup Plesk Hosting Stack On Ubuntu AWS

In my previous articles , I have explained how you can setup Magento stack , LAMP stack and Joomla in AWS.

If you would like to Setup LEMP Stack (Linux , Nginx , MySQL & PHP) on Ubuntu , Refer this Article

It will also guides you to setup WordPress website powered by Nginx HTTP Server. In this guide , We will learn How to setup PleskHosting stack on Ubuntu in AWS.

What Is Plesk Hosting Stack?

  • Plesk is a web hosting platform with a control panel that allows a server administrator to set up new websites, reseller accounts, e-mail accounts and DNS entries through a web-based interface.
  • Build, secure, and run websites and applications on Amazon Lightsail and AWS using the Hosting Stack powered by Plesk.

Setting UP Plesk Hosting

 

Amazon offers a one click software deployment features along with the Operating system.We can launch an Instance which comes up with a tools such as WordPress , OpenVPN server etc.

 

But In this tutorial , We are going to deploy Plesk Hosting stack, Which is the combination of App and OS using the Lightsail service.

 

 

What Is Lightsail?

 

If you don’t have much experience with Amazon Web Services such as VPC , EC2 Instances , Load Balancers , Amazon Lightsail is the best and easy way to start.

 

 

It provides a quick and easy way to deploy and mange instances along with applications such as WordPress , LAMP stack , Drupal and much more.

 

This features is mainly for developers who want to setup a test project to run applications without having much knowledge on managing aws services and also to avoid spending time on installing software or frameworks.

 

Setup Plesk Hosting Stack

 

To setup Plesk hosting stack , Login to Lightsail Console

 

You should see the following page.

 

 

Click Create instance,

 

Choosing Instance Location

 

We have to choose the Instance location , For example , I chose Mumbai

 

 

Also You should choose the Availability Zone.

 

 

Choosing Instance Image

 

Now We have to choose the Operating system , From these two Platforms: Linux and Windows.

 

If you select Linux/Unix , and If you choose OS only ,You have the option to select one of the following operating systems.

 

 

But In this tutorial , As we are Deploying plesk as a One click software deployment , We choose Apps + OS and then select Plesk Hosting Stack on Ubuntu

 

And Optionally You can add the shell scripts which will run while the instance boots up.

 

Under SSH Key pair manager , You can use exiting key pair Or you can create one If you want.

 

To create a New key pair for this instance , Click Create New

 

And Click Create ,

 

 

Type the name for the Key Pair and Download the .pem file.

 

 

 

Choosing Instance Plan

 

You can choose the Instance plan such as RAM , CPU and Hard Disk based on your requirement.

 

 

Provide a name for the Instance , and then add tagging for grouping the resources.

 

 

 

At last , Click Create instance.

 

Once the Instance is Created and Running.

 

If you click the console icon , You will see the below error.

 

 

Lightsail asks us to give a couple of minutes before SSH into the Instance.

 

After a minute or two , If you click the Console icon again , You should be able login to the Instance.

 

Once you login to the instance and check what are the packages and services are installed using netstat command.

 

Login To Plesk Control Panel

Before logging in to the Plesk control panel , We need to make sure all the required ports are whitelisted.

Select the instance , Choose Networking , And make sure you see the same ports are allowed.

Now login to the instance as root user and run the command,

sudo plesk login

It will provide us the links , use any one of the link in the web browser , It will take you to the following page , which is the administrator page.

Now set a password for the admin user , So that next time you can use this credentials to login as administrator.

Once you provide email address and password , Click Enter Plesk , It will start to initialize the Plesk control panel.

If it is successful , You will be signed into the Plesk panel.

Now You can start hosting web sites ,Add domains etc.

Next time If you want to login to the Plesk admin panel , You should navigate to 

http://publicipaddress:8443

You should see the following console.

Using the credentials which you have configure before , We should be able to login to the panel of the plesk.

Conclusion

 

We have successfully deployed Plesk hosting on Ubuntu in AWS using Lightsail service.

 

Hope this article helps .Thanks for reading this article.

 

Please do check out my other publications.