Storage

S3 Bucket and Object

Object storage service that organizes files as objects identified by unique keys within globally named buckets.

How it works

Amazon S3 stores data as objects in buckets. A bucket is created in an AWS Region; its naming uniqueness depends on its bucket namespace. Each object consists of data and metadata, is identified by a key within the bucket, and can have a version ID. In a general purpose bucket, slashes in keys create the appearance of folders even though the object namespace is flat.

When to use it

Choose it when the requirement is durable key-value object storage for unstructured data accessible over HTTP.

Real-world example

An invoicing application uploads each PDF to a general purpose bucket, using the customer ID and date in the object key. It later retrieves the appropriate object over HTTPS when an authorized user views the invoice.

Key facts

  • General purpose bucket names use a shared global namespace or an account regional namespace.
  • Maximum object size is 50 TB; a single PUT upload is limited to 5 GB.
  • Objects contain data and metadata, are identified by a key, and may have version IDs.

Common pitfall

Do not treat a prefix as an ordinary directory that can be renamed atomically. In a general purpose bucket, changing a key normally involves copying the object to a new key and deleting the old one.

Often confused with

Amazon EBS, which provides block storage for EC2 instances rather than web-accessible object storage.

References

Prepared by Cloud Quest. Check current behavior and limits in the AWS documentation:

SAA-C03 study guide and learning resources

Keywords you will see in SAA-C03 questions

  • unstructured data storage
  • globally unique bucket name
  • object key and metadata

Understand it for real with 3D models and simulated labs

Connect the concept to a working architecture.

Start learning