> For the complete documentation index, see [llms.txt](https://karansingh.gitbook.io/aws-saa-c02/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://karansingh.gitbook.io/aws-saa-c02/advanced-s3-and-athena/lifecycle-configuration.md).

# Lifecycle Configuration

* Can tell S3 to transition objects to less expensive storage classes, or archive or delete them.<br>
* Set of rules that define actions that Amazon S3 applies to a group of objects.<br>
* Two types of actions:
  * Transition actions:
    * Define when objects transition to another storage class.<br>
  * Expiration actions:
    * Define when objects expire.
    * S3 deletes expired objects on your behalf.

## Transition:

* S3 Standard storage class to any other storage class.<br>
* Any storage class to the S3 Glacier or S3 Glacier Deep Archive.<br>
* S3 Standard-IA to the S3 Intelligent-Tiering or S3 One Zone-IA.<br>
* S3 Intelligent-Tiering to the S3 One Zone-IA.<br>
* S3 Glacier to S3 Glacier Deep Archive.\ <br>
* To move object:
  * From S3 Standard to S3 Standard-IA or S3 One Zone-IA, object needs to be stored in S3 Standard for at least 30 days.<br>
  * From S3 Standard-IA or S3 One Zone-IA or S3 Intelligent Tiering to S3 Glacier or S3 Glacier Deep Archive, object needs to be stored in S3 Standard-IA or S3 One Zone-IA or S3 Intelligent Tiering

    for at least 30 days.
