Articles in this section

How to deploy a VM with Plesk on the IONOS Cloud platform using official Plesk images?

kb: how-to

Question

How to deploy a VM with Plesk on the IONOS Cloud platform using official Plesk images?

Answer

That can be done with the following steps:

Note: In case of questions related to setting up a VM in IONOS Cloud Platform please contact with the IONOS Technical Support: https://cloud.ionos.com/support

Installation from pre-installed QCOW image:
  1. Login into the IONOS Cloud Platform
  2. Upload an official Plesk image to IONOS Cloud Platform accordingly to official IONOS documentation (Storage & Backup > Block Storage > Images & Snapshots > Private Images).
  3. Select the Virtual Data Center where the VM will be deployed or create a new one.
  4. Drag and drop the vCPU Server on the workspace to create a VM:
  5. Enter the name of the VM:
  6. Select a Preset or configure the resources of the VM manually:
     

  7. Navigate to Storage tab and add a new SSD or HDD storage: 

    Note: Please take into account the size of websites/mailboxes/databases that will be stored on the Plesk installation.

     

  8. Set a name and define size for the storage:
  9. In the Images field select a Plesk image that has been uploaded on step 2:
  10. In the newly appeared Cloud-init user data field, click on No configuration to modify the configuration (to include an SSH key)

     

     and add the following lines in the User Data field: 

    CONFIG_TEXT: #cloud-config
     ssh_pwauth: True
     users:
     - name: root
     ssh_authorized_keys:
     - ssh-rsa <YOUR_PUBLIC_SSH-KEY>

     

    Note: <YOUR_PUBLIC_SSH-KEY> - substitute with your real SSH key string

     

     

    Note: Check the following link for information about Cloud-init format and other possible configuration examples: cloud-init documentation/examples

     

  11. Connect the VM to the Internet by drawing a line from "VM" to "Internet Access":
  12. Provision the changes to the VM: 

  13. Once Plesk VM is provisioned, connect to it via SSH.
  14. Generate a link to login to Plesk via a web browser:

    # plesk login

  15. When you use this URL in your browser, the Plesk Initialization process will be started. You should define your Contact Name, Email address, Admin password, you should either select the option “Proceed with a full-featured trial license” or enter a valid Plesk license.
Deployment with Plesk Installer
  1. Log in to the IONOS Cloud Platform
  2. Select the Virtual Data Center where the VM will be deployed or create a new one.
  3. Drag and drop the vCPU Server on the workspace to create a VM:
  4. Enter the name of the VM:
  5. Select a Preset or configure the resources of the VM manually:

  6. Navigate to the Storage tab and add a new SSD or HDD storage:
  7. Set a name and define size for the storage:

    Note: Please take into account the size of websites/mailboxes/databases that will be stored on the Plesk installation.

  8. In the Images field select an OS from Linux Images or Microsoft Images menus:

  9. Define the password for root (Linux) or Administrator (Windows) account for the VM:

    Note: The root password and/or the public SSH key can be set and added directly in the VM configuration settings without using Cloud-Init configuration.

  10. Connect the VM to Internet by drawing a line from VM to Internet Access:
  11. Provision the changes to the VM:

  12. Once Plesk VM is provisioned, connect to it via SSH (if Linux is used as OS) or via RDP (if WIndows is used as OS).
  13. Install Plesk using the steps from one of the guides available in documentation: Plesk Installation and Upgrade on Single Server.

Note: You can order a Plesk license in Plesk Online Store: https://www.plesk.com/pricing/

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.