Introduction to S3 (Buckets & Objects)
Amazon S3 (Simple Storage Service) is object storage built to store and retrieve any amount of data from anywhere. S3 is organized into buckets (containers) and objects (files). Buckets are globally unique and must have a unique name across all AWS accounts.
Buckets
Buckets are containers for objects stored in S3. When you create a bucket, you choose a globally unique name, select a region, and configure settings like versioning, logging, and encryption. Bucket names must be DNS-compliant and unique across all AWS accounts.
Objects
Objects are the files you store in S3. Each object consists of data (the file content), a key (the object name/path), metadata (information about the object), and optionally version ID. Objects can be up to 5 TB in size.
Best Practices
Use descriptive bucket names, enable versioning for important data, use lifecycle policies to manage costs, enable encryption, use proper IAM policies, and organize objects with prefixes for better management.
