Cloud Storage - Object Lifecycle Management¶
Step-01: Introduction¶
- Create Object Lifecycle Management Rules (OLM Rules)
- Rule-1: Delete Object OLM Rule
- Rule-2: Set storage class to Archive
Step-02: Create Object Lifecycle Management Rules (OLM Rules)¶
Step-02-01: Rule-1: Delete Object OLM Rule¶
- Upload a folder, that will get deleted using delete object OLM rule.
- Important Note: After you add or edit a rule, it may take up to 24 hours to take effect.
- Go to Cloud Storage -> mybucket1032 -> LIFECYCLE -> Click on ADD A RULE
- Select an action: Delete Object
- Select object conditions
- Set Rule Scopes
- Object name matches prefix: myapp2
- Click on CREATE
Step-02-02: Rule-2: Set storage class to Archive¶
- Go to Cloud Storage -> mybucket1032 -> LIFECYCLE -> Click on ADD A RULE
- Select an action: Set storage class to Archive
- Select object conditions
- Set Rule Scopes
- Object name matches prefix: myapp3
- Set Conditions:
- Age: 10 days
- Click on CREATE
🎉 New Course
Ultimate DevOps Real-World Project Implementation on AWS
$15.99
$84.99
81% OFF
DEVOPS2026FEB
Enroll Now on Udemy
🎉 Offer