What is S3 Object Lock?
AdvancedConceptStorage and Databases
Answer
Object Lock gives WORM protection on object versions, requiring versioning. Governance mode: users with s3:BypassGovernanceRetention can override. Compliance mode: nobody, including root, can delete or shorten retention until it expires. Legal hold is an independent on/off flag with no expiry.
It is the basis for SEC 17a-4 and ransomware-resistant backups. Choose compliance mode carefully: a mistake with a long retention cannot be undone.
More on Storage and Databases
Compare the S3 storage classes.BeginnerWhat is S3's consistency model?IntermediateHow does S3 versioning and delete work?BeginnerHow do S3 lifecycle rules work?IntermediateHow do bucket policies, ACLs and Block Public Access interact?IntermediateWhat are the S3 server-side encryption options?Advanced