Pcornel
Storage · Object Storage

Buckets

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

Back to the Topic

Answer

A bucket is the top-level container in object storage. It has a globally or account-unique name, region, access policy, versioning, lifecycle rules and object lock settings that apply to the objects inside.

Remember

  • Bucket policy and IAM decide access.
  • Block public access unless required.
  • Versioning and lock are set per bucket.

First checks

  • aws s3api get-bucket-policy --bucket <b> — policy
  • aws s3api get-public-access-block --bucket <b> — public block
  • aws s3api get-bucket-encryption --bucket <b> — encryption

Verify in this order

bucket settings → access/encryption → 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=4163

Confirmation

Confirm action

Continue?