CostMonStart free

Cloud cost

Lifecycle policy

A rule that moves or deletes stored data on its own after a set condition, most often an age threshold.

Cloud cost

Last updated

Definition

A lifecycle policy turns a storage-class decision from a one-time manual move into an automatic one. For example, it can move an object to a colder class after 30 days. It can expire old versions after 90 days. It can delete an incomplete multipart upload after a week. Without a policy, each cleanup depends on someone remembering. Usually nobody does.

The failure runs in both directions. With no policy, storage grows forever. With a policy written before you check a class's minimum storage duration, early-delete penalties can apply the moment it runs. The rule must match the real access pattern of the data, not a guess at its age.

Where it shows up

A lifecycle policy is a rule attached to a storage bucket or volume in the provider's console. It defines an age threshold that triggers a class transition, a version expiry, or a delete. S3's lifecycle configuration is the standard example. You find it on the bucket's Management tab.

What makes it expensive

Do not write a policy that moves data before you check the class's minimum storage duration. The early-delete penalty applies the moment the policy runs. Watch a new policy for a full billing cycle. Retrieval and penalty charges on the destination class tell you the age threshold was too aggressive.

Connect it. Get the first alert.

Connect a provider and CostMon builds a daily baseline for it. From there, a spike reaches your team as an alert.

Esc