S3
Simple Storage Service
ELI5 — The Vibe Check
S3 is Amazon's giant file locker in the sky. You throw files in, they're stored forever (or until you delete them), and you can access them from anywhere in the world. Websites, apps, backups, videos — billions of files live in S3. It's the most popular cloud storage in the world.
Real Talk
Amazon S3 is an object storage service offering virtually unlimited scalability, high durability (11 nines), and global accessibility. Files (objects) are stored in buckets and accessed via HTTP. Supports versioning, lifecycle policies, access control, static website hosting, and event triggers to Lambda.
Show Me The Code
// Upload a file to S3 with AWS SDK
import { S3Client, PutObjectCommand } from '@aws-sdk/client-s3';
const client = new S3Client({ region: 'us-east-1' });
await client.send(new PutObjectCommand({
Bucket: 'my-bucket',
Key: 'images/photo.jpg',
Body: fileBuffer,
ContentType: 'image/jpeg'
}));
When You'll Hear This
"User uploads go straight to S3." / "The S3 bucket is public — make sure sensitive files aren't in there."
Related Terms
AWS (Amazon Web Services)
AWS is like a giant magical warehouse where you can rent computers, storage, databases, and basically anything tech-related — by the minute.
Blob Storage
Blob storage is just a fancy name for storing unstructured data — images, videos, PDFs, audio files, any binary stuff.
Cloud Storage
Cloud storage is just storing your files on someone else's servers in the cloud instead of your own hard drive.
CloudFront
CloudFront is AWS's CDN — it copies your files to data centers all over the world so users get content from a server near them instead of one far away.
Lambda
AWS Lambda is where you upload a function and AWS runs it when something happens — an HTTP request, a file upload, a database change.
Object Storage
Object storage treats files as 'objects' — each one gets a unique key (like a URL) and is stored with its data and metadata.