I want to configure an FTP server on my EC2 instance so that it uploads files directly to S3. This means that every file I upload through the FTP server should automatically be sent to S3. How can I set this up?
I need to upload many files that are several gigabytes in size, but I want to avoid spending money on cloud storage. That’s why I am using this method.
2
Answers
Preferred method: Upload directly to S3 without using FTP (which is a 53 year-old protocol).
Alternative: Use AWS Transfer for SFTP. It will do exactly what you seek, but note that charges apply. It is a fully-manage service so you will not need an EC2 instance.
Question for you:
If youre going to upload from a computer, then you do not need an ec2. Use AWS cli like so:
If youre already uploading from ec2, then why not do :