Since Plesk servers with only active FTP connections do not allow to connect to the server to the server via FTP. We often get requests from our customers to enable Passive FTP on their Amazon EC2 Instance.
Are you trying to configure Passive FTP Mode on a Plesk Amazon EC2 Instance? We can help you.
In this context, we shall look into methods to resolve Amazon EC2 Instance issues.
How to enable Passive FTP Mode on a Plesk Amazon EC2 Instance ?
Generally, Amazon EC2 automatically generates and assigns a security group to the instance whenever a new Plesk instance is deployed from an AWS Marketplace AMI.
These security groups have pre-configured firewall rules used by Plesk to operate. And the firewall includes a rule allowing connections to the passive FTP port range.
However, if the Plesk instance was not deployed from AWS Marketplace AMI or if we have a custom security group we have to allow connections to the passive FTP port range manually.
To configure passive FTP manually on the Amazon EC2 instance:
1. First, we need to log in to our AWS console.
2. And go to Instances, select the checkbox of an instance for we want to allow connections to the passive FTP port range.
3. Then in the Description, click the name of the automatically generated security group.
4. After that take Inbound and click the Edit button.
5. Next we must click on Add Rule.
Here, we can specify the following settings for the newly added rule:
- Type: We can keep the Custom TCP rule value in the drop-down list.
- Port Range: We can specify the port range: 49152-65535.
- Source: We can select the Anywhere value in the drop-down list.
- Description: We must give the firewall rule a recognizable name to identify it apart from others.
6. Finally, click Save.
The firewall rule gets created and we will be able to see it in the Firewall rules list.
Now we can use the passive FTP mode on a Plesk Amazon EC2 Instance.