JRJérôme RaguilletFinOps · Cloud & AIFR
← All insights
FINOPS · CLOUD & AI

S3: Billed Storage for Incomplete Multipart Uploads

An S3 object listing can appear clean while parts of incomplete multipart uploads remain stored and billed. AWS states that they are retained until completion or abortion, and a Lifecycle AbortIncompleteMultipartUpload rule can delete them after a configured delay. The 7-day delay is one possible setting, not a universal rule, and the volume actually recoverable depends on what is observed in each scope.

A seemingly clean bucket can hide billed storage

A bucket's inventory is most often read through its objects: you list, count, add up sizes, and the whole appears consistent. This reading nevertheless leaves aside a category of items that do not appear as completed objects.

A multipart upload takes place in several parts sent separately, then assembled at completion. As long as the operation is neither completed nor aborted, the parts already transmitted exist on the storage side without appearing in the bucket's object list. Hence the possible gap between what the inventory shows and what is actually billed.

What AWS says about the lifetime of parts

AWS states that the parts of a multipart upload are retained and billable until the upload is completed or aborted. In other words, an interrupted transfer—network outage, stopped process, misconfigured client, a new attempt launched without cleaning up the previous one—leaves behind fragments that continue to occupy storage, and therefore continue to generate costs, with no default time limit.

This statement comes from the AWS documentation cited as the source. It has not been independently verified here, and it describes a general behavior: it says nothing about the volume concerned in a given environment, which can only be established by an on-site measurement.

The Lifecycle AbortIncompleteMultipartUpload rule

A Lifecycle rule of type AbortIncompleteMultipartUpload makes it possible to delete these parts after a configured delay. The principle is simple: beyond a set duration, an unfinished upload is treated as abandoned and its parts are deleted.

Two points of caution accompany this simplicity. First, the rule applies to unfinished uploads and not to legitimate objects: it does not replace a lifecycle policy on the data itself. Second, the chosen delay simultaneously determines the residual storage tolerated and the risk of deleting the parts of a transfer still in progress. These two effects move in opposite directions, which explains why there is no single value satisfactory for all cases.

A four-step verification approach

The approach described consists of listing incomplete uploads, estimating their volume, choosing a duration compatible with legitimate transfers, then checking billed storage after implementation.

The order of these steps is not insignificant. Without a prior inventory, you do not know whether the issue is marginal or significant, and therefore whether it deserves a project. Without a volume estimate, you have no element to arbitrate the delay. Without a check after implementation, you do not know whether the rule produced the expected effect. This last check is also the only way to distinguish a real decrease from a simple billing lag or a display effect.

Choosing the delay: a trade-off, not a constant

The delay is not a neutral technical parameter; it is a trade-off. Too short, it risks deleting the parts of a legitimate long-duration transfer—large objects, slow links, deferred resumptions, scheduled sends—and forcing the upload to be restarted, with the transfer and time cost that implies. Too long, it leaves useless storage billed for longer.

The right parameter therefore depends on the size of the objects transferred, the available bandwidth, the tools and libraries used, and the tolerance for restarting an upload. “7 days” is one possible setting, not a universal rule: adopting it without examination amounts to importing an assumption into a context that is not necessarily the same.

The 7.3 TB figure: an anecdote, not a measurement

An anecdote mentions 7.3 TB said to be “ghost.” This figure does not come from our scope and cannot serve as a reference or a basis for projection. The real saving will depend on the volume actually observed during the inventory, the delay chosen, and the frequency of abandoned uploads.

Announcing a potential gain without prior measurement would amount to turning an assumption into a result. Caution is all the more necessary because the subject is easy to overestimate: a large volume of incomplete uploads can also signal a transfer reliability problem, which a cleanup rule would mask without solving it.

Practical questions before enabling a rule

Do your buckets have a rule for abandoned multipart uploads? If the answer is no, the first step remains the inventory: how many incomplete uploads, since when, for what estimated volume. Then come governance questions: who owns the rule, on which buckets, with what delay, and how is the result checked after a few weeks.

You must also ask what the rule does not solve. Periodic cleanup removes symptoms, not causes: misconfigured clients, repeated failures, lack of resumption. Addressing these causes in parallel avoids endlessly recreating the storage that the rule has just deleted.

Finally, the starting measurement deserves to be kept: without a documented point of comparison, it will be impossible to say later whether the rule actually reduced billed storage or whether the volume simply varied with activity.

The post behind this insight

Expanded from the LinkedIn post. The links below come from the original post; listing them does not imply independent verification.

LinkedIn ↗

Links included in the post

Continue reading

My FinOps approach · My Cloud and AI consulting services