How to Install and Configure Plesk on Alibaba Cloud

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).
  1. Click Instances, and then click the Create Instance button in the top right corner of the screen.
  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 plesk 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).
  1. Purchase and bind an Elastic IP address.

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.

  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.

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.

  1. Access the instance command line:
  2. Using SSH.
  3. From Windows via PuTTY.
  4. Using the Management Terminal (VNC).
  5. Run the command:
  • sudo plesk login | grep -v localhost.localdomain
  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:
  • /usr/local/psa/bin/server_pref -u -subdomain-dns-zone own
  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.

--

--

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
Alibaba Cloud

Alibaba Cloud

Follow me to keep abreast with the latest technology news, industry insights, and developer trends. Alibaba Cloud website:https://www.alibabacloud.com