Phân biệt nhanh: các tính năng S3 dễ nhầm lẫn
Nhiều tính năng của S3 có tên hoặc mô tả gần giống nhau; phân biệt được chúng giúp chọn đúng tính năng cho từng nhu cầu.
Một số tính năng S3 có tên hoặc mô tả gần với nhu cầu thực tế nhưng giải quyết một vấn đề khác. Chọn từng tính năng để xem trường hợp sử dụng, lý do không phù hợp trong tình huống MFTECH tương ứng, và phương án nên chọn:
Chạy một thao tác trên danh sách tới hàng tỷ object (manifest từ S3 Inventory, CSV hoặc filter): copy object, thay tag, thay ACL, restore từ Glacier Flexible Retrieval, gọi Lambda, cập nhật mã hoá, đặt Object Lock retention hoặc legal hold. S3 theo dõi tiến độ và tạo completion report.
Vì sao không chọn trong tình huống nàyLưu lượng đọc trang đào tạo nội bộ tăng mạnh khiến phí data transfer out từ S3 tăng cao. Batch Operations là công cụ quản trị object, không phục vụ request đọc của người dùng, nên không giảm được lưu lượng ra Internet.
Phương án phù hợpĐặt CloudFront trước bucket: nội dung được cache tại edge location, và data transfer từ S3 tới CloudFront không bị tính phí.
- Thao tác hàng loạt trên object: Batch Operations.
- Replicate object đã tồn tại: Batch Replication.
- Sao chép một lần giữa bucket:
aws s3 synchoặc Batch Replication. - Một endpoint cho bucket ở nhiều Region: Multi-Region Access Points.
- Lưu object tại chỗ: S3 on Outposts.
- Đọc một đoạn tệp: byte-range fetch.
- Giảm phí data transfer out khi phục vụ nội dung: CloudFront.
Quick comparison: S3 features that are easy to confuse
Many S3 features have similar names or descriptions; telling them apart helps you pick the right one for each need.
Some S3 features have names or descriptions close to a real need but solve a different problem. Choose each feature to see what it is for, why it does not fit the matching MFTECH situation, and what to choose instead:
Runs a single operation on a list of up to billions of objects (a manifest from S3 Inventory, a CSV file or filter criteria): copy objects, replace tags, replace ACLs, restore from Glacier Flexible Retrieval, invoke Lambda, update encryption, set Object Lock retention or legal hold. S3 tracks progress and produces a completion report.
Vì sao không chọn trong tình huống nàyRead traffic to the internal training site grows sharply and S3 data transfer out charges climb. Batch Operations is an object management tool; it does not serve users' read requests, so it cannot reduce traffic out to the internet.
Phương án phù hợpPut CloudFront in front of the bucket: content is cached at edge locations, and data transferred from S3 to CloudFront is not charged.
- Bulk operations on objects: Batch Operations.
- Replicate existing objects: Batch Replication.
- One-time copy between buckets:
aws s3 syncor Batch Replication. - One endpoint for buckets in several Regions: Multi-Region Access Points.
- Objects stored on premises: S3 on Outposts.
- Read part of a file: byte-range fetch.
- Lower data transfer out charges when serving content: CloudFront.