Lifecycle rules
To manage your objects so that they are stored cost effectively throughout their lifecycle, configure their Lifecycle. An Lifecycle configuration is a set of rules that define actions that S3 applies to a group of objects.
#
How to create a lifecycle rule- Inside a bucket, on the top right click Bucket Settings button
- Click Create Lifecycle button
- Enter lifecycle name
- Choose a rule scope Limit the scope of this rule using one or more filters or Apply to all objects in the bucket
- If you choose Limit the scope of this rule using one or more filters you can choose filter type Prefix or Tag
- If you choose Prefix you have to enter a prefix
- If you choose Tag you have to enter an object tag
#
Configure Lifecycle rule actions- Click Move current versions of objects between storage classes
- Transition current versions of objects between storage classes
- Choose storage class transitions Cold or Standard and the number of days
- Click Move noncurrent versions of objects between storage classes
- Transition noncurrent versions of objects between storage classes
- Choose storage class transitions Cold or Standard, number of days and number of newer versions
- Click Expire current versions of objects
- Days after object creation*
- Enter number of days
- Click Permanently delete noncurrent versions of objects
- Enter number of days after objects become noncurrent
- Enter number of newer versions to retain
To update a Lifecycle:
- Click Bucket Settings button and Lifecycle
- You can click edit button to update lifecycle
To delete a Lifecycle:
- Click Bucket Settings button and Lifecycle
- You can click delete button to delete lifecycle