Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
AWS Certified Developer ??? Associate Guide

You're reading from   AWS Certified Developer ??? Associate Guide Your one-stop solution to passing the AWS developer's certification

Arrow left icon
Product type Paperback
Published in Sep 2017
Publisher Packt
ISBN-13 9781787125629
Length 600 pages
Edition 1st Edition
Tools
Arrow right icon
Authors (2):
Arrow left icon
Bhavin Parmar Bhavin Parmar
Author Profile Icon Bhavin Parmar
Bhavin Parmar
Vipul Tankariya Vipul Tankariya
Author Profile Icon Vipul Tankariya
Vipul Tankariya
Arrow right icon
View More author details
Toc

Table of Contents (19) Chapters Close

Preface 1. AWS Certified Developer – Associate Certification FREE CHAPTER 2. Introduction to Cloud Computing and AWS 3. Identity and Access Management 4. Virtual Private Clouds 5. Getting Started with Elastic Compute Cloud 6. Handling Application Traffic with Elastic Load Balancing 7. Monitoring with CloudWatch 8. Simple Storage Service, Glacier, and CloudFront 9. Other AWS Storage Options 10. AWS Relational Database Services 11. AWS DynamoDB - A NoSQL Database Service 12. Amazon Simple Queue Service 13. Simple Notification Service 14. Simple Workflow Service 15. AWS CloudFormation 16. Elastic Beanstalk 17. Overview of AWS Lambda 18. Mock Tests

Versioning


S3 allows you to keep multiple versions of an object in a bucket. Versioning can be enabled at bucket level. Once versioning is enabled, it protects you from accidental updates and deletes on an object. When you overwrite or delete an object, it keeps multiple copies with version numbers.

For example, when you enable versioning on a bucket called packtpub, for each action on an existing object in the bucket, S3 creates a new version and associates a version ID with it, as shown in the following table:

Object

Last activity

Version ID

developer-guide.pdf

Jun 12, 2017 9:42:02 AM

VAgAtLChtLoMkKF4ZVoq.NAGRRBA1hSp

developer-guide.pdf

Jun 11, 2017 8:41:23 AM

3mWAzx.l25VRt3.V.1ExutyOAEG1npX3

developer-guide.pdf

Jun 10, 2017 5:39:58 PM

hV_2iz3GgRvOTt1NoiL8KXg3FpLJkFI7

 

When you delete an object in a version-enabled bucket, S3 does not actually delete the object but instead adds a delete marker to it.

Enabling versioning on a bucket

The steps for enabling versioning on a bucket are as follows:

  1. Sign in to...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image