How to Enable Versioning?

Below mentioned is the Step By Step guide to Enable Versioning:

Step 1: Log in to your Amazon Web Services Account>> In your console search bar, search “S3”>>then select the S3. To create AWS free tier account refer to Amazon Web Services (AWS) – Free Tier Account Set up.

Step 2: Then on the Amazon S3 page click on create a bucket.

Step 3: In create bucket page, Give the bucket a Name

NOTE: name must be unique and should not contain any space or uppercase letter)>>Select any region>>Enable ACL (Access Control List basically helps to manage access to created buckets and it’s a different version of object)>>Un-tick Block all public access option (If you want to give it public access)>>Click on “I acknowledge” >> Enable Bucket Versioning>>Keep default encryption disabled>>Click on Create Bucket

Step 4: Click on your created bucket>>Click on upload>>Upload any file

Step 5: Here I have uploaded a txt file named Text1 (Content of Text1-“This is my text1”)>>Click on the file you uploaded>>Below you will find object URL>>try to hit the link in a browser, you won’t be able to access the content. Now, go to object action>>Click on the public using ACL.

Step 6: In make public page>>Click on Make Public option.

Step 7: Again, click on your uploaded file>>now copy on the object URL present below>>Try to hit on your browser.

After hitting the URL in the browser:

Step 8:  Now, go to your bucket where your file is present, make some changes, and upload it again. My updated file content is “This is my updated text1”. Then follow Steps 5,6,7 again. This time you can see your updated version of the file.

Step 9: Now to get the previous content of the file or to roll back-Go to your created bucket>>Click on show version option>>You can find all your previous contents.

Step 10: To get your deleted content- Go to your bucket>>select the file>>click on delete option present on top>>Type delete in delete screen.

Step 11: Go back to the same bucket>>Click on show version  

You can find your deleted file with type as “Delete marker”. To recover the deleted object, delete the “Delete marker”.

This rollback of versions of objects is what makes versioning popular.

In above we created bucket with versioning enabled 

Amazon Simple Storage Service(S3) – Versioning

Amazon Simple storage service (S3) is an object oriented storage service which provides the features such as data availability data scalability, security, and also used for enhance the performance service provided by Amazon Web Services. S3 also allows you to store as many objects as you’d like with an individual object size limit of five terabytes. With cost-effective storage classes and easy-to-use management features, you can optimize costs, organize data, and configure fine-tuned access controls to meet specific business, organisation, and compliance requirements.

Similar Reads

Using Versioning In S3 Buckets

An organization relies on services that give them security, reliability, performance, and data availability. AWS provides an S3 feature which is basically a storage class that gives all such features and also promotes scalability of the organization as well as stores data and protects them.  Now let’s understand what is S3 Versioning, in layman’s term suppose in the S3 storage class, someone uploads a picture of ID:113, and suppose after some time he/she updates the picture or replace it with ID:112. Now, suppose that he/she feels that the previous one was better and wants to roll back to picture ID:113. How to get that? The S3 Versioning comes into the picture now....

UnVersioned, Versioning-Enabled And Versioning Suspended Buckets:

S3 bucket available in three states depending on there state of versioning as following.To know about storage classes refer to Amazon S3 – Storage Classes....

Using S3 Versioning With S3 Lifecycle

An S3 Lifecycle Management in simple terms when in an S3 bucket some data is stored for a longer time in standard storage even when not needed. The need to shift this old data to cheaper storage or delete it after a span of time gives rise to life cycle management. To Know more about Amazon S3 – Lifecycle Management....

How S3 Versioning Works?

S3 versioning helps you to maintain the different versions of the objects in an single bucket which you can keep an track of the objects like updated version and what the updates are made when compared to the previous objects. following are some of major changes will happen when the bucket is versioned....

How to Enable Versioning?

Below mentioned is the Step By Step guide to Enable Versioning:...

Disable The Versioning Of S3 Bucket

Below mentioned is the Step By Step guide to Disable Versioning of S3 Bucket:...

AWS S3 Bucket Versioning – FAQ’s

1. Is S3 Versioning Incremental?...

Contact Us