Give artifacts stable identities
How object keys, consistency, conditional requests, and multipart uploads support application data and versioned artifact repositories. · advanced
In an S3 general purpose bucket, an object key is the complete name of an object. In artifacts/payments/2.8.1/bundle.zip, the slashes are characters in the key, not directories with independent update semantics. Prefixes organize naming and listing; they do not make a collection of objects transactional.
Separate immutable artifact keys, such as release-specific or content-addressed names, from a mutable manifest, such as channels/production.json. The manifest names the selected artifact. Immutability is an application rule unless writes enforce it; putting a release number in a key does not prevent replacement.
An S3 version ID identifies a particular stored version under a key when bucket versioning is enabled. An unqualified GET selects the current version; a GET with a version ID selects that specific version. Versioning retains overwritten versions, but does not stop competing publishers from changing the current object. A release number in a key and an S3 version ID are different identifiers.