Amazon S3 Storage Management - S3 Lifecycle#
Keywords: AWS, Amazon, S3, Lifecycle, Life Cycle, Policy
Overview#
Lifecycle 顾名思义就是生命周期, 说的是一个 S3 object 是有其生命周期的, 在到达生命周期的不同阶段的时候 (自从被创建后经过了多少天), 自动改变它的 Storage class 以节约成本. 简而言之, 你可以通过 Filter 来定义哪些 Object 会受到该 Lifecycle policy 的管理, 你可以用 Prefix, Tag, Object Size 来 filter. 其次, 你可以用 Transition 来定义多少天后转移到哪种 Storage class 中.
Reference#
Supported transitions and related constraints: 不是所有的 Storage class 都可以互相转化, 这篇文档介绍了哪些 Transition 是允许的.
Lifecycle and other bucket configurations: 这篇文档介绍饿了 Lifecycle configuration 和其他的 S3 configuration, 例如 versioning, MFA, logging 等是如何联动的.
Lifecycle configuration elements: 介绍了 LifeCycle configuration 到底怎么写.