Learn how to configure a Plesk instance on Amazon EC2 instance. In this video, we show you how to get the one-time login address for the Plesk panel, how to add domains to Plesk, and how to install applications and certificates for your domains in Plesk. Links in this video. ↓↓↓
!!! Remember not reboot your instance when the installation is still in progress
1. Sign in to an existing AWS account or create a new one.
2. Go to Lightsail and click Create instance.
3. Under "Instance location", click Change Region and zone and select a region.
4. 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. Plesk Hosting Stack on Ubuntu is available starting with the 10-dollar per month Lightsail 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
10. Assign static address IP
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.
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
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. To avoid connectivity issues, do not register your instance's public IP address in Plesk . 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
Done :)
0 Comments