惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

The Cloudflare Blog
U
Unit 42
F
Fortinet All Blogs
雷峰网
雷峰网
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
月光博客
月光博客
Y
Y Combinator Blog
罗磊的独立博客
V
Visual Studio Blog
大猫的无限游戏
大猫的无限游戏
J
Java Code Geeks
量子位
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
爱范儿
爱范儿
B
Blog RSS Feed
aimingoo的专栏
aimingoo的专栏
有赞技术团队
有赞技术团队
T
Tailwind CSS Blog
Microsoft Security Blog
Microsoft Security Blog
L
LangChain Blog
I
InfoQ
博客园 - 叶小钗
博客园 - 聂微东
Last Week in AI
Last Week in AI

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
AWS S3 Basics for Beginners
Vijaya Laxmi Kadham · 2026-06-20 · via DEV Community

Introduction

In the previous articles, we explored AWS networking concepts like:

  • VPC
  • Subnets
  • Internet Gateway
  • Security Groups
  • Route 53

Now, let's move to one of the most popular AWS services:

Amazon S3 (Simple Storage Service)

Amazon S3 is one of the easiest AWS services to learn and one of the most widely used services in real-world applications.

Almost every application stores some kind of data:

  • Images
  • Videos
  • Documents
  • Log files
  • Backups
  • Static websites

Amazon S3 helps us store and retrieve these files securely from anywhere in the world.

In this article, we will understand:

  • What Amazon S3 is
  • Buckets and Objects
  • Benefits of S3
  • Storage Classes
  • Versioning
  • Basic security concepts
  • Static website hosting overview

Why Do We Need Storage?

Imagine you are running an online photo-sharing application.

Users upload:

  • Profile pictures
  • Photos
  • Videos

Where should these files be stored?

Keeping them directly inside application servers is not a good idea because:

  • Storage is limited.
  • Scaling becomes difficult.
  • Replacing servers may cause data loss.

This is where Amazon S3 helps.


What is Amazon S3?

Amazon S3 stands for:

Simple Storage Service

It is a cloud-based object storage service provided by AWS.

S3 allows us to:

  • Store data
  • Retrieve data
  • Manage data

from anywhere using the internet.

Amazon S3 is designed to be:

  • Highly available
  • Durable
  • Scalable
  • Secure
  • Cost-effective

Real-World Example

Think of Amazon S3 as a digital warehouse.

Suppose you own an e-commerce company.

Inside your warehouse, you store:

  • Product images
  • Invoices
  • Customer documents
  • Videos

Similarly, Amazon S3 stores digital files safely in the cloud.


Buckets and Objects

Amazon S3 stores data using two concepts:

Bucket

A bucket is a container used to store files.

Think of a bucket like a folder.

Examples:

company-documents
customer-images
application-logs

Bucket names must be globally unique.


Object

Anything stored inside a bucket is called an Object.

Examples:

invoice.pdf
profile.jpg
backup.zip
video.mp4

Objects can contain:

  • Images
  • Videos
  • HTML files
  • CSV files
  • JSON files
  • Log files

Almost any file type can be stored in S3.


Real-Life Example

Cupboard (Bucket)
    ↓
Files and Documents (Objects)

Similarly:

S3 Bucket
    ↓
Objects


Benefits of Amazon S3

1. High Durability

Amazon S3 is famous for its durability.

AWS provides:

99.999999999%

durability.

This is often called:

Eleven 9's of Durability

AWS automatically keeps multiple copies of your data to prevent data loss.


2. High Availability

S3 is designed to remain accessible even if some infrastructure components fail.

Applications can continue accessing files without interruption.


3. Scalability

You don't need to estimate storage in advance.

Whether you store:

  • 10 files
  • 10 million files

Amazon S3 automatically scales.


4. Security

AWS provides multiple security mechanisms:

  • IAM Policies
  • Bucket Policies
  • Encryption
  • Access Control

These help protect sensitive data.


5. Cost Effective

You only pay for:

  • Storage used
  • Requests made

There is no need to purchase storage hardware.


6. High Performance

Amazon S3 supports:

  • Parallel uploads
  • Multipart uploads

This improves performance for large files.


S3 Storage Classes

Not every file needs the same level of access.

AWS provides different storage classes.


S3 Standard

Used for frequently accessed files.

Examples:

  • Website images
  • Application assets

S3 Standard-IA

IA stands for:

Infrequent Access

Used for files accessed occasionally.

Examples:

  • Monthly reports
  • Older documents

One Zone-IA

Stores data in a single Availability Zone.

Cheaper but less resilient.

Suitable for:

  • Backup copies
  • Temporary files

S3 Glacier

Used for long-term archival storage.

Examples:

  • Old backups
  • Compliance records

Retrieval is slower but storage cost is very low.


What is Versioning?

Suppose today you upload:

report.csv

Tomorrow, you modify the same file and upload it again.

What if you later discover that yesterday's version was correct?

Versioning helps solve this problem.

When versioning is enabled:

  • Old versions are preserved.
  • New uploads create new versions.
  • Previous files can be restored.

Real-Life Example

Think about Git.

Every commit stores history.

Similarly, S3 Versioning stores file history.


Static Website Hosting

Amazon S3 can also host static websites.

Examples:

  • Portfolio websites
  • Documentation sites
  • Landing pages

Files like:

index.html
style.css
logo.png

can be served directly from S3.

Because static websites do not require servers, S3 hosting is:

  • Simple
  • Fast
  • Low cost

Understanding S3 Security

AWS provides multiple layers of security.

Examples:

IAM Policies

Control what users can do.

Bucket Policies

Control who can access a bucket.

Encryption

Protects stored data.

Even if IAM permissions are accidentally configured incorrectly, bucket policies can provide an additional security layer.


Common Use Cases of Amazon S3

Amazon S3 is used for:

  • Image storage
  • Video storage
  • Backup and recovery
  • Application logs
  • Static website hosting
  • Data archival
  • Data lakes
  • Big data workloads

Official AWS Documentation

If you'd like to explore S3 in more detail, AWS provides excellent documentation.

Amazon S3 Documentation

https://docs.aws.amazon.com/AmazonS3/latest/userguide/Welcome.html

Amazon S3 Overview

https://aws.amazon.com/s3/


Conclusion

Amazon S3 is one of the most important AWS services and is widely used in almost every cloud application.

In this article, we learned:

  • What Amazon S3 is
  • Buckets and Objects
  • Benefits of S3
  • Storage Classes
  • Versioning
  • Security concepts
  • Static website hosting overview

In the next article, we will perform hands-on exercises and:

  • Create S3 buckets
  • Upload files
  • Enable versioning
  • Configure permissions
  • Create IAM users
  • Host a static website using Amazon S3