Chapter 5.4 - Versioning Objects in S3 Flashcards
What is Versioning?
Version control of your objects or files.
What are the advantages of Versioning?
- All versions of an object are stored in S3. This includes all writes and even if you delete an object.
- Can be a great backup tool.
- Once enabled, versioning cannot be disabled, only suspended.
- Can be integrated with lifecycle rules.
- Can support multi-factor authentication.
How are versions of objects or files listed in AWS?
In a reverse chronological file tree. Example: * Delete Marker * Version 3 * Version 2 * Version 1
Are old versions public by default?
No.
Even when you have a policy that enables all objects in a bucket to be public, it doesn’t apply to previous versions of those objects. You must manually make older versions public.
With Versioning enabled, what happens when you delete an object in AWS?
The system does not actually delete the object but rather inserts a Delete Marker at the top of the file tree making the object inaccessible
With Versioning enabled, how do you make a deleted object accessible again?
You must delete the Delete Marker.