Lifecycle Management Overview

Lifecycle management applies to the following scenarios:

  • Some periodically uploaded files need only to be retained for one week or one month, and can be deleted once they have expired.
  • Documents are seldom accessed after a certain period of time, and need to be deleted.

You can define lifecycle rules for identifying objects and manage lifecycles of the objects based on the rules. After unnecessary files are deleted, less OBS storage space is required, saving your costs.

Lifecycle rules have two key elements:

  • Configuration policy

    You can also specify the prefix of object names so that objects whose names have this prefix are restricted by the rules. You can configure a lifecycle rule for a bucket so that all objects in the bucket can be restricted by the lifecycle rule.

  • Deleted upon expiration: You can specify the number of days after which objects that have been last updated and meet specified conditions are automatically deleted.