In this lesson, we explored Amazon S3 Glacier Vault Lock and S3 Object Lock, two powerful features designed to enforce WORM (Write Once, Read Many) compliance for data protection and legal retention.
📌 S3 Glacier Vault Lock allows you to enforce a WORM (Write Once, Read Many) model on entire Glacier Vaults by applying a Vault Lock Policy that cannot be modified once locked.
1️⃣ Create a Vault Lock Policy on an S3 Glacier Vault.
2️⃣ Lock the policy permanently (after a test period).
3️⃣ Once locked, the policy cannot be modified or deleted.
⚠️ Important: Once the Vault Lock Policy is enforced, data cannot be removed—even by the root user!
📌 S3 Object Lock is a similar WORM feature but operates at the object level (instead of the entire bucket like Glacier Vault Lock).
1️⃣ Enable versioning on the S3 bucket (mandatory).
2️⃣ Apply Object Lock settings per object version.