Estos contenidos se han traducido de forma automática para su comodidad, pero Huawei Cloud no garantiza la exactitud de estos. Para consultar los contenidos originales, acceda a la versión en inglés.
Actualización más reciente 2024-09-18 GMT+08:00

Lifecycle Management Overview

Lifecycle management means periodically deleting objects in a bucket or transitioning between object storage classes by configuring rules.

Figura 1 Lifecycle management
You may configure lifecycle rules to:
  • Periodically delete logs that are only meant to be retained for a specific period of time (a week or a month).
  • Transition documents that are seldom accessed to the Infrequent Access or Archive storage class or delete them.

You can define lifecycle rules for identifying objects and manage lifecycles of the objects based on the rules.

Objects that are no longer frequently accessed can be transitioned to Infrequent Access or Archive, saving your costs. In short, transition basically means that the object storage class is altered without copying the object. You can also manually change the storage class of an object on the Objects page. For details, see Carga de un objeto.

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.

  • Time: You can specify the number of days after which objects that have been last updated and meet specified conditions are automatically transitioned to Infrequent Access, Archive, or expire and are then automatically deleted.
    • Transition to Infrequent Access: You can specify the number of days after which objects that have been last updated and meet specified conditions are automatically transitioned to Infrequent Access.
    • Transition to Archive: You can specify the number of days after which objects that have been last updated and meet specified conditions are automatically transitioned to Archive.
    • Expiration time: You can specify the number of days after which objects are automatically deleted or the day after which an object that matches with a rule is deleted.