Installing Plesk on Microsoft Azure

Provided Product Configurations

The following Plesk configurations are available in the Microsoft Azure Marketplace.

Plesk Installed components

Plesk Onyx on CentOS 7 (Webhost)

Recommended set*

Plesk Onyx on Ubuntu 16.04 (WebHost)

Recommended set*

Plesk Onyx on Windows 2012 R2 (WebHost)

Recommended set*

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.04 (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 Windows 2012 R2 (BYOL)

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

Note: *The Recommended components set includes all components necessary for web hosting (a web server, a mail server, a database server, and so on), plus the most popular and widely used features. If you are not sure which image to choose (Plesk WebHost or BYOL), see the topic Choosing Between Plesk WebHost and BYOL.

Creating a Virtual Machine

Plesk provides a variety of virtual machine images with the most popular configurations. Thus, no actual installation is required. You just need to create a virtual machine from the appropriate image. All available images for virtual machines can be found at the Microsoft Azure Virtual Machines Marketplace.

Note: To create a virtual machine, you must have access to a subscription or resource group in Azure with a permission of managing resources (Owner or Contrubutor role).

Log in to Azure Portal and in your dashboard select New> Compute. Here you can search for Plesk virtual machine images and select an appropriate Plesk configuration.

For detailed instructions on how to create a virtual machine from a Plesk-published image, see:

When configuring a virtual machine, you will be asked to specify the following settings:

  1. Basic settings: virtual machine name, disk type (SSD or HD), user name and password, your Azure subscription and resource group.

    Note: The root user name cannot be used during the VM creation. You may grant the root user access to the VM later from the console.

    For Linux VM, you can choose the authentication type:

    • SSH public key. In this case, you should specify your SSH public key. The information about creation of public and private SSH keys can be found here.
    • Password. In this case, you should specify and confirm the password that will be used for connection to the virtual machine.
  2. VM size. You can choose one of available standard sizes provided by Azure.
  3. Storage and network settings, including virtual network, subnet, public IP address, network security group (firewall). It is OK to leave the default values for most options.

    Note: By default, you machine will have a dynamic IP address, so that the IP address will be changed each time when the virtual machine is restarted. If you want to avoid this, click Public IP address and then select the Static option. The virtual machine will be created with a static IP address.

When all the settings are specified, you can see them as a summary. Confirm the settings for your new VM and click OK.

Finally, you can see your offer details and purchase the virtual machine by clicking the Purchase button.The deployment process will start, and you will see its progress on your Dashboard.

When your virtual machine is deployed, it is automatically started and the page with its settings is opened. You also can view and manage your virtual machine settings by going to Virtual Machines and selecting your virtual machine name. In particular, you can see the Public IP address of the machine.

VM_overview_W

The deployed virtual machine contains installed Plesk with all the latest updates.

Accessing Plesk on your virtual machine

To access Plesk on your virtual machine:

  1. Connect to the virtual machine.
    1. If you have a Windows VM, connect to it via Remote Desktop. Go to Azure Portal Dashboard >Virtual Machines, choose your VM, and click Connect. This creates and downloads a Remote Desktop Protocol file (.rdp file) that is like a shortcut to connect to your machine. Open this file and connect to your virtual machine using your login and password.
    2. If you have a Linux VM, you can SSH into its public IP address that is displayed in the virtual machine’s settings. Depending on selected authentication type, you may use either login and password, or your SSH public key. From a Mac or Linux workstation, you can SSH directly from the Terminal. For example: ssh -i ~/.ssh/azure_id_rsa ubuntu@13.91.99.206. If you are on a Windows workstation, you need to use PuTTY, MobaXTerm or Cygwin to SSH to Linux. For details, see How to Use SSH keys with Windows on Azure.
  2. On the virtual machine, run plesk login to get a one-time login for logging in to Plesk. You will receive two links: based on the virtual machine name and based on the IP address.
  3. Use the link based on the IP address to log in to Plesk. For example: https://13.91.99.206:8443/login?secret=57qYv9e9vfPYtlCG74OaVXeTbVLBhZwYvc%2Fgd1I5Dug%3D.

Note: You cannot use the link based on the virtual machine name for the first logging in because Plesk has not passed the initial configuration and the full hostname has not been created yet. You should use the link with IP address.

When you log in to Plesk, you can set the virtual machine’s host name and the administrator’s login name and password. You can use them for further logging in to Plesk by one of the links:

  1. https://<public-ip>:8443/
  2. https://<hostname>:8443/

where <public-ip> is the Public IP and <hostname> is the full hostname of the virtual machine.

Next in this section:

Installing Plesk Solution Servers on Microsoft Azure

Configuring the Passive FTP Mode on a Microsoft Azure Instance

 

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.