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.
Contact Us