SIVA 99

AWS S3 Versioning

S3 Object Versioning is one of the best features in Amazon S3. Object versioning is used to avoid the overwrite and deletion. Versioning is not enabled by default and this feature is used to keep multiple versions of objects at the same time in the bucket.

If we are enable the versioning on the bucket, we can't delete an object directly. All versions remain in the bucket and a delete marker is introduced which becomes the current version. So if you need to delete an object, you need to remove that delete marker also. Existing objects in your bucket do not change and only future requests behavior changes. If we put an object retrieval request, the current version of the object will always return.

After Versioning Enabled

Three states of Buckets:

Now we are going to discuss how to enable versioning.

Versioning-suspended :

Liked This Article?

Conclusion:

S3 Object Versioning is one of the best features in Amazon S3. Object versioning is used to avoid the overwrite and deletion. Versioning is not enabled by default and this feature is used to keep multiple versions of objects at the same time in the bucket.

Leave a Reply

Your email address will not be published. Required fields are marked *