> For the complete documentation index, see [llms.txt](https://karansingh.gitbook.io/aws-saa-c02/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://karansingh.gitbook.io/aws-saa-c02/advanced-s3-and-athena/storage-classes.md).

# Storage Classes

## S3 Standard

* Default storage class.<br>
* For performance-sensitive use cases and frequently accessed data - Low latency and high throughput performance.<br>
* 99.999999999% (11 9s) Durability.<br>
* 99.99% availability over a given year - Objects stored across at least 3 Availability Zones.<br>
* If objects are stored successfully, AWS responds with a HTTP 200 OK status.

|                                     |      Price      |
| :---------------------------------: | :-------------: |
|         First 50 TB / Month         |  $0.023 per GB  |
|        Data Transfer Inbound        |       Free      |
|        Data Transfer Outbound       | \~ $0.08 per GB |
| 1000 PUT, COPY, POST, LIST requests |      $0.005     |
|            Retrieval Fees           |       None      |

## S3 Standard-Infrequent Access (S3 Standard-IA)

* For less frequently accessed data but requires rapid access when needed.<br>
* 99.999999999% (11 9s) Durability.<br>
* 99.99% availability over a given year - Objects stored across at least 3 Availability Zones.

|                                     |      Price      |
| :---------------------------------: | :-------------: |
|         All Storage / Month         |  $0.0125 per GB |
|        Data Transfer Inbound        |       Free      |
|        Data Transfer Outbound       | \~ $0.08 per GB |
| 1000 PUT, COPY, POST, LIST requests |      $0.01      |
|            Retrieval Fees           |   $0.01 per GB  |
|     Minimum Billable Object Size    |      128KB      |
|  Minimum Billable Storage Duration  |     30 days     |

## S3 One Zone-Infrequent Access (S3 One Zone-IA)

* For less frequently accessed data but requires rapid access when needed, such as storing secondary backup copies of on-premises data or easily re-creatable data.

* DOES NOT store data in a minimum of three Availability Zones (AZs) - Stores data in a single AZ.<br>

* Lower-cost option for infrequently accessed data but do not require the availability and resilience of S3 Standard or S3 Standard-IA.<br>

* 99.999999999% (11 9s) Durability of objects in a single Availability Zone (data will be lost if AZ is destroyed).<br>

* 99.5% availability over a given year.

|                                     |      Price      |
| :---------------------------------: | :-------------: |
|         All Storage / Month         |   $0.01 per GB  |
|        Data Transfer Inbound        |       Free      |
|        Data Transfer Outbound       | \~ $0.08 per GB |
| 1000 PUT, COPY, POST, LIST requests |      $0.01      |
|            Retrieval Fees           |   $0.01 per GB  |
|     Minimum Billable Object Size    |      128KB      |
|  Minimum Billable Storage Duration  |     30 days     |

## S3 Glacier

* Secure, durable, and low-cost storage class for data archiving.<br>

* Retrieval times range from minutes to hours

* 99.999999999% (11 9s) Durability.<br>

* 3 Types of retrieval options:

  * Expedited - 1-5 minutes.
  * Standard - 3-5 hours.
  * Bulk - 5-12 hours.

  |                                     |            Price            |
  | :---------------------------------: | :-------------------------: |
  |         All Storage / Month         |        $0.004 per GB        |
  |        Data Transfer Inbound        |             Free            |
  |        Data Transfer Outbound       |       \~ $0.08 per GB       |
  | 1000 PUT, COPY, POST, LIST requests |            $0.05            |
  |            Retrieval Fees           | Depends on retrieval option |
  |     Minimum Billable Object Size    |             40KB            |
  |  Minimum Billable Storage Duration  |           90 days           |

## S3 Glacier Deep Archive

* For long-term retention and digital preservation for data that is accessed very rarely.

* Also used for backup and disaster recovery.

* 99.999999999% (11 9s) Durability.

* 3 Types of retrieval options:
  * Standard - 12 hours.
  * Bulk - Up to 48 hours.

* |                                     |            Price            |
  | :---------------------------------: | :-------------------------: |
  |         All Storage / Month         |       $0.00099 per GB       |
  |        Data Transfer Inbound        |             Free            |
  |        Data Transfer Outbound       |       \~ $0.08 per GB       |
  | 1000 PUT, COPY, POST, LIST requests |            $0.05            |
  |            Retrieval Fees           | Depends on retrieval option |
  |     Minimum Billable Object Size    |             40KB            |
  |  Minimum Billable Storage Duration  |           180 days          |

## S3 Intelligent-Tiering

* Automatically optimizes storage costs for data with unknown or changing access patterns.

* Stores objects in four access tiers, optimized for frequent, infrequent, archive, and deep archive access - Frequent and Infrequent Access tiers have same low latency and high throughput performance of S3 Standard. Archive access and deep Archive access tiers have same performance as Glacier and Glacier Deep Archive.<br>

* 99.999999999% (11 9s) Durability.

* 99.9% availability over a given year.

* |   |                                     |             Price            |
  | - | :---------------------------------: | :--------------------------: |
  |   |         All Storage / Month         | Depends on access tier used. |
  |   |        Data Transfer Inbound        |             Free             |
  |   |        Data Transfer Outbound       |        \~ $0.08 per GB       |
  |   | 1000 PUT, COPY, POST, LIST requests |            $0.005            |
  |   |            Retrieval Fees           |             None             |
  |   |  Minimum Billable Storage Duration  |            30 days           |
