Home › Forums › AWS › AWS Certified Solutions Architect Associate › S3 object lock and versioning › Reply To: S3 object lock and versioning
-
Hi gp24,
Thank you for reaching out with your inquiry.
You are correct in your understanding. When data “must be retained,” Amazon S3 Object Lock is the right solution to secure objects from deletion or alteration while meeting regulatory and compliance requirements.
It is also essential to note that S3 Object Lock requires the S3 bucket to have versioning enabled. However, versioning is not enabled by default when using Object Lock. Prior to using Object Lock, you must manually enable versioning. Once versioning is enabled, Object Lock works with it to maintain specific object versions, preventing them from being deleted or overwritten during the retention period.
For more detailed information, you can refer to the latest AWS documentation on S3 Object Lock and S3 Versioning.
If you have any further questions, feel free to ask. We’re here to help!
Cheers,
Irene @ Tutorials Dojo