S3 Contd
Storage Classes
- S3 Storage Classes
- When we upload data into s3 bucket, it creates multiple copies and stores it in multiple locations
-
This is done to address two major factors
- Durability: Chance of data getting lost or corrupted.
- Availability: How much data is available for access.
-
Frequently accessed Data
- Standard:
- This is default storage class. As part of free tier accounts we can use 5GB of Standard Storage for free.
- Availability: 99.99%
- Durability: 99.99999999999 (eleven 9s)
- High storage cost and less access cost
- S3 Express One Zone
- Reduced Redundancy Storage
- Standard:
- Infrequently accessed Data
- S3 Standard-IA
- S3 One Zone-IA
- Rarely accessed Data
- S3 Glacier Instant Retrieval (GLACIER_IR)
- S3 Glacier Flexible Retrieval (GLACIER)
- S3 Glacier Deep Archive (DEEP_ARCHIVE)
| Storage Class | Use Cases | Durability | Availability | Latency | Minimum Storage Duration | Retrieval Charges |
|---|---|---|---|---|---|---|
| S3 Standard | Frequently accessed data (e.g., websites, big data) | 99.999999999% (11 nines) | 99.99% | Milliseconds | None | None |
| S3 Intelligent-Tiering | Data with unknown or changing access patterns | 99.999999999% (11 nines) | 99.9% | Milliseconds | None | None |
| S3 Standard-IA | Infrequently accessed data needing rapid access | 99.999999999% (11 nines) | 99.9% | Milliseconds | 30 days | Per GB retrieved |
| S3 One Zone-IA | Re-creatable infrequently accessed data stored in a single zone | 99.999999999% (11 nines) | 99.5% | Milliseconds | 30 days | Per GB retrieved |
| S3 Glacier Instant Retrieval | Archive data that needs immediate access | 99.999999999% (11 nines) | 99.9% | Milliseconds | 90 days | Per GB retrieved |
| S3 Glacier Flexible Retrieval | Rarely accessed long-term archive data | 99.999999999% (11 nines) | 99.9% | Minutes to hours | 90 days | Per GB retrieved |
| S3 Glacier Deep Archive | Long-term archive data accessed once or twice per year | 99.999999999% (11 nines) | 99.9% | Hours | 180 days | Per GB retrieved |
- Intelligent Tiering: In this case depending on your access patterns, storage class is automatically chosen.
Choosing storage classes
- Create an s3 bucket with acls enabled is Block public access is unchecked
- Upload any file and add public-read access
- Navigate to the properties section

-
Once the file is uploaded

-
AWS Offers lifecycle tranistion rules

- If the access patterns are not predictable then use intelligent tiering.
