• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

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