Pcornel
Storage

Object Storage

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

Back to the Topic

Answer

Object storage keeps data as objects with metadata in flat buckets, accessed by key over an HTTP API like S3. It scales to huge capacity and suits backups, media and archives rather than databases or VM disks.

Remember

  • Objects are replaced whole, not edited in place.
  • Versioning and object lock protect against deletion.
  • Most failures are credentials, bucket policy or endpoint/region.

First checks

  • aws s3 ls --endpoint-url <url> — list buckets
  • aws s3api get-bucket-versioning --bucket <b> — versioning
  • aws s3api get-object-lock-configuration --bucket <b> — immutability

Verify in this order

client → HTTPS S3 API → bucket → objects

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=4160

Confirmation

Confirm action

Continue?