3.5 Life Cycle Management
Last updated
Was this helpful?
Last updated
Was this helpful?
This lab is demonstrated based on old console UI. It is usually used in conjunction with Versioning.
If you want to enable life-cycle management of your bucket, you have to enable versioning in advance.
After enable versioning, go to life-cycle management and add a rule. The rule target could be the whole bucket or a prefix which means a sub-folder or a particular object in your bucket.
Then you need to configure rules. There are two kinds of actions, one for current (latest) version, the other for previous versions.
For the actions on current version, you can configure the rules such as transition from Standard to IA after 30 days of your object's creation, and archive to Glacier after 60 days, and expire your object after 425 days. Because we enabled versioning, so expire an object will just add a deleting marker to it, so it means Glacier hides it.
For the actions on previous versions, you can configure the rules such as transition from Standard to IA after 30 days of your previous version's generation or your current version is expired, and archive to Glacier after 60 days, and permanently delete it after 425 days, so your previous version will be permanently deleted (deleted in Glacier).
Then you can configure actions on incomplete multi-part uploads. It will end and clean up incomplete multi-part uploads within a predefined number of days after initiation.
Finally you can review and name your life-cycle rules. Then the life-cycle of your objects and their versions will follow your rules.
Can be used in conjunction with versioning.
Can be applied to current versions and previous versions.
Following actions can now be done: Transition to the Standard - IA Storage Class (128kb and 30 days after the creation date). Archive to the Glacier Storage Class (30 days after IA, if relevant). Permanently Delete.
Notice: objects archived to Glacier Storage Class incur costs for at least 90 days of storage even if they are deleted or overwritten earlier.