AWS S3 Storage Classes
- S3 offers a variety of storage class designs to cater to different usecases.
- You can choose the appropriate storage class & also move objects from one storage class to other.
- You can also configure lifecycle
- Storage Classes
- S3 Standard:
- This is default storage classes.
- It offers HA (high availability), durability and performance
- In this storage class, you pay more for storage and less for accessing
- When we use S3 the files in S3 standard are synchronously copied across three facilities and designed to sustain the loss of data in two facilities
- S3 Standard Infrequent access:
- Designed for the objects that are accessed less frequently i.e. paying more for access and less for storage
- It inherits all the features of S3 standard (redundancy)
- S3 One Zone infrequent access:
- IN this data is stored only in one AZ when compared to S3 Standard/S3 standard infrequent access where the data is copied in 3 AZ’s
- Storage cost is less and access cost is high
- S3 Intelligent-Tiering:
- Designed to optimize costs by automatically moving the data from one storage class to another based on access patterns.
- S3 Glacier:
- This storage class is used for archiving.
- Storage is extreemly cheaper and when you want tor restore it would take considerable amount of time
- There are three main option for retrieving data with varying access times and cost
- Expedited:
- Allow for very quick retrieval dof data in the range of one to five minutes
- Standard:
- Takes about three to five hours to retrieve the data
- Bulk:
- This enables you to retrieve large amounts data such as petabytes of data in a day (five to twelve hours)
- Expedited:
- S3 Glacier Deep Archive:
- This is used for long-term archival storage (complaince reasons)
- You may be accesing this data hardly once or twice a year.
- Glacier Deep archive is the ideal solution for replacement of tape storage
- With S3 Glacier Deep Archive, Data can be restore within 12 hours
- S3 Standard:
- Lets use pricing to understand the pricing for non archival use cases
- Storage: 10 TB
- Scenario 1: Frequently accessed:
- 10 million requests to change
- 100 million request to view
- If we use s3 standard => 683.94 USD
- If we use s3 infrequent access => 2196 USD
- If we use one zone infrequent acess => 2190 USD
- Scenario 2: Infrequently access data
- 100 requests to change
- 1000 request to view
- S3 Standard => 235 $
- S3-Infrequent access => 128 $
- S3-infrequent access one Zone => 102 $
- Intelligent tiering => 129$
| Characteristic | S3 Standard | S3 Intelligent Tiering | S3 IA | S3 One-Zone IA | S3 Glacier | S3 Glacier Deep Archive |
|---|---|---|---|---|---|---|
| Designed for Durability | 99.99999999999% | 99.99999999999% | 99.99999999999% | 99.99999999999% | 99.99999999999% | 99.99999999999% |
| Designed for Availability | 99.99% | 99.9% | 99.9% | 99.5% | 99.99% | 99.99% |
| Availability SLA | 99.9% | 99% | 99% | 99% | 99.9% | 99.9% |
| AZs | >= 3 | >=3 | >=3 | 1 | >=3 | >=3 |
| Min charge/object | N/A | N/A | 128 KB | 128 KB | 40 KB | 40 KB |
| Min storage duration cache | N/A | 30 days | 30 days | 30 days | 90 days | 90 days |
| Retrieval fee | N/A | N/A | per GB retreived | per GB retreived | per GB retreived | per GB retreived |
| First byte latency | milli seconds | milli seconds | milli seconds | milli seconds | minutes or Hours | hours |
- Note: AWS Free tier plan
