Reputation: 2455
Using multipart uploads, Amazon S3 retains all the parts until the upload is either completed or aborted. In an anonymous drop situation, it would be good for abandoned uploads to be automatically aborted after a timeout to reclaim the space and avoid the cost of holding any parts that made it.
It would be possible to create some external monitor using ListMultipartUploads
, but it would be better if S3 did it automatically.
If you initiate an upload and maybe upload some parts, but then do nothing further, will S3 eventually abort it for the bucket owner?
Upvotes: 10
Views: 8112
Reputation: 845
Note the newer setting mentioned in Andrew's answer
Original response:
No. From the doc page you linked, "Once you initiate a multipart upload, Amazon S3 retains all the parts until you either complete or abort the upload."
If you do not either complete or abort the upload, any parts that have been uploaded will just kinda hang around and cause you storage charges until you do so.
Upvotes: 4
Reputation: 4565
You can set this here:
and say afer 7 days or so, just delete them.
Upvotes: 9