How to connect to Amazon EC2 file directory using Filezilla and SFTP?

Step 1: Open Filezilla.

Step 2: Click settings under edit.

Step 3: Click add key file under SFTP.
Step 4: Select your private key and click ok.
Note: If the private key is in .pem format, a message box will appear asking your permission to convert the file into .ppk format. Click Yes, then give the file a name and store it somewhere.

Step 5: Add a new site in the site manager located under the file.

Provide below details for your new site –

Host: The public DNS name of your EC2 instance, or the public IP address of the server.
Protocol: SFTP
Logon Type: Normal
User: For Amazon Linux, the default user name is ec2-user. For RHEL5, the user name is often root but might be ec2-user. For Ubuntu, the user name is ubuntu. For SUSE Linux, the user name is root. For Debian, the user name is admin. Otherwise, check with your AMI provider.