S3 Lifecycle rules
S3 Lifecycle RulesΒΆ
- Set rules to move data between different tiers to save storage cost
-
Example: S3 Standard Tier (General Purpose) => S3 Standard-Infrequent Access (IA) Tier => S3 Glacier
-
Transition actions: It defines when objects are transitioned to another [[storage class]].
- Eg: We can choose to move AWS S3 Objects to S3 Standard-Infrequent Access (IA) Tier class 60 days after you created them or can move to S3 Glacier for archiving after 6 months
-
Expiration actions: Helps to configure objects to expire after a certain time period. S3 deletes expired AWS S3 Objects on our behalf
- Eg: S3 Access logs files can be set to delete after a specified period of time
-
Can be used to delete incomplete [[multi-part uploads]]