• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • Debian 11 has reached its end-of-life (vendor EOL date - August 31, 2026). Plesk Obsidian 18.0.81 is the last release to support it.
    If you are running Plesk Obsidian on Debian 11, we recommend you upgrade those servers to Debian 12 using our dist-upgrade tool.
  • We plan to deprecate and remove the support for XML RPC protocol versions earlier than 1.6.9.1 in Plesk Obsidian 18.0.82. We strongly recommend that you update all existing integrations using earlier versions of the XML RPC protocol to comply with the version 1.6.9.1 specification.

IP Address Changes when Amazon EC2 Restarts

ArtZ

New Pleskian
I am testing Plesk 10.4.4 on Amazon EC2. When the instance restarts, the IP address changes. The amazon_setup_ip command (which was present in previous versions of Plesk) does not exist in Plesk 10.4.4.

What is the recommended procedure for updating everything in Plesk after an Amazon EC2 instance restarts? I need to do at least the following:

* Reload IP addresses
* Change the new IP address to shared
* Assign the new IP address to all subscriptions
* Assign the correct SSL cert to the new IP address
* Change the default web site for the IP address
* Remove the old IP address

In case it matters, I am running Ubuntu 10.04LTS, 64 bit.

Thank you,
-- Art Z.
 
Last edited:
Hm.. Plesk 10.4 wasn't really designed for dynamic IP addresses. Does Amazon offer any way to get a Static?

No. You can have a static public IP address but the internal IP address, the one on which all traffic arrives and the one which the web sites have to be assigned to, changes.

-- Art Z.
 
Any word, Parallels? What do you suggest? Older versions of Plesk included a amazon_setup_ip command but it is missing from 10.4.4.

I ran a script with these commands and it seems to fix the problem but I would love to hear your thoughts on the issue.

#!/bin/bash
ipaddr=$(ifconfig eth0 | awk -F '[ :]+' '/inet addr/ {print $4}')
mysql -uadmin -p$(cat /etc/psa/.psa.shadow) -e "update psa.IP_Addresses set ip_address='$ipaddr' where main='true'"
/usr/local/psa/admin/bin/httpdmng --reconfigure-all

Thank you,
-- Art Z.
 
Back
Top