Book Image

AWS Certified Developer - Associate Guide

By : Vipul Tankariya, Bhavin Parmar
Book Image

AWS Certified Developer - Associate Guide

By: Vipul Tankariya, Bhavin Parmar

Overview of this book

AWS Certified Developer - Associate Guide starts with a quick introduction to AWS and the prerequisites to get you started. Then, this book gives you a fair understanding of core AWS services and basic architecture. Next, this book will describe about getting familiar with Identity and Access Management (IAM) along with Virtual private cloud (VPC). Moving ahead you will learn about Elastic Compute cloud (EC2) and handling application traffic with Elastic Load Balancing (ELB). Going ahead you we will talk about Monitoring with CloudWatch, Simple storage service (S3) and Glacier and CloudFront along with other AWS storage options. Next we will take you through AWS DynamoDB – A NoSQL Database Service, Amazon Simple Queue Service (SQS) and CloudFormation Overview. Finally, this book covers understanding Elastic Beanstalk and overview of AWS lambda. At the end of this book, we will cover enough topics, tips and tricks along with mock tests for you to be able to pass the AWS Certified Developer - Associate exam and develop as well as manage your applications on the AWS platform.
Table of Contents (29 chapters)
Title Page
Credits
About the Author
Acknowledgments
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Dedication
Preface
Index

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