Technology

S3 Versioning

A bucket-level Amazon S3 feature that preserves every version of every object — every PUT or DELETE creates a new version rather than overwriting or removing the previous one. Each version gets a unique **VersionId**; DELETE operations create a special **delete marker** rather than actually erasing data. The previous (non-current) version remains in storage and is recoverable until a lifecycle policy or explicit version-specific delete removes it. Versioning state is per-bucket: once enabled, only "suspended" is possible (you can't return to the never-enabled state).

5 connections

Definition

What it is

A bucket-level Amazon S3 feature that preserves every version of every object — every PUT or DELETE creates a new version rather than overwriting or removing the previous one. Each version gets a unique VersionId; DELETE operations create a special delete marker rather than actually erasing data. The previous (non-current) version remains in storage and is recoverable until a lifecycle policy or explicit version-specific delete removes it. Versioning state is per-bucket: once enabled, only "suspended" is possible (you can't return to the never-enabled state).

Why it exists

The original S3 semantics make PUT a destructive write — accidentally overwriting an object means the prior bytes are gone. Versioning is the simplest mitigation: turn destructive writes into non-destructive ones, then let lifecycle rules expire noncurrent versions on whatever schedule matches the operator's recovery-point-objective. The cost trade-off is direct: every version is billed at the same per-GB rate as the current object, so a frequently-updated config file can multiply storage cost by the number of versions retained.

Primary use cases

Accidental-overwrite recovery for production buckets, ransomware mitigation in conjunction with Object Lock + MFA Delete, point-in-time recovery for application state stored in S3, audit-trail use cases where every change to a JSON config / spec file is preserved, and as the substrate for higher-level replication features (versioning is a prerequisite for S3 Replication).

Connections5

Outbound3
Inbound2