Skip to main content
Last updated on

Lifecycle Config

A lifecycle config automatically manages the lifecycle of objects, for example moving them to a different storage class or deleting them after a period of time. Like the Bucket Policy tab, this is a raw JSON editor, not a multi-field form.

Lifecycle Config tab

Apply templates

The Áp dụng templates (Apply templates) dropdown offers a couple of ready-made templates, for example:

  • Delete files older than 7 days
  • Delete files from failed multipart uploads after 7 days

Lifecycle Config templates dropdown

Picking a template overwrites the JSON box right away; click Cập nhật (Update) to actually save it.

Action buttons

  • Format JSON — reformats the JSON for readability.
  • Cập nhật (Update) — saves the lifecycle config to the bucket.
  • Xoá (Delete) — removes the current lifecycle config entirely.
Delete uses the browser's native confirm dialog

Unlike most other delete actions in Simple Storage, clicking Xoá (Delete) here opens the browser's native confirm() popup (not a portal UI dialog) reading "Xoá lifecycle config?" (Delete lifecycle config?). If your browser blocks this popup, the delete action won't go through.