Amazon S3 lifecycle expiration is not one timestamp. First the rule makes an object eligible. S3 then queues the physical deletion. Storage billing changes at eligibility, even if the object remains visible for a while.
This page describes Amazon S3's documented lifecycle behavior. It is not a tport.space feature guide: tport.space does not currently expose the S3 lifecycle API.
A one-day rule can take almost two calendar days
For an age-based rule, S3 adds the configured number of days to the object's creation time, then rounds up to the next midnight UTC. AWS gives this example: an object created on 2 January at 00:05 UTC becomes one day old on 3 January at 00:05, then becomes eligible when lifecycle evaluation reaches 4 January at 00:00 UTC.
| Event | UTC time | What changes |
|---|---|---|
| Object created | 2 Jan, 00:05 | Age starts |
| Object is one day old | 3 Jan, 00:05 | Not yet at the rounded boundary |
| Lifecycle eligibility | 4 Jan, 00:00 | Expiration is queued; storage billing stops |
| Physical removal | Later, asynchronously | GET and LIST stop showing the object after deletion completes |
The rounding detail matters most for short rules. Do not promise that “one day” means exactly 24 hours after upload, and do not use lifecycle expiration as a precise job scheduler.
Billing and visibility can disagree for a while
- Eligibility: S3 evaluates the rule and queues an eligible object for removal.
- Billing: AWS says storage charges stop when the object becomes eligible, not when the delayed delete finishes.
- Visibility: lifecycle actions are asynchronous, so physical expiration can lag the rule's date.
- Exception: a transition into S3 Intelligent-Tiering changes billing only after the transition completes.
That split is useful during an audit. If an eligible object is still listed, check the rule status, filter and eligibility date before treating its continued visibility as continued storage billing.
Filters deserve a compatibility test
We also ran a dated compatibility check against Garage 2.5.0, an S3-compatible store, on 12 November 2026. A non-midnight Date was rejected. Setting a past-date rule removed nothing immediately, and restarting the service still left all 10 test objects present. Those observations match the idea of a scheduled worker, but they are Garage behavior, not a measurement of Amazon S3.
The sharper finding was a tag filter: the service accepted the lifecycle request but returned the rule with the tag filter missing, which widened it to the whole bucket. Object tagging itself was not implemented in that lab. The safe lesson is portable: after writing a lifecycle rule to any S3-compatible service, read it back and compare the filter before putting valuable objects under it.
A rollout checklist
- Start with a disposable prefix and a few known object creation times.
- Write the lifecycle rule, then read it back. Compare status, prefix, tags, size bounds and action.
- Calculate the rounded midnight-UTC eligibility time on paper.
- Record object count and bytes before eligibility, at eligibility and after physical removal.
- Keep a restore path until the rule has completed one real cycle.
- For versioned buckets, test current versions, noncurrent versions and delete markers separately.
If the goal is a backup policy rather than automatic expiration alone, pair the timing check with a prefix-based object-storage retention design. Before deleting a source copy, use size, ETag, MD5 and full-read verification.
Use S3-compatible storage with standard clients, scoped access keys and straightforward file access.
Explore tport.spaceSources checked 13 November 2026
- Troubleshooting Amazon S3 Lifecycle: midnight-UTC rounding, daily evaluation example and asynchronous action delay.
- Amazon S3 lifecycle configuration elements: age calculation and rounding to the next midnight UTC.
- Managing the lifecycle of objects: existing objects, queued removal and billing at eligibility.
- Compatibility lab: Garage 2.5.0 on Ubuntu 24.04, 12 November 2026; 40 controlled objects plus a separate 10-object tag-filter bucket. The test record retains the configuration and observations.