Pcornel
Browse topics
Options
Recent
Favorites
Storage · Technical reference

Buckets

Direct 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.

When to use this

Use this when creating or securing object storage buckets.

First 30 seconds

1. A bucket is a namespace for objects with policies and settings.

2. Block public access by default.

3. Encryption at rest.

4. Naming rules (DNS compatible).

5. One owner/account.

Operational verification

bucket settings → access/encryption → objects

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
Object storage
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

PlatformObject storage
Scope / prerequisiteUse this when creating or securing object storage buckets.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Common mistakes Narrow the fault
  • Bucket policies allowing * principals.
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • Bucket policy and IAM decide access.
  • Block public access unless required.
  • Versioning and lock are set per bucket.
Key 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
ReferenceHow it works1 section · depth on demand

Reference

  • Block public access at account and bucket level.
  • Default encryption (SSE-S3/SSE-KMS).
  • Access logging or CloudTrail data events.
  • Least-privilege bucket policies.
ReferenceImportant terms & boundaries3 sections · depth on demand

In depth

A bucket is the top-level container, and its name is global

In S3 and compatible object stores, a bucket holds objects. Policies, versioning, lifecycle rules, encryption defaults and replication are configured per bucket.

Naming rules (AWS, general purpose buckets)

RuleDetail
Length3–63 characters
CharactersLowercase letters, digits, periods, hyphens
Start and endA letter or digit
ForbiddenTwo adjacent periods; IP-address format; reserved prefixes such as xn-- and suffixes such as -s3alias
UniquenessGlobal across all accounts in the partition; a name cannot be changed later

AWS also warns about two traps. After a bucket is deleted, another account can claim the name and receive requests meant for the old bucket, so empty and keep buckets instead of deleting them. And names with periods break virtual-host-style HTTPS, because the TLS certificate doesn't match.

$ aws s3api create-bucket --bucket acme-backups-prod-7f3a2c --region eu-north-1 \
    --create-bucket-configuration LocationConstraint=eu-north-1
$ aws s3api put-bucket-versioning --bucket acme-backups-prod-7f3a2c --versioning-configuration Status=Enabled
$ aws s3api put-public-access-block --bucket acme-backups-prod-7f3a2c \
    --public-access-block-configuration BlockPublicAcls=true,IgnorePublicAcls=true,BlockPublicPolicy=true,RestrictPublicBuckets=true
$ aws s3api get-bucket-encryption --bucket acme-backups-prod-7f3a2c

Bucket design

DecisionGuidance
One bucket per application and environmentSeparate policies, lifecycle and cost reporting
Unpredictable suffix in namesAWS recommends unique names (for example a GUID) for automatically created buckets
No sensitive data in namesNames appear in URLs and logs
Block public access by defaultOpen only what must be public, deliberately
Keys (object names) as pseudo-folderslogs/2026/11/27/ prefixes for lifecycle rules and listing

Self-hosted S3 (MinIO, Ceph RGW) has its own namespace, but follow the same naming rules for client compatibility.

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.

How it works

A bucket is a container for objects with its own settings: access policy, versioning, lifecycle, replication and object lock. Bucket names are unique within the storage system (globally unique on AWS S3).

Reference

aws s3api create-bucket --bucket corp-backups --region eu-north-1 --create-bucket-configuration LocationConstraint=eu-north-1
aws s3api get-bucket-policy --bucket corp-backups
aws s3api get-public-access-block --bucket corp-backups

Documented example, not captured output.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docObject storage current

Authoritative/upstream documentation reviewed for bounded claims in Object Storage → Buckets. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://www.snia.org/tech_activities/standards/curr_standards/cdmi · confidence 94%
Confirmation

Confirm action

Continue?