How to setup and configure Plesk

on Amazon Lightsail

Amazon Lightsail is an easy-to-use virtual private server provider and is the easiest way to get started on AWS. You can get a Plesk hosting stack up and running on Amazon Lightsail in just a few minutes. 

Plesk web hosting control panel with an intuitive graphical interface, a ready-to-code environment and powerful extensions. It comes with a complete set of security tools and features for your apps, websites, networks, servers and OSes. 

With Lightsail and Plesk you can create a hosting stack with the following features: 

  • Domains and DNS integrated with AWS Route53
  • WordPress Toolkit with automated staging/cloning included
  • Support for NodeJS, Ruby, Docker and LAMP stacks w/ Apache or NGINX
  • Security and backups across all levels of a website or application stack
  • Subscription Management, Account Management and Reseller Management
  • 100+ Plesk Extensions in the in-app catalog

Complete this tutorial to create a Plesk instance on Lightsail. 

 

About this Tutorial
Time 30 minutes   
Cost Free
Use Case Compute
Products Amazon Lightsail
Level 200
Last Updated April 22, 2021

Step 1: Create the Plesk instance

Complete the following steps to create a Plesk instance up and running on Lightsail. 

1.1 — Login to your AWS account and navigate to the Lightsail console. If you do not have an AWS account, sign up using the link provided. 

Already have an account? Log in to your account

1.2 — On the Instances tab of the Lightsail homepage, choose Create instance. 

Screen Shot 2021-04-05 at 1.17.17 PM

1.3 — Choose the AWS Region and Availability Zone for your instance. 

Screen Shot 2021-04-05 at 1.18.29 PM

1.4 — Choose your instance image. First choose Linux/Unix as the platform, then select Plesk Hosting Stack on Ubuntu as the blueprint. 

plesk_18.0.34

1.5 — Choose your instance plan. Note: Plesk is not supported by the $3.50 USD/month instance plan.

Learn more about Amazon Lightsail pricing here.

Screen Shot 2021-04-05 at 1.19.20 PM

1.6 — Enter a name for your instance. 

Screen Shot 2021-04-05 at 1.19.39 PM

1.7 — Click Create instance. 

Your instance will become available after a few minutes. 

Screen Shot 2021-04-05 at 1.19.56 PM

Step 2: Sign in to the Plesk administration panel

After your Plesk instance is in a running state, complete the following steps to sign in to the Plesk administration panel for the first time, and configure your own username and password.

2.1 — On the Instances tab of the Lightsail home page, choose the browser-based SSH client icon for your Plesk instance.

plesk3

2.2 — After the terminal appears, enter the following command. 

You should see an output similar to the following screenshot. 

Important: If you recently attached a static IP to your Plesk instance, you might get a one-time login URL that uses the old public IP address. Reboot the instance, and run the above command again to get a one-time login URL that uses the new static IP address.

sudo plesk login | grep -v internal:8
plesk4

2.3 — Highlight the URL shown in the browser-based SSH window, then choose the clipboard icon, and copy the URL to your local clipboard.

plesk5

2.4 — Open a new browser window, and browse to the URL that you copied.

You might see a browser warning that your connection is not private, not secure, or that there’s a security risk. This happens because your Plesk instance does not yet have an SSL/TLS certificate applied to it. The prompt may be different than what is shown in the following example depending on the browser you use.

plesk6

2.5 — Complete one of the following steps depending on the browser that you use:

  • Chrome — Choose Advanced, and then choose Proceed to continue to the Plesk set up page.
  • Edge — Choose Details, and then choose Go on to the webpage (Not recommended) to continue to the Plesk set up page.
  • Firefox — Choose Advanced, and then choose Accept the Risk and Continue to continue to the Plesk set up page.
  • Internet Explorer — Choose More information, and then choose Go on to the webpage (Not recommended) to continue to the Plesk set up page.

2.6 — Enter your contact name, email address, and password.

In this page, you can change the default admin contact name if you prefer to use something different. However, that is only the display name; your username to sign in to Plesk will continue to be admin.

plesk7

2.7 — Confirm that you accept the end-user license agreement, and choose Enter Plesk. If successful, you will be signed in to the Plesk panel where you can add your domain, and begin managing your websites.

If you need to sign in again later, just navigate to https://PublicIPAddress:8443. Replace PublicIPAddress with the public IP address or static IP address of your instance. For example, https://192.0.2.0/:8443. Then enter the username and password you created earlier to sign in to the Plesk panel.

plesk8

Step 3: Next steps

Now that you are logged into Plesk, here are some next steps. 

3.1 — Attach a static IP address to your Plesk instance

The default dynamic public IP address attached to your instance changes every time you stop and start the instance. 

Create a static IP address, and attach it to your instance, to keep the public IP address from changing. 

On your instance management page, under the Networking tab, choose Create static IP, then follow the instructions on the page. For more information, see Create a static IP and attach it to an instance in Amazon Lightsail.

3.2 —  Map your domain name to your Plesk instance.

To map your domain name, such as example.com, to your instance, you add a record to the domain name system (DNS) of your domain. DNS records are typically managed and hosted at the registrar where you registered your domain. However, we recommend that you transfer management of your domain's DNS records to Lightsail so that you can administer it using the Lightsail console.

On the Lightsail console home page, under the Networking tab, choose Create DNS zone, then follow the instructions on the page.

For more information, see Creating a DNS zone to manage your domain’s DNS records in Amazon Lightsail.

 

prestashop4

Congratulations

Congratulations. You have successfully setup a Plesk instance with Amazon Lightsail.

Amazon Lightsail is a great choice to develop, build, and deploy a variety of applications like WordPress, websites, and blog platforms.

Was this tutorial helpful?

Thank you
Please let us know what you liked.
Close
Sorry to disappoint you
Is something out-of-date, confusing or inaccurate? Please help us improve this tutorial by providing feedback.
Close

Read the Plesk documentation

To learn more about Plesk you can read the Plesk documentation. 

To enable SSL/TLS on your Plesk instance, see Securing Connections with the SSL It! Extension in the Plesk documentation

Take a snapshot

After you configure your Plesk instance, create periodic snapshots of your instance to back it up.

Learn more

Learn more about virtual private server providers and Amazon Lightsail.