Lifecycle of S3

Lifecycle of S3

2022.09.14

This article was published more than one year ago. Please be aware that the information may be outdated.

Lifecycle of S3

In the previous post, I discussed the S3 storage classes. Objects can be transitioned between these storage classes depending on how critical the needs are.

For infrequently accessed objects, they can be moved to STANDARD_IA, and for archive objects that are not needed in real-time, GLACIER OR DEEP_ARCHIVE.

Transitioning of objects can be automated using a lifecycle configuration

S3 Lifecycle Rules

Transition actions: It defines when objects are transitioned to another storage class.

    • Move to Glacier for archiving after 3 months

Expiration actions: Configure objects to expire (delete) after some time

    • Log files can be set to delete after a 90 days
    • Can be used to delete old versions of files (if versioning is enabled)
    • Can be used to delete incomplete multi-part uploads

 

Note: The value of days transitioning to intelligent_tiering must be at least 30 more than the value of the previous Standard_IA.

The value of days transitioning to Glacier Deep Archive must be at least 30 more than the value of the previous Glacier Instant Retrieval.

Share this article

AWSのお困り事はクラスメソッドへ

Related articles