Skip to main content

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#

  1. Inside a bucket, on the top right click Bucket Settings button
  2. Click Create Lifecycle button
  3. Enter lifecycle name
  4. 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#

  1. 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
  2. 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
  3. Click Expire current versions of objects
    • Days after object creation*
    • Enter number of days
  4. 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:

  1. Click Bucket Settings button and Lifecycle
  2. You can click edit button to update lifecycle

To delete a Lifecycle:

  1. Click Bucket Settings button and Lifecycle
  2. You can click delete button to delete lifecycle