S3 Part II
S3 Rules and Policiesπ

S3 Storage Classesπ
Amazon Amazon S3 provides different storage classes so you can balance cost, availability, and access frequency. Each class is designed for a different data access pattern.
Below are the main S3 Storage Classes used in data engineering and cloud architectures.
1. S3 Standardπ



Best for: Frequently accessed data.
Examples
- Data lakes
- Websites
- Streaming data
- Mobile apps
- Analytics datasets
Key Features
- 99.99% availability
- 11 9βs durability (99.999999999%)
- Stored across multiple Availability Zones
- Low latency and high throughput
Example (your use case): Streaming data from Amazon Kinesis β AWS Lambda β S3 Standard for real-time analytics.
2. S3 Intelligent-Tieringπ




Best for: Data with unknown or changing access patterns.
Key Features
-
Automatically moves data between tiers:
-
Frequent Access
- Infrequent Access
- Archive Instant
- Archive
- Deep Archive
- Small monitoring fee
- No retrieval charges for frequent tiers
Example Log files where you donβt know how often they will be accessed.
3. S3 Standard-IA (Infrequent Access)π




Best for: Data accessed occasionally but requires fast access.
Examples
- Backups
- Disaster recovery
- Older analytics data
Features
- Lower storage cost than Standard
- Retrieval fee when accessed
- Minimum storage duration: 30 days
4. S3 One Zone-IAπ




Best for: Infrequently accessed re-creatable data.
Examples
- Secondary backups
- Temporary processing data
- Data that can be regenerated
Features
- Stored in single AZ
- Cheaper than Standard-IA
- Retrieval charges
- Minimum storage duration: 30 days
5. S3 Glacier Instant Retrievalπ

Best for: Rarely accessed data that still needs instant retrieval.
Examples
- Medical images
- Media archives
- Long-term analytics data
Features
- Very low storage cost
- Milliseconds retrieval
- Minimum storage: 90 days
6. S3 Glacier Flexible Retrievalπ

Best for: Archive data accessed occasionally.
Retrieval Options
- Expedited: 1β5 minutes
- Standard: 3β5 hours
- Bulk: 5β12 hours
Examples
- Backup archives
- Compliance data
7. S3 Glacier Deep Archiveπ
Best for: Long-term archival data rarely accessed.
Examples
- Financial records
- Regulatory archives
- Historical logs
Features
- Cheapest S3 storage class
- Retrieval time: 12β48 hours
- Minimum storage: 180 days
Quick Interview Summary
| Storage Class | Access Frequency | AZs | Retrieval Speed |
|---|---|---|---|
| S3 Standard | Frequent | Multi AZ | Milliseconds |
| S3 Intelligent Tiering | Unknown | Multi AZ | Milliseconds |
| S3 Standard-IA | Infrequent | Multi AZ | Milliseconds |
| S3 One Zone-IA | Infrequent | Single AZ | Milliseconds |
| Glacier Instant | Rare | Multi AZ | Milliseconds |
| Glacier Flexible | Rare | Multi AZ | MinutesβHours |
| Deep Archive | Very Rare | Multi AZ | Hours |
Data Engineering Tip (relevant to your work):
For pipelines like Kinesis β Lambda β S3 β Athena:
- Hot streaming data β S3 Standard
- After 30β90 days β lifecycle rule β Standard-IA
- After 1 year β Glacier / Deep Archive
Using S3 Lifecycle Policies automatically moves objects between classes.
