Amazon S3
What Amazon S3 is for, buckets and how they're named, objects and keys, and the map of this group.
What it is
Amazon S3 (Simple Storage Service) is AWS's object storage. Files ("objects") go into containers ("buckets") and are read back over HTTPS, from anywhere, at any scale. AWS advertises it as storage that scales without limit: there's no disk to size and no space to run out of.
S3 is one of the main building blocks of AWS. Many websites are built on it, and many AWS services use it to store logs, backups, exports and data. Object storage is different from the block and file storage of the previous group: whole objects are read and written through an API, rather than attaching a disk to a server.
What people use it for
- Backup and storage, disaster recovery and archive. For example, Nasdaq keeps seven years of data in S3 Glacier.
- Hybrid cloud storage: extending on-premises storage into AWS.
- Application and media hosting: images, video and downloads for apps and websites.
- Data lakes and big data analytics. For example, Sysco runs analytics on its data in S3.
- Software delivery and static websites.
Buckets
A bucket is a container for objects, a bit like a top-level folder.
- Buckets are created in a Region. S3 looks global in the console, but every bucket and its data live in the chosen Region.
- Names: a general purpose bucket name has to be unique across all accounts and all Regions (a shared global namespace). Buckets can now also be created in the account regional namespace: the name ends in
-anand only the owning account can ever own it, which AWS recommends. - Naming rules:
- 3 to 63 characters: lowercase letters, numbers, hyphens (and dots);
- no uppercase letters and no underscores;
- must start and end with a letter or number;
- must not look like an IP address;
- must not start with
xn--or end with-s3aliasor--ol-s3.
Objects and keys
- Every object has a key: its full path inside the bucket, such as
photos/2026/beach.jpgins3://my-bucket/photos/2026/beach.jpg. - The key is a prefix (
photos/2026/) plus an object name (beach.jpg). - There are no real directories. Keys are just long names that contain slashes. The console shows "folders" to make browsing easier, but S3 itself only has keys.
Each object has:
- A value: the content, from 0 bytes up to 50 TB. A single upload (
PUT) can be at most 5 GB; anything bigger must use multipart upload. - Metadata: key-value pairs, set by the system (content type, size) or by the user.
- Tags: up to 10 key-value pairs, useful for permissions and lifecycle rules.
- A version ID, if versioning is on.
Updated since the slides
For years the maximum object size was 5 TB. AWS raised it to 50 TB, which the slides already show. The account regional namespace for bucket names is also new: if a question asks how to make sure no one else can take an account's bucket names, that's the answer.
In this group
Basics
Security and bucket policies
IAM policies, bucket policies, ACLs and Block Public Access.
Static website hosting
Serve a website straight from a bucket.
Versioning and replication
Keep every version, and copy objects to other buckets.
Storage classes and cost
Storage classes
Standard to Deep Archive, Intelligent-Tiering, Express One Zone.
Lifecycle rules
Move or delete objects automatically over time.
Requester Pays
Make the downloader pay for transfer.
Advanced
Event notifications
React to new and deleted objects with SNS, SQS, Lambda, EventBridge.
Performance
Request rates, multipart upload, Transfer Acceleration, byte ranges.
Batch Operations and Storage Lens
Change millions of objects at once, and see the storage.
Security
Encryption
SSE-S3, SSE-KMS, DSSE-KMS, SSE-C, client-side, in transit.
CORS
Let a website on one origin load files from another bucket.
MFA Delete and access logs
Protect versions, and record every request.
Presigned URLs
Temporary access to one private object.
Object Lock and Vault Lock
Write once, read many: retention and legal holds.
Access Points and Object Lambda
Per-team entry points to a shared bucket.
Exam tips
- "Store any amount of files cheaply, accessed over HTTP", "durable object storage" → S3.
- "Object larger than 5 GB" → multipart upload (required). Largest object → 50 TB.
- "Bucket names must be unique" → globally, unless the account regional namespace is used.
- "S3 is global" in a question is a trap: buckets are Regional.
Common traps
- "Create folders in S3." Folders are just key prefixes.
- "Mount S3 as a disk on EC2 for a database." S3 is object storage; databases need block storage (EBS).
- "Bucket names can use uppercase or underscores." They can't.
Hands-on lab: your first bucket
Goal: create a bucket, upload a file into a "folder", and see that the folder is just part of the key.
Costs money
Storing a few small files in S3 Standard costs less than a cent a month. Any Region works.
Create a bucket
S3 → Create bucket. Bucket type General purpose, name saa-lab-<your initials>-<random number> (it must be unique), Region us-east-1. Keep Block all public access on and the other defaults. Add the tag Project=saa-lab. Create.
Upload into a folder
Open the bucket → Create folder photos. Open it → Upload any small image. Open the object: look at its Key (photos/your-image.jpg), S3 URI, size, storage class and Server-side encryption (already on).
See that folders are only prefixes
In CloudShell, run:
aws s3api list-objects-v2 --bucket <your-bucket> --query 'Contents[].Key'You get photos/ (the empty "folder" marker the console created) and photos/your-image.jpg: just keys.
Expected result: a private bucket with one object whose key includes its "folder".
Clean up: keep the bucket for the next labs, or Empty it and then Delete it.
AWS documentation
Amazon Timestream
What a time series database is for, Timestream's features and architecture, and the move from Timestream for LiveAnalytics to Timestream for InfluxDB.
Security and bucket policies
How access to S3 is decided, IAM policies vs bucket policies vs ACLs, bucket policy examples, and Block Public Access.