quick note how to set up an ftp server on ubuntu. first you install vsftpd:

sudo apt-get install vsftpd

then you edit configuration file with vim or nano or whatever you like /etc/vsftpd.conf

anonymous_enable=NO
local_enable=YES
write_enable=YES
chroot_local_user=YES

then you need to add passive ports range to config file like this:

pasv_min_port=8000
pasv_max_port=8100

also don’t forget to open these ports in amazon console’s security group.