Before we jump into this article you need to create an EC2 or lightsail instance. If you haven’t created one yet, create one by following this blog( Aws EC2 or Lightsail)
What is FileZilla?
FileZilla is a free and open-source, cross-platform FTP application, consisting of FileZilla Client and FileZilla Server. Clients are available for Windows, Linux, and macOS, servers are available for Windows only. Both server and client support FTP and FTPS, while the client can in addition connect to SFTP servers.
Transfer files from your local machine to server in 5 simple steps using FileZilla
Step 1: Download FileZilla.
i. Windows -> FileZilla
ii. Linux -> In terminal enter
sudo apt install filezilla
Step 2: Open FileZilla and click on site manager in the top right corner
Step 3: Click on the New Site button and choose SFTP as protocol. In the Host enter IP-address and in port enter 22
Step 4: Select Logon Type as Key File. Enter username (ubuntu) and in key file select downloaded .pem file. Click on Connect button. If the server is connected you will see connected to your ip address message
Step 5 : Now copy the file that you want to transfer into server
That’s it you have successfully transferred zip file into EC2 or Lightsail instance 🥳
Other related articles :