# Amazon S3 Fundamentals

> Store and serve objects with S3: buckets, keys, storage classes, versioning, presigned URLs and event notifications. Free notes, key concepts, resources and a...

Canonical: https://www.internhack.in/roadmaps/tracks/cloud-engineer/s3-fundamentals
Last updated: 2026-11-28

Store and serve objects with S3: buckets, keys, storage classes, versioning, presigned URLs and event notifications.

Beginner · about 5 hours · difficulty 2/5

Learn first: [IAM Users, Groups, Roles and Policies](https://www.internhack.in/roadmaps/tracks/cloud-engineer/iam-fundamentals)

**Amazon S3** is object storage with effectively unlimited capacity and very high durability. It stores everything from website assets and user uploads to backups and data lakes. Azure Blob Storage and Google Cloud Storage are the equivalents.

### Core concepts

- **Buckets** have globally unique names and live in one region.
- **Objects** are files identified by a **key** (uploads/2026/photo.jpg). Folders are just key prefixes.
- Objects can be up to 5 TB; use **multipart upload** for anything large.
- S3 is strongly consistent for reads after writes.

### Storage classes

- **Standard**: frequent access.
- **Intelligent-Tiering**: AWS moves objects between tiers based on access, good when patterns are unknown.
- **Standard-IA and One Zone-IA**: cheaper storage, retrieval fee, for infrequent access.
- **Glacier Instant, Flexible and Deep Archive**: archival, from milliseconds to hours to retrieve.

### Useful features

- **Versioning** keeps old copies and protects against accidental overwrite or delete.
- **Presigned URLs** give temporary upload or download access without making anything public. This is how apps let users upload directly to S3.
- **Event notifications** trigger Lambda, SQS or EventBridge when objects are created.
- **Static website hosting** (prefer CloudFront in front).

### Pitfalls

- Routing large uploads through your server instead of presigned URLs.
- Enabling versioning without a lifecycle rule, so old versions pile up forever.
- Many tiny objects in Glacier, where per-object overhead outweighs savings.

You are ready to move on when you can build an upload flow using presigned URLs and explain which storage class fits logs, user photos and seven-year compliance archives.

## Key concepts

- **Buckets, objects and keys**
- **Storage classes**
- **Versioning**
- **Presigned URLs**
- **Multipart upload**
- **Event notifications**
- **Static website hosting**
- **S3 Select and Athena queries**

## Mini project

Write a small script (Python or Node) that generates a presigned PUT URL, uploads a file with curl, and then generates a presigned GET URL that expires in five minutes. Keep the bucket private with only a few small files so it stays within free tier, and empty and delete it afterwards.

## Check yourself

Why are presigned URLs better than making a bucket public for letting users download their invoices?

## Free resources

- [Amazon S3 User Guide](https://docs.aws.amazon.com/AmazonS3/latest/userguide/Welcome.html) (AWS)
- [Amazon S3 storage classes](https://aws.amazon.com/s3/storage-classes/) (AWS)
- [Amazon S3 documentation](https://docs.aws.amazon.com/s3/) (AWS)

Previous: [Auto Scaling Groups and Launch Templates](https://www.internhack.in/roadmaps/tracks/cloud-engineer/auto-scaling) · Next: [S3 Security, Encryption and Lifecycle Rules](https://www.internhack.in/roadmaps/tracks/cloud-engineer/s3-security-lifecycle)

## More in Storage: S3, EBS and EFS

- [Amazon S3 Fundamentals](https://www.internhack.in/roadmaps/tracks/cloud-engineer/s3-fundamentals)
- [S3 Security, Encryption and Lifecycle Rules](https://www.internhack.in/roadmaps/tracks/cloud-engineer/s3-security-lifecycle)
- [Block and File Storage: EBS and EFS](https://www.internhack.in/roadmaps/tracks/cloud-engineer/ebs-efs)

## Related

- [Roadmaps](https://www.internhack.in/roadmaps)
- [Cloud Engineer (AWS) Roadmap](https://www.internhack.in/roadmaps/tracks/cloud-engineer)
