AWS S3 (Simple Storage Service) is like Google Drive / Dropbox, but for applications and companies.
You can store:
- ๐ Files (PDF, Word, Excel)
- ๐ผ Images
- ๐ต Audio / ๐ฅ Videos
- ๐ Backups
- ๐ Website files (HTML, CSS, JS)
S3 = Online storage on AWS cloud
Basic S3 terms (must know)
๐ Bucket = Folder
๐ Object = File
Step 1: Create AWS Account
Create & Login AWS account.
Step 2: Login to AWS Console
- Login to ๐ https://console.aws.amazon.com
- In search bar, type S3
- Click S3
You will see Amazon S3 dashboard
Step 3: Create Your First S3 Bucket
- Click Create bucket
- Fill details:
Bucket name
- Must be unique globally
- Example:
demo-bucket-2026
Region
- Choose Asia Pacific (Mumbai) (best for India)
- Leave all settings default
- Scroll down → Click Create bucket
๐ Bucket created!
Step 4: Upload Files to S3 Bucket
- Click your bucket name
- Click Upload
- Click Add files
- Select any file (PDF, image, mp3)
- Click Upload
✅ File uploaded successfully
Step 5: Access File (Public or Private)
By default → files are PRIVATE
To make file public:
- Click on uploaded file
- Go to Permissions
- Click Edit
- Enable:
☑ Read – Everyone (public access) - Save changes
Now click Object URL
๐ Anyone can open/download the file
Step 6: Folder Structure in S3 (Important)
You can create folders:
- Inside bucket → Click Create folder
- Name:
images/ documents/ backups/
Upload files inside folders → clean structure
Step 7: Delete File or Bucket
Delete file
- Select file → Delete
Delete bucket
- Empty bucket first
- Then delete bucket
Step 8: Common Real-Life Uses of S3
✔ Website images & videos
✔ Resume & document storage
✔ App file uploads
✔ Backup of databases
✔ Static website hosting
Step 9: Simple S3 Pricing (Easy)
Free Tier (12 months):
- 5 GB storage free
- 20,000 GET requests free
After free tier:
- Very cheap (₹1–₹2 per GB/month approx)
๐ก You only pay for what you use
Step 10: Next Level (Optional — After Basics)
Once comfortable, learn:
- S3 + EC2 (server)
- S3 + CloudFront (fast delivery)
- S3 lifecycle rules (auto delete old files)
- S3 IAM permissions (security)
One-Line Summary
AWS S3 is cloud storage where you create buckets, upload files, control access, and pay only for usage.
S3 Structure
AWS S3
└── Bucket (Main Folder)
├── images/
│ ├── logo.png
│ └── banner.jpg
│
├── documents/
│ ├── resume.pdf
│ └── invoice.docx
│
└── backup.zip
๐ Rules
- One Bucket
- Inside bucket → Folders
- Inside folders → Files (Objects)