How to enable Versioning in AWS S3

 



AWS S3 Versioning-  Versioning is a means of keeping multiple variants of an object in the same bucket. You can use versioning to preserve, retrieve, and restore every version of every object stored in your Amazon S3 bucket. With versioning, you can easily recover from both unintended user actions and application failures. When you enable versioning for a bucket, if Amazon S3 receives multiple write requests for the same object simultaneously, it stores all of the objects.

If you enable versioning for a bucket, Amazon S3 automatically generates a unique version ID for the object being stored. In one bucket, for example, you can have two objects with the same key, but different version IDs, such as photo.gif (version 111111) and photo.gif (version 121212).



Versioning-enabled buckets enable you to recover objects from accidental deletion or overwrite. For example:

  • If you delete an object, instead of removing it permanently, Amazon S3 inserts a delete marker, which becomes the current object version. You can always restore the previous version.

  • If you overwrite an object, it results in a new object version in the bucket. You can always restore the previous version.




Comments

Popular posts from this blog

Core 5 Security Epics in AWS Cloud

How to change Domain account logging password

Why do you need to monitor your network?