DevOps Engineer
12
12Amazon Simple Storage Service (Amazon S3) is a web-based cloud storage solution that is scalable, fast, and inexpensive. It is designed for archiving and backing up data online on Amazon Web Services (AWS). To make web-scale computing easier for developers, Amazon S3 was designed with a minimal feature set.
The Amazon S3 cloud storage service consists of object storage, unlike traditional file storage and block storage. Each object is stored as a file with its metadata included. Each object also has an ID number so applications can access the right object. With Amazon S3, subscribers have access to the same cloud storage systems used by Amazon. The vast majority of files and objects can be uploaded, stored, and downloaded via S3, but the largest single upload is capped at 5 gigabytes (GB).

AWS S3 Storage Lens cost-optimization metrics can help you reduce overall S3 storage costs. To understand whether Amazon S3 is configured cost-effectively and according to best practices, we need to review AWS cost optimization metrics. We can optimize costs in the following ways, for example:

Understand the performance and data access requirements of your applications and workloads before moving workloads to Amazon Web Services. Backup and archive applications have needs that differ dramatically from streaming media applications or e-commerce sites. Identifying how and when your data is acquired, accessed, and archived or deleted is important for cloud cost optimization.
To optimize your S3 storage costs, organize your data as soon as you move it to Amazon S3. AWS provides tools and methods for managing your data at the granular object level, allowing you to control access and optimize costs.
Amazon S3 offers several storage classes for different use cases, and each supports different access patterns at different rates. A key part of any AWS cost optimization strategy is choosing the right storage class. As a result, you can build highly scalable applications that are cost-effectively scalable for virtually any use case. S3 Lifecycle policies can transition data between storage classes, or AWS S3 Intelligent-Tiering can automate data movement and reduce costs.


Use this table to determine the best storage class based on your specific requirements:
If your requirement is... |
|
| Unknown or unpredictable access patterns | S3 Intelligent-Tiering |
| Ultra-low, single-digit millisecond latency | S3 Express One Zone |
| Frequently accessed data (more than once a month) | S3 Standard |
| Infrequent access and data is reproducible (Single AZ) | S3 One Zone-IA |
| Occasional access with immediate (milliseconds) retrieval | S3 Standard-IA |
| Rare access (quarterly/yearly) with immediate (milliseconds) retrieval | S3 Glacier Instant Retrieval |
| Archival data with retrieval time of 1 minute to 12 hours | S3 Glacier Flexible Retrieval |
| Lowest-cost long-term archival storage (up to 12-hour retrieval) | S3 Glacier Deep Archive |
To optimize storage costs, Amazon Web Services (AWS) offers several storage classes. Below is a brief overview of the main storage classes of Amazon S3:
Choosing the correct storage class is the most effective way to align cloud expenditure with actual data usage patterns. The table below compares the eight primary Amazon S3 storage classes across key performance and cost metrics:
| Storage Class | Best For | Minimum Storage Duration | Retrieval Time | Retrieval Fee | Durability | Availability SLA | Estimated Storage Cost |
| S3 Standard | Frequently accessed, active data | None | Millisecond | None | 99.999999999% (11 9's) | 99.9% | Highest (~$0.023/GB-month) |
| S3 Intelligent-Tiering | Unknown or changing access patterns | None* | Milliseconds | None | 99.999999999% (11 9's) | 99.9% | Varies automatically by tier |
| S3 Standard-IA | Long-lived, infrequently accessed data | 30 days | Milliseconds | ~$0.01/GB | 99.999999999% (11 9's) | 99.9% | Lower than S3 Standard |
| S3 One Zone-IA | Reproducible, non-critical infrequently accessed data | 30 days | Milliseconds | Per-GB retrieval fee | 99.999999999% (11 9's, single AZ) | 99.5% | ~$0.01/GB-month |
| S3 Glacier Instant Retrieval | Rarely accessed data requiring instant retrieval | 90 days | Milliseconds | ~$0.03/GB | 99.999999999% (11 9's) | 99.9% | ~1/6 the cost of S3 Standard |
| S3 Glacier Flexible Retrieval | Long-term archives with occasional retrieval | 90 days | 1 minute to 12 hours | Per-GB retrieval fee | 99.999999999% (11 9's) | 99.9% | Very low |
| S3 Glacier Deep Archive | Compliance and archival data accessed less | 180 days | Up to 12 hours | Per-GB retrieval fee | 99.999999999% (11 9's) | 99.9% | Lowest available |
| S3 Express One Zone | High-performance, low-latency workloads | None | Single-digit milliseconds | None | 99.999999999% (11 9's, single AZ) | Single-AZ availability | Optimized for request performance |
S3 Standard, the default storage class, is assumed as the baseline for each storage class in the above comparison chart. Data access patterns and storage classes influence the percentage of cost savings.
S3 storage costs are an important consideration for any AWS user. It is possible to save significant AWS storage costs by understanding the different storage classes S3 offers, and then selecting the appropriate storage class based on access patterns and requirements for your data. The bottom line is that, cloud cost optimization with Amazon S3 can help you save money while also maintaining the necessary level of durability and availability for your data. Carefully evaluating your data needs and the storage classes S3 offers can help you achieve significant savings without sacrificing data quality.
Did you know that CloudKeeper AZ can help you reduce AWS bills for your entire cloud infrastructure by up to 25%? And we contractually guarantee the savings! Talk to our experts to learn more.