Installing Plesk on Alibaba Cloud

Provided Product Configurations

The following Plesk configurations are available on Alibaba Cloud Marketplace.

Plesk Components set

Plesk Onyx on CentOS 7 (WebPro)

Recommended set* (WordPress Toolkit, Security Advisor, Let’s Encrypt, Git, the resctrl utility, Docker are not installed by default but can be installed later)

Plesk Onyx on Ubuntu 16 (WebPro)

Recommended set* (WordPress Toolkit, Security Advisor, Let’s Encrypt, Git, the resctrl utility, Docker are not installed by default but can be installed later)

Plesk Onyx on CentOS 7 (BYOL)

Recommended set* (WordPress Toolkit, Security Advisor, Let’s Encrypt, Git, the resctrl utility, 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, Docker are not installed by default but can be installed later)

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.

Installing Plesk on Alibaba Cloud
  1. Log in or create an Alibaba Cloud account.
  2. Go to Alibaba Cloud console > Elastic Computer Service (in the left navigation bar).

    14

  3. Click Instances, and then click the Create Instance button in the top right corner of the screen.

    11

  4. Select one of the two pricing models:

    1.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.
    • 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.
  5. 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.
  6. Select the Instance Type.

    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, the more traffic the hosted websites generate, the more RAM you will need. Refer to Plesk System Requirements to estimate the amount of RAM your setup will require.

    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.

  7. Set “Network Bandwidth Peak” to “0 M” to be able 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.
  8. Under “Choose the Operating System”, select the Marketplace Image tab.
  9. Type plesk in the “Search in all products” field and click the magnifying glass icon.
  10. 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.
  11. Under “Security Settings”, set the authentication method for your instance (password or key-based authentication).
  12. Under “Purchase Plan”, specify the number of instances you want to purchase and, if necessary, the instance name.
  13. Click Buy Now, and then click Activate.
  14. When the instance has been successfully activated, you can see it in Alibaba Cloud console (Elastic Computer Service > Instances > click the data center region you specified during purchase).

    defff

  15. 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 on an Alibaba Cloud Instance.
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:

  • Add a single security rule allowing all incoming connections. This option is preferred if you do not have much experience in Plesk or/and Alibaba. However, if you go with this option, we strongly recommend using the Plesk firewall.
  • 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.

    login3

Accessing Plesk for the first time

To log in to Plesk for the first time, you need to generate a one-time login link. Browse 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. Run the command:

    sudo plesk login | grep -v localhost.localdomain

  3. A one-time login link will be generated. Use it to access Plesk as an administrator.

When you access Plesk for the first time, you are asked to provide the following information:

  • Full hostname

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.

  • Default IP address

The private IP address of the server is detected automatically. Do not register your instance's public (Elastic or Internet) IP address in Plesk to avoid connectivity issues. Only the private IP address must be registered.

We also recommend configuring the server to keep the DNS records of subdomains in separate DNS zones by running the following command:

/usr/local/psa/bin/server_pref -u -subdomain-dns-zone own

  • Administrator’s password

For detailed instructions on Plesk post-install configuration, see Post-install Configuration on a Single Server.

 

Leave your feedback on this topic here

If you have questions or need support, please visit the Plesk forum or contact your hosting provider.
The comments below are for feedback on the documentation only. No timely answers or help will be provided.