


Set permissions on my-app to enable the upload of files: sudo chown ubuntu /home/ my-app/* You do not need to specify the key after importing it as described above.Īfter configuring and connecting FileZilla to the remote EC2 server, create the directories that will host the files and create a new folder my-app mkdir /home/ my-app Note: FileZilla automatically figures out which key to use. User: For Ubuntu, the user name is ubuntu.(Check the docs) Host: Your public DNS name of your EC2 instance, or the public IP address of Protocol: SFTP -SSH File Transfer Protocol
#Filezilla ssh to ec2 password
Say ‘OK’ and when connecting, at the password prompt push ‘OK’ without entering a password to proceed past the dialog.

If not, then click “Add keyfile…” and select the converted file.
#Filezilla ssh to ec2 install
Install npm(Node.js package manager): sudo apt- get install npm Once your EC2 instance is up and running, lets SSH into it ssh -i “ my-key-pair.pem” 1.Īfter you connect to the instance, you will need to install following software, required to run your application.
#Filezilla ssh to ec2 how to
Configuring your EC2 serverįor information on how to setup, refer Setting Up with Amazon EC2 in the Amazon EC2 User Guide for Linux Instances. Here we will discuss systematic procedure to deploy a react application through pm2 (using FileZilla for SFTP) in an AWS EC2 instance running Amazon Linux.
