Pcornel
Storage · Object Storage

Objects

Cheat sheet · https://pcornel.dk/topic.php?topic=4162

Back to the Topic

Answer

An object is a unit of data in object storage — a file's contents plus metadata and a unique key. Objects are written and replaced whole rather than edited in place.

Remember

  • Objects are written whole.
  • Large objects use multipart upload.
  • ETag may not equal MD5 for multipart.

First checks

  • aws s3api head-object --bucket <b> --key <k> — size, ETag, metadata
  • aws s3 cp s3://<b>/<k> - — read object
  • aws s3api list-objects-v2 --bucket <b> --max-items 10 — list

Verify in this order

PUT object → stored with metadata → GET by key

Where it usually breaks

First mismatch in DNS/TLS → authentication/signing → bucket/container policy → object key/version → gateway → backend placement → GET/HEAD read-back; preserve identity/pre-state before mutation.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=4162

Confirmation

Confirm action

Continue?