Installing Plesk on Amazon Lightsail

Provided Product Configuration

The following Plesk configuration is available on Amazon Lightsail.


Components set

Plesk Hosting Stack on Ubuntu

Plesk Firewall, Fail2Ban, ModSecurity, *WordPress Toolkit

Note: * WordPress Toolkit in Plesk Hosting Stack on Ubuntu provides only basic functionality. To use premium WordPress features, upgrade your Plesk license to Web Pro or Web Host Edition.

Plesk Hosting Stack on Ubuntu

Plesk servers based on the "Plesk Hosting Stack on Ubuntu" Amazon Lightsail image come with the Plesk Hosting Stack on Ubuntu license pre-installed. The license is provided for free, but comes with a number of limitations compared to paid Plesk Onyx licenses. Plesk Hosting Stack on Ubuntu is suitable for basic hosting management or for trying Plesk out before buying a paid Plesk license.

Here are the limitations of Plesk Hosting Stack on Ubuntu:

  • You can manage not more than 3 domains.
  • A number of WordPress Toolkit features are disabled.
  • Plesk Support is free for the first 30 days. After 30 days, to use Plesk Support, either upgrade your Plesk license to Web Pro or Web Host Edition or buy a support subscription. However, you are free to read the documentation, look for answers in the Plesk Help Center, and to seek help from the Plesk Forum.
  • A promo banner that cannot be closed or hidden is displayed in the Plesk interface.

If you want to get all Plesk features without the restrictions described above, upgrade your Plesk license to Web Pro or Web Host Edition.

To install Plesk on Amazon Lightsail:

  1. Sign in to an existing AWS account or create a new one.

    Note: If you are trying to access Amazon Lightsail and you see 403 HTTP error, create an IAM policy to access Lightsail and attach it to a new or existing user.

  2. Go to Lightsail and click Create instance.


  3. Under "Instance location", click Change Region and zone and select a region. If you plan to host small business websites, we recommend choosing the zone closest to their geographic location to decrease page load times for local visitors.
  4. Under "Pick your instance image" > the "Apps + OS" tab, select Plesk Hosting Stack on Ubuntu.


  5. (Optional) Click + Add launch script to add a shell script that will run on your instance the first time it launches.
  6. (Optional) Lightsail creates a default key pair in each AWS Region where you have an instance. If you want to connect to your Plesk instance using an SSH client (for example, PuTTY), click Download to download the default private key.

    If you do not want to use the default key pair, click Change SSH key pair to change it and do following:

    • Click Create New + to create a new key pair.
    • Click Upload New to upload a new key pair.
  7. Choose your instance plan.
  8. Under "Name your instance", give your instance a recognizable name and specify the number of instances you want to deploy.


  9. Click OK.

The instance is now up and running. You can see it on the "Resources" tab. To begin using Plesk, you need to perform a post-install configuration.

Plesk Post-install Configuration on Amazon Lightsail
Assigning a static IP address

If you want to use Plesk on Amazon Lightsail for web hosting, you need to assign a static IP address to your instance and then restart Plesk.

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. Open the following ports in the Amazon Lightsail Firewall: TCP 8443, TCP 8447, UDP 53, TCP 53. For more information, refer to this topic.
  2. Access the instance command line using the Lightsail browser-based SSH client or a third-party SSH client (for example, PuTTY)
  3. Run the command:
sudo plesk login | grep -v internal:8

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 need to provide the following information:

  • Full hostname

By default, Amazon Lightsail 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 a 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 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. To do so, run 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.

Next in this section:

Open Access to Plesk Services on an Amazon Lightsail 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.