Storage, Redis & Caching
Object lifecycle policies
Explain how S3 lifecycle rules transition and expire objects by age, and why a rule added without a retention owner can delete records that must be kept.
What you will be able to do
- Read the lifecycle rules on a bucket and check which rule covers an object.
- Decide which records need Object Lock instead of a lifecycle expiry.
What is in the lesson
- A real situation where this goes wrong
- How it works, step by step
- A walkthrough with commands you can run
- How it fails in production, and how to tell
- Three quiz questions with explanations
Read this lessonFree. No account needed.
More in Storage, Redis & Caching
- Backup retentionIntermediate · 4 min
Explain how retention policies choose which recovery points to keep, and why forget, prune and a restore test all have to run before space is freed and recovery is…
- Snapshots consistencyIntermediate · 4 min
Explain why a snapshot taken during writes can be inconsistent, and how freezing writes and snapshotting all volumes together make a database snapshot usable on restore.
- Multipart uploadsAdvanced · 4 min
Explain how multipart upload builds one object from numbered parts, and why unfinished uploads keep costing money until they are completed or aborted, even when they do…
- Redis data typesAdvanced · 4 min
Explain how Redis data types set the cost of each change and the memory a key uses, and why one JSON string per session is a poor fit for small updates.
- Redis eviction policiesAdvanced · 4 min
Explain how Redis eviction policies choose what to remove at the memory cap, and why a single instance shared by cache and session data can lose the wrong keys.
- TTL and stampedesAdvanced · 4 min
Explain how TTLs cause cache stampedes when keys expire together, and use jitter and a short rebuild lock to keep the database from taking the spike.