AWS S3最大文件和上传大小 [英] AWS S3 max file and upload sizes

查看:976
本文介绍了AWS S3最大文件和上传大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

AWS S3文档说:

AWS S3 documentation says:

单个Amazon S3对象的大小范围可以从最小0开始 个字节,最大为5 TB.可能是最大的物体 在单个PUT中上传的内容为5 GB.

Individual Amazon S3 objects can range in size from a minimum of 0 bytes to a maximum of 5 terabytes. The largest object that can be uploaded in a single PUT is 5 gigabytes.

如果只能上传5GB的文件,如何存储5TB的文件?

How do I store a file of size 5TB if I can only upload a file of size 5GB?

推荐答案

根据文档

According to the documentation here you should use multipart uploads:

部分上传对象使用分段上传API,您可以上传 大对象,最高可达5 TB.

Upload objects in parts—Using the multipart upload API, you can upload large objects, up to 5 TB.

分段上传API旨在 改善大型物件的上传体验.您可以上传 零件中的对象.这些对象部分可以独立上传, 任何顺序,并平行.您可以对对象使用分段上传 从5 MB到5 TB.

The multipart upload API is designed to improve the upload experience for larger objects. You can upload objects in parts. These object parts can be uploaded independently, in any order, and in parallel. You can use a multipart upload for objects from 5 MB to 5 TB in size.

此处列出了API和一个有关如何使用每个实例的示例.

Here there is a list of the APIs and an example on how to use each one.

这篇关于AWS S3最大文件和上传大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆