How to Install and Configure Plesk on Alibaba Cloud

By Plesk

Plesk is a web hosting control panel that lets you easily create and manage your websites on a single platform. Web professionals can now pair Plesk’s WebOps and Hosting Platform with Alibaba Cloud’s comprehensive suite of cloud services to build, secure and run websites, applications and online businesses of any size on an unrivaled developer environment.

Running on more than 377,000 servers, 11 million websites and 19 million mailboxes across 140 countries, Plesk offers a complete idea-to-production platform and a catalog of extensions to empower web professionals at all levels, from small digital agencies to giant web hosts. Run Plesk on Alibaba Cloud and innovate with cutting-edge tools, grow with global and scalable infrastructure, and always stay protected with rock-solid security.

Installing Plesk on Alibaba Cloud

  1. Log in or create an Alibaba Cloud account.
  2. Go to the Alibaba Cloud console > Elastic Computer Service (in the left navigation bar).
Image for post
Image for post
  1. Click Instances, and then click the Create Instance button in the top right corner of the screen.
Image for post
Image for post
  1. Select one of the two pricing models:
  2. Pay-As-You-Go costs more per hour, but if you choose this model, you are billed per hour and can cancel at any time. This pricing model allows you to try out Plesk on Alibaba cheaply, but is not well-suited for hosting.
  3. Subscription is cheaper in the long run, but requires prepayment and monthly commitment. If you decide that Plesk on Alibaba is right for you, we recommend using this model for web hosting.
  4. Select the datacenter region and zone. If you plan to host small business websites, we recommend choosing the data center region and zone closest to their geographic location to decrease page load times for local visitors.
  5. Select the Instance Type.
  6. When choosing the ECS instance to deploy Plesk on, pay attention to the amount of RAM it comes with. The more websites you intend to host, and the more traffic the hosted websites generate, the more RAM you will need. Refer to the Plesk System Requirements to estimate the amount of RAM your setup will require.
  7. If you are not sure which instance to choose, we recommend starting with the ecs.n1.tiny instance and upgrading it later, if necessary. Note that only the Subscription pricing model supports instance upgrade.
  8. Set “Network Bandwidth Peak” to “0 M” to have the option to later bind an Elastic IP address to your instance. An Elastic IP address is a public IP address assigned to your instance that does not change every time the instance is restarted. Having a constant public IP address is required for web hosting.
  9. Under “Choose the Operating System”, select the Marketplace Image tab.
  10. Type in the "Search in all products" field and click the magnifying glass icon.
  11. Under “Choose Storage”, we recommend selecting SSD Cloud Disk for your website hosting and adding at least one Ultra Cloud Disk or Basic Cloud Disk for storing backups.
  12. Under “Security Settings”, set the authentication method for your instance (password or key-based authentication).
  13. Under “Purchase Plan”, specify the number of instances you want to purchase and, if necessary, the instance name.
  14. Click Buy Now, and then click Activate.
  15. When the instance has been successfully activated, you can see it in the Alibaba Cloud console (Elastic Computer Service > Instances > click the data center region you specified during purchase).
Image for post
Image for post
  1. Purchase and bind an Elastic IP address.

Your instance is now up and running. To begin using Plesk, you need to perform a short post-install configuration.

Plesk Post-install Configuration: Opening Ports Used by Plesk

By default, whenever an instance is created, only certain ports are allowed for inbound connections, while ports used by Plesk are closed. To operate Plesk and its services effectively, you need to open the following ports by adding security group rules to the desired instance.

There are two ways to do this:

  1. Add a single security rule allowing all incoming connections. This option is preferred if you do not have much experience in using Plesk or/and Alibaba. However, if you go with this option, we strongly recommend using the Plesk firewall.
  2. Add multiple security rules allowing incoming connections only to ports required by Plesk. We recommend choosing this option if you run many instances in Alibaba Cloud. In this case, you will be able to control security rules applied to all instances from one place, the “Security Groups” screen.

Note: These instructions cannot be used to allow outbound connections on TCP port 25. To be able to send email, you need to apply for allowing outbound connections on TCP port 25. You can use security rules to allow inbound connections on TCP port 25 as described.

Image for post
Image for post

Accessing Plesk for the first time

To log in to Plesk for the first time, you need to generate a one-time login link. Go to the generated URL to log in to Plesk and set an administrator password. You will then be able to log in to Plesk using that password.

To access Plesk for the first time:

  1. Access the instance command line:
  2. Using SSH.
  3. From Windows via PuTTY.
  4. Using the Management Terminal (VNC).
  5. Run the command:
  1. A one-time login link will be generated. Use it to access Plesk as an administrator.
  2. When you access Plesk for the first time, you are asked to provide the following information:
  3. Full hostname
  4. By default, Alibaba Cloud generates and assigns a hostname to the instance once you have started it. However, some spam filters (including the default Plesk greylisting) treat mail sent from servers with such hostnames as spam. We recommend using your registered domain name as the server hostname.
  5. Default IP address
  6. The private IP address of the server is detected automatically. To avoid connectivity issues, do not register your instance’s public (Elastic or Internet) IP address in Plesk. Only the private IP address must be registered.
  7. We also recommend configuring the server to keep the DNS records of subdomains in separate DNS zones by running the following command:
  1. Administrator’s password
  2. For detailed instructions on Plesk’s post-install configuration, see Post-install Configuration on a Single Server.

Available Product Configurations

The following Plesk configurations are available on Alibaba Cloud Marketplace.

PleskComponents setPlesk Onyx on Ubuntu 16 (WebHost)Recommended set (Fail2Ban, ModSecurity, Plesk Firewall, and *WordPress Toolkit are installed by default)Plesk Onyx on CentOS 7 (WebHost)Recommended set (Fail2Ban, ModSecurity, Plesk Firewall, and *WordPress Toolkit are installed by default)Plesk Onyx on CentOS 7 (BYOL)Recommended set* (WordPress Toolkit, Security Advisor, Let’s Encrypt, Git, the resctrl utility, and Docker are not installed by default but can be installed later)Plesk Onyx on Ubuntu 16 (BYOL)Recommended set* (WordPress Toolkit, Security Advisor, Let’s Encrypt, Git, the resctrl utility, and Docker are not installed by default but can be installed later)Plesk Onyx on Ubuntu 16.04 (Web Admin SE)Recommended set (Fail2Ban, ModSecurity, Plesk Firewall, and *WordPress Toolkit are installed by default)Plesk Onyx on Windows 2012 R2 (WebHost)Recommended set* (ModSecurity, Plesk Firewall)Plesk Onyx on Windows 2012 R2 (BYOL)Recommended set* (ModSecurity, Plesk Firewall)

Note: *The Recommended components set includes all components necessary for web hosting (including the web server, a mail server, a database server, and so on), plus the most popular and widely used features. For more information about Plesk BYOL, see the topic Choosing Between Plesk WebHost and BYOL. For more information about Plesk Onyx on Ubuntu 16.04 (Web Admin SE), see the topic Plesk Web Admin SE.

Note: **WordPress Toolkit in Plesk Onyx on Ubuntu 16.04 (WebAdmin SE) provides only basic functionality. To use premium WordPress features, upgrade your Plesk license to Web Pro or Web Host Edition.



Written by

Follow me to keep abreast with the latest technology news, industry insights, and developer trends.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store