Buckets, Objects & Keys
The three words you need to understand everything else in S3.
1. Buckets
A bucket is a top-level container. Each one lives in a single AWS Region you choose, and its name must be globally unique across all AWS accounts, because it becomes part of a URL.
Good names: notesnap-uploads-dev-4821, acme-logs-us-east-1. Names must be lowercase, with no spaces and no
underscores.
2. Objects
An object is the file data plus metadata (content type, size, custom tags). Objects can be as small as zero bytes or as large as several terabytes.
3. Keys
The key is the object's full name inside the bucket, for example notes/2026/shopping-list.txt.
S3 doesn't really have folders. notes/2026/ is just part of the key's name. The console displays slashes
as folders to make browsing easier, but under the hood it's one flat list of keys.
Put it together and every object has a unique address:
s3://notesnap-uploads-dev-4821/notes/2026/shopping-list.txt
└──────── bucket ───────┘└──────────── key ────────────┘Consistency
S3 gives strong read-after-write consistency: as soon as an upload succeeds, any read returns the new data. No waiting and no stale reads.
Key takeaways
- Bucket = container (globally unique name, lives in one Region).
- Object = file + metadata. Key = the object's full name, including any "folder" path.
- Folders are an illusion created by slashes in keys.
Check your understanding
Pick an answer to see the explanation.
1. Why must bucket names be globally unique?
2. In s3://my-bucket/photos/cat.jpg, what is the key?