AWS Transfer Family

 

AWS Transfer Family is a secure transfer service that enables you to transfer files into and out of AWS storage services.
 
Transfer Family is part of the AWS Cloud platform. AWS Transfer Family offers fully managed support for the transfer of files over SFTP, AS2, FTPS, and FTP directly into and out of Amazon S3 or Amazon EFS. 
 
You can seamlessly migrate, automate, and monitor your file transfer workflows by maintaining existing client-side configurations for authentication, access, and firewalls—so nothing changes for your customers, partners, and internal teams, or their applications.

AWS Transfer Family is a fully managed AWS service that you can use to transfer files into and out of Amazon Simple Storage Service (Amazon S3) storage or Amazon Elastic File System (Amazon EFS) file systems over the following protocols:

Secure Shell (SSH) File Transfer Protocol (SFTP): version 3
File Transfer Protocol Secure (FTPS)
File Transfer Protocol (FTP)
Applicability Statement 2 (AS2)




Let's setup AWS Transfer Family using SFTP.

Client will be using "winscp" to access the S3 bucket.

First, we have to create a server hosted with SFTP.



For identity, we are using "Service Managed".



Select the endpoint. Endpoint will be used to access the bucket via winscp.


Select the domain (resource) S3 or EFS.



Managed workflow is optional. 





Now, the SFTP server is online.

Next, We need to add a user for SFTP server and SSH public key.

With "winscp", We will access the s3 bucket using the user and ssh key.


Click on "Add User".


Note: I have attached an IAM role called "sftp_user_role" which has access to s3 buckets.


Finally, we add the SSH public key.


Open winscp and enter the SFTP endpoint and user credentials.


NOTE: The user should be able to assume "transfer.amazonaws.com" service.



I can transfer the file.



Comments

Popular posts from this blog

SRE/DevOps Syllabus

AWS Code Commit - CI/CD Series Part 1

Docker - Preventing IP overlapping