Suspended Versioning

0

I have a versioning enabled bucket with objects having retention, and if I suspend the versioning of the bucket and put object with same name again, will there be again two different object versions or just the one with latest version id as null?

Saurav
asked a month ago202 views
2 Answers
1

Hi Saurav,

When you suspend versioning on an Amazon S3 bucket and then upload an object with the same name.

Existing Versions All previous versions of the object are retained.

New Upload The new object will overwrite the existing object but will not create a new version. The uploaded object will not have a version ID associated with it, and it will be the current version accessible by its key.

Understand Retention Know that existing versions will remain intact and accessible via their version IDs.

New Upload Behavior Recognize that after suspending versioning, new uploads will overwrite the object without creating additional versions.

Manage Existing Versions If needed, you can manage or delete old versions manually using S3

https://docs.aws.amazon.com/AmazonS3/latest/userguide/Versioning.html

https://docs.aws.amazon.com/AmazonS3/latest/userguide/VersionSuspendedBehavior.html

https://docs.aws.amazon.com/AmazonS3/latest/userguide/VersionSuspendedBehavior.html#:~:text=In%20Amazon%20S3%2C%20you%20can%20suspend%20versioning%20to,existing%20objects%20in%20your%20bucket%20do%20not%20change.

EXPERT
answered a month ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions