AWS Transfer Family
A managed front door speaking the protocols other people insist on — SFTP, FTPS, FTP, AS2 — with S3 or EFS behind it. You don't run a file server; the partner never changes their script.
Một cửa trước managed nói những giao thức mà người khác nhất quyết dùng — SFTP, FTPS, FTP, AS2 — với S3 hoặc EFS ở phía sau. Bạn không phải nuôi file server; đối tác không phải đổi script.
Shape of itHình dạng
Everything downstream of the landing bucket is ordinary AWS: S3 events, Step Functions, Glue. Transfer Family's only job is speaking a protocol you'd otherwise have to host yourself.
Mọi thứ phía sau bucket nhận file đều là AWS bình thường: S3 event, Step Functions, Glue. Việc duy nhất của Transfer Family là nói một giao thức mà nếu không có nó bạn phải tự host.
Reach for it / not the right toolDùng nó / không phải công cụ đúng
Reach for itDùng nó
- A partner's system can only do SFTP/FTPS and won't change.Hệ thống đối tác chỉ làm được SFTP/FTPS và không chịu đổi.
- Replacing a self-managed SFTP server on EC2.Thay một SFTP server tự quản trên EC2.
- AS2 for EDI — logistics, retail, healthcare, payments.AS2 cho EDI — logistics, bán lẻ, y tế, thanh toán.
- A browser portal for staff to drop files into S3.Portal trình duyệt để nhân viên thả file vào S3.
- A file landing must trigger processing automatically.File tới là phải tự chạy xử lý.
Not the right toolKhông phải công cụ đúng
- Your own web/mobile app uploading → S3 presigned URL.App web/mobile của chính bạn upload → S3 presigned URL.
- One-off bulk move → DataSync or Snow.Chuyển hàng loạt một lần → DataSync hoặc Snow.
- Keeping two buckets in sync → S3 Replication.Giữ hai bucket đồng bộ → S3 Replication.
- Mounting a shared filesystem on EC2 → EFS / FSx.Mount filesystem chung cho EC2 → EFS / FSx.
- Small JSON payloads → API Gateway.Payload JSON nhỏ → API Gateway.
- The partner is happy to call the S3 API → just grant them access.Đối tác sẵn sàng gọi S3 API → cứ cấp quyền cho họ.
- Static IP for a partner's firewall → VPC-hosted, internet-facing endpoint with Elastic IPs. A public endpoint's addresses are not yours to pin.IP tĩnh cho firewall của đối tác → endpoint đặt trong VPC, internet-facing, có Elastic IP. Địa chỉ của public endpoint không phải của bạn để ghim.
- Custom IdP (API Gateway + Lambda) is how you authenticate against an existing user database — and how you return the IAM role and home directory per user.Custom IdP (API Gateway + Lambda) là cách xác thực với cơ sở dữ liệu user sẵn có — và là chỗ trả về IAM role cùng home directory cho từng user.
- Because storage is plain S3, everything else still applies: bucket policies, SSE-KMS, Object Lock, lifecycle, replication, Access Points.Vì storage chỉ là S3 thường, mọi thứ khác vẫn áp dụng: bucket policy, SSE-KMS, Object Lock, lifecycle, replication, Access Point.
Exam reflexesPhản xạ thi
- The tell is always "the partner/vendor can only use SFTP" or "we run an SFTP server on EC2". Answer: Transfer Family in front of S3.Dấu hiệu luôn là "đối tác/vendor chỉ dùng được SFTP" hoặc "chúng tôi chạy SFTP server trên EC2". Đáp án: Transfer Family đứng trước S3.
- "AS2" in the stem → Transfer Family, always. Nothing else in AWS speaks AS2.Có chữ "AS2" trong đề → Transfer Family, luôn luôn. Không service AWS nào khác nói AS2.
- If the uploader is your own application, Transfer Family is the expensive wrong answer — presigned URLs cost nothing at rest.Nếu bên upload là chính ứng dụng của bạn, Transfer Family là đáp án sai và đắt — presigned URL không tốn gì khi rảnh.
- "Process the file as soon as it arrives" → managed workflow, or the ordinary S3 event → Lambda/Step Functions path."Xử lý file ngay khi nó tới" → managed workflow, hoặc đường S3 event → Lambda/Step Functions bình thường.