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|
|Last Updated||April 22, 2021|
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.
1.2 — On the Instances tab of the Lightsail homepage, choose Create instance.
1.3 — Choose the AWS Region and Availability Zone for your instance.
1.4 — Choose your instance image. First choose Linux/Unix as the platform, then select Plesk Hosting Stack on Ubuntu as the blueprint.
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.
1.6 — Enter a name for your instance.
1.7 — Click Create instance.
Your instance will become available after a few minutes.
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.
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
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.
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.
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.
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.
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.
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.
Recommended next steps
After you configure your Plesk instance, create periodic snapshots of your instance to back it up.
Learn more about virtual private server providers and Amazon Lightsail.