Life cycle management
Life cycle management is a mechanism in S3 that enables you to either automatically transition an object from one storage class to another storage class or automatically delete an object, based on configuration. Life cycle rules can be applied to a group of objects based on filter criteria set in the rule.
S3 allows you to configure one or more life cycle rules, in which each rule defines a specific action. There are two types of action you can define in life cycle rules:
- Transition actions: This defines when an object storage class changes from an existing storage class to target storage class. For example, you can define a rule for all object keys starting with
data/
in a bucket to transition from Standard storage to STANDARD_IA after 15 days. Similarly, you can define a rule to transition for all objects keys starting withdata/
from STANDARD_IA to Glacier storage. Let's say, you have a bucket namedpacktpubs
and inside the bucket you have a folder nameddata
. Within...