Understanding Object Expiration

Understanding Object Expiration

When an object reaches the end of its lifetime, Amazon S3 queues it for removal and removes it asynchronously. There may be a delay between the expiration date and the date at which Amazon S3 removes an object. You are not charged for storage time associated with an object that has expired.

To find when an object is scheduled to expire, use the HEAD Object or the GET Object API operations. These API operations return response headers that provide this information.

If you create a lifecycle expiration rule that causes objects that have been in INTELLIGENT_TIERING, STANDARD_IA, or ONEZONE_IA storage for less than 30 days to expire, you are charged for 30 days. If you create a lifecycle expiration rule that causes objects that have been in GLACIER storage for less than 90 days to expire, you are charged for 90 days. If you create a lifecycle expiration rule that causes objects that have been in DEEP ARCHIVE storage for less than 180 days to expire, you are charged for 180 days. For more information, see Amazon S3 Pricing.