KB article for Plesk 12 version.
KB article for Windows version of Plesk.
To simplify Plesk 11 provisioning on Cloud for infrastructure providers (including service providers offering dedicated servers, VPS, or IaaS), Odin introduces the Plesk AMI image for the Amazon EC2 service.
Steps to Deploy
Log in to the AWS Marketplace and go to the Plesk Panel with PowerPack product if you would like to deploy Plesk 11 with the included Power Pack license. Alternatively, go to Plesk Panel - Bring Your Own License (CentOS) if you already have a Plesk 11 license.
Click the "Continue" button.
Choose the 1-Click Launch tab and select "Region" to deploy an instance and EC2 Instance Type depending on your needs (Note: the price is different for different regions). Select the default option or create a new Security Group based on seller settings. Pay special attention to the ports that are required for Plesk:
KB391 Which ports need to be opened for all Plesk Panel services to work with a firewall?
Select the Key Pair to be used for connecting to the instance. (The existing Key Pair is required for connection to the Plesk instance.)
Click Launch with the 1-Click button.
When the instance is deployed, click the Visit Your Software link. The page with your subscription will be opened:
Select Manage in the AWS console.
(Optional) Attach your Elastic IP to the instance, and wait while the IP and its Public DNS are configured.
Connect to the instance via SSH. Update system packages with the following:
# yum update
Run this command:
# /usr/local/psa/bin/amazon_setup_ip <external IP>
Log in to Plesk with the URL
https://<external IP>:8443, using the login admin and the correct password, which you can retrieve with the help of this command:
# /usr/local/psa/bin/admin --show-password
Note: The panel can become inaccessible for a few minutes after instance deployment while updates are installed.
Configure your server IP. It is recommended that you set up a shared IP.
Specify a hostname. It is recommended that you use a domain name that you control or one controlled by the Amazon instance's Public DNS that will be constant in the case of an Elastic IP.
Change your password.
- If you selected the Bring Your Own License product, then activate the license of the Plesk instance as described in the Plesk Panel 11 Installation and Upgrade Guide.
Changing IP address
After every stop/start (if no Elastic IP is used), or after assigning a new Elastic IP to a configured Plesk instance, you should do the following:
Connect to the instance via SSH.
Run this command:
# /usr/local/psa/bin/amazon_setup_ip <new external IP>
Reconfigure all external DNS servers used by the hosted domains to match the machine's new external IP.
Check that all "A" records from the server-wide DNS template point to the new external IP, and synchronize the changes to all zones as described in the Administrator's Guide: Performing Mass Operations over DNS Zones.
The article Nginx isn't started after IP change can be useful for Amazon/Plesk instances.
Plesk transfer to Amazon EC2 instance
To transfer your Plesk server to or from the Amazon instance deployed from the Plesk AMI, please follow the instructions in the KB article #117069 - How to migrate domains which use custom DNS template.
Known Issues and Limitations
- It is not possible to install Plesk for Amazon EC2 with the general Plesk installer. Only the AMI image is supported.
- The Tomcat component is not shipped with the AMI.
- ColdFusion will not work in Plesk 11 on Amazon.
- phpMyAdmin will not work with remote databases.
To change the time in Plesk Panel, you need to run the following command:
# echo 1 > /proc/sys/xen/independent_wallclock
Some spam filters (including the default Plesk greylisting) consider mail auto-generated by Amazon hostnames as spam. Therefore, you may need to change the hostname.
- If an external IP address is added on the interface/Plesk/domain and the nginx service is enabled, after upgrading to Plesk 11.5 websites may point to "Default Plesk Panel Page". If this occurs, switch domains to a Private IP addresses from the GUI: Plesk Control panel->subscriptions->change hosting settings.