Set up and configure Plesk on Lightsail
Last updated: January 2, 2020
You can create a Plesk hosting stack in Lightsail that includes the following features.
WordPress Toolkit, featuring automation in a graphical user interface
Let's Encrypt support for SSL certificates and configuring encrypted (HTTPS) traffic on a single instance
FTP access to transfer files to and from your instance
Docker Proxy Rules
Web-based server management and security tools, including Plesk Firewall, Logs, and ModSecurity
Create a Lightsail instance running Plesk
On the Lightsail home page, choose Create instance.
Choose the location where you want to create your instance.
Choose Change AWS Region and Availability Zone to change your instance location.
Under Apps + OS, choose Plesk Hosting Stack on Ubuntu.
Choose your instance plan.
Plesk is not supported on the $3.50 USD per month Lightsail plan.
Enter a name for your instance.
Must be unique within each AWS Region in your Lightsail account.
Must contain 2 to 255 characters.
Must start and end with an alphanumeric character or number.
Can include alphanumeric characters, numbers, periods, dashes, and underscores.
Choose one of the following options to add tags to your instance:
Add key-only tags or Edit key-only tags (if tags have already been added). Enter your new tag into the tag key text box, and press Enter. Choose Save when you’re done entering your tags to add them, or choose Cancel to not add them.
Create a key-value tag, then enter a key into the Key text box, and a value into the Value text box. Choose Save when you’re done entering your tags, or choose Cancel to not add them.
Key-value tags can only be added one at a time before saving. To add more than one key-value tag, repeat the previous steps.
For more information about key-only and key-value tags, see Tags in Amazon Lightsail.
Choose Create instance.
If you want to use Plesk on Amazon Lightsail for web hosting, you need to attach a static IP address to your instance. If you attach a static IP, you will need to reboot your instance in Lightsail before you can log into it for the first time.
Log in to your instance and set up your account and Webspace
The following instructions are for your first-time login to your Lightsail instance running Plesk.
On the Lightsail home page, under Instances, choose the terminal connection icon on your Plesk on Amazon Lightsail instance to manage it.
Enter the following command.
sudo plesk login | grep -v internal:8
You should see a result similar to the following:
Copy the URL to the clipboard by choosing the copy icon.
Paste the URL into a browser.
You're taken to the Plesk Web Admin Edition Settings page.
By default, Lightsail generates and assigns a Full hostname to the instance once you start it.
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.
The Default IP address should be prepopulated with your private IP address where it says Select an address.
Change the default administrator password to a strong password.
If you forget this password, you can re-run the following command:
sudo plesk login | grep -v internal:8. The Plesk Websites and Domains dashboard also has a username and password recovery feature.
On the Administrator information page, fill in your Name, Email, and any other fields.
Accept the End-User License Agreement, and then choose OK.
On the Create Your Webspace page, create a username and password, and then choose OK.
If successful, you're logged into the Plesk dashboard.
To log in again, just navigate to
https://public IP or static IP of instance:8443and log in using username 'admin' and the password you created earlier.