- Newest
- Most votes
- Most comments
When working with S3 lifecycle rules for noncurrent versions, the expiration timing depends on when the object became noncurrent and how S3 processes lifecycle actions.
In your scenario:
- V1 became noncurrent on 11/14/25 when V2 was created
- V2 became the current version
- On 11/16/25, V3 was created and V2 was deleted
When V2 was deleted, this didn't change the fact that V1 was already noncurrent. However, the NoncurrentVersionExpiration action is evaluated based on when an object becomes noncurrent and the specified NoncurrentDays value (1 day in your case).
There are two important factors to consider:
-
S3 lifecycle actions occur asynchronously, so there can be a delay between when an object becomes eligible for expiration and when the actual deletion occurs. This is not an immediate process.
-
Amazon S3 rounds the transition or expiration date to midnight UTC the next day. For example, if an object becomes eligible for expiration, the actual expiration process would begin after midnight UTC the following day.
The delay you observed (expiration on 11/18/25 instead of 11/16/25) is likely due to the asynchronous nature of S3 lifecycle actions. While the object may have been eligible for expiration earlier, the actual physical deletion can take additional time to complete. This is normal behavior for S3 lifecycle operations.
The expiration calculation would have been based on when V1 became noncurrent (11/14/25) plus your NoncurrentDays setting (1 day), but the actual deletion was delayed due to the asynchronous processing of lifecycle actions.
Sources
Troubleshooting Amazon S3 Lifecycle issues - Amazon Simple Storage Service
NoncurrentVersionExpiration - Amazon Simple Storage Service
Deleting object versions from a versioning-enabled bucket - Amazon Simple Storage Service
answered a year ago
