Buckets and Objects
Inkwell has twelve thousand book cover images sitting on the web server's disk. The disk keeps filling up, backups are slow, and each new web server needs its own copy. Amazon S3 (Simple Storage Service) takes files off servers entirely: any server, and with permission any browser, can fetch them from one place.
The rule
A bucket is a globally named box in one Region; an object is a key plus bytes.
A bucket is a container for objects:
- It lives in one Region that you choose, such as
ap-south-1. - Its name must be unique across all AWS accounts, not just yours, because it appears in URLs. Names are 3 to 63 characters of lowercase letters, numbers, dots and hyphens, starting and ending with a letter or number.
An object is a stored file:
- The key is its full name within the bucket, such as
covers/2026/the-river.jpg. - The data is the bytes of the file.
- Metadata describes it, such as
Content-Type: image/jpeg.
S3 has no real folders. The namespace is flat, and the console just splits keys at / to show folders. covers/2026/ is a prefix shared by keys.
aws s3 cp the-river.jpg s3://inkwell-covers/covers/2026/the-river.jpg
aws s3 ls s3://inkwell-covers/covers/2026/Other facts worth owning:
- S3 is designed for eleven nines (99.999999999%) of durability, by storing data redundantly across multiple Availability Zones for most storage classes.
- Reads are strongly consistent: once an upload succeeds, the next read returns the new object.
- Versioning, switched on per bucket, keeps every version of an object, so an overwrite or delete can be undone.