Step 1: Install FileZilla
Windows and Mac Users can go here and download and install - https://filezilla-project.org/
Ubuntu users can open the Terminal and install as follows:
sudo apt-get update sudo apt-get install filezilla
Step 2: Let's load our SSH Key into FileZilla. Open FileZilla, and click Preferences in the main toolbar (should be the same for Windows and Mac users)
Step 3A: In the left panel, select SFTP and then click Add key file...
Step 3B: To find your ssh key, navigate to your "./ssh" directory, as it is a hidden directory, in Ubuntu, you can hit CTRL+L which changes the Location bar to an address bar. Simply type ".ssh/" as shown below to find your ssh key directory.
Step 4A: Connecting to your EC2. Now that you've added your key we can create a new connection.
On the main toolbar again, click File and Site Manager
Step 4B: This brings up the Site Manager window. Click New Site as shown below
Step 4C: Enter the IP (IPv4 Public IP) of your EC2 Instance (can be found under Instances in your AWS Console Manager).
Step 4D: Change the Protocol to SFTP
Step 4E: Change the Logon Type to Normal
Step 4F: Put the Username as ubuntu. Leave the password field alone.
Step 4G: Check the "Always trust this host, add the key to the cache box" and click on OK.
Step 5: We've Connected!
The numbered boxes below show the main windows we'll be using in FileZilla.
1. Is the connection status box that shows the logs as the system connects to your EC2 instance.
2. These are your local files on your system
3. These are the files on your EC2 VM. By default both these
Step 6: Navigate to your Flask python files you downloaded in the previous resource section and drag them accross to your EC2 home directory (default directory).
Great! You're almost ready to have a fully working CV API live on the web!
Next, we need to change the security group of our EC2 to allow HTTP inbound traffic.