The SFTP Gateway is a secure, pre-configured SFTP server that saves uploaded files to an Amazon S3 bucket.
The SFTP Gateway uses a different approach than other S3-based file system products, making it more reliable for production systems. Rather than using a permanent mount or virtual file system, it monitors file descriptors as new files are written to SFTP directories. Once the file is finished writing and the file descriptor is closed, it pushes the entire file to an S3 Bucket. The SFTP Gateway is simple, lightweight, and reliable.
When coupled with S3 Events and AWS Lambda, it is the ideal entry point for automated integration between your AWS application and external or third-party systems. It also complies with corporate security policies that require key-based SFTP file transfers.
- SFTP server that stores uploaded documents to an S3 Bucket. Pre-configured with standard security settings. Easily manage SFTP users independent of IAM using built-in command line scripts.
- Automated S3 bucket creation and setup. Use the CloudFormation template or setup script from the single AMI to auto-configure the server. S3 events can be used to automate file processing with AWS Lambda.
- Configurable S3 bucket and path for each SFTP user
- Server-side encryption using SSE-S3, KMS, or SSE-C (custom keys)
- Private and shared download folders for pushing files to end-users
- MD5 Hash Validation support to ensure data integrity of uploaded files
Table of Contents
- Initial setup: Provision an EC2 instance, S3 bucket, and IAM role
- Log into the EC2 instance: SSH into your instance
- Add and configure a user: Provision an SFTP user, and configure options like custom S3 locations and encryption
- Connect as an SFTP user: Connect using an SFTP client (FileZilla, WinSCP, or command-line)
- Delete an SFTP user: De-provision an SFTP user
- Security Notes
- Product Website
- CloudFormation Template - No setup is necessary if you use this CloudFormation template. This template uses the proper AMI based on your region.
Email support is available to Amazon Web Services Marketplace Customers at firstname.lastname@example.org.
To help us troubleshoot, provide any of the following items that seem relevant to the issue:
/var/log/movetos3/movetos3.log: This logs file uploads to S3
/var/log/movetos3/s3sync.log: This logs private and shared download sync activity
sudo incrontab -l: This outputs a list of directories that are monitored for S3 upload
sudo df -h: This shows the remaining storage on the EC2 instance
sudo sftpgw version: Shows the current version of SFTP Gateway
- Screenshots of the SFTP client at the time of error (looking for log output, and file names or paths)
We do not offer refunds, but you may terminate your AMI or CloudFormation Stack at any time.
For troubleshooting and frequently asked questions, refer to our Troubleshooting article
Documentation of configuration options and supported commands.