Skip to content

Advertisement

DevOps Society
CloudCase Study

How One Team Cut a $241,000 Monthly S3 Bill by About 70% Without Losing Fast Access

A 5.8 PB log workload sat in S3 Standard with no lifecycle rule. Using Storage Lens and Storage Class Analysis as evidence, AWS moved it to Glacier Instant Retrieval and cut cost by about 70%.

Published your local timeupdated

How One Team Cut a $241,000 Monthly S3 Bill by About 70% Without Losing Fast Access

Storage is the line on the cloud bill that grows quietly. Nobody deletes logs, nobody sets a lifecycle rule, and a few years later there are petabytes in S3 Standard that almost nobody reads. A post on the AWS Storage blog shows how one team fixed that without taking a guess.

What was the workload?

About 5.8 PB of observability and search-index logs across two buckets, all in S3 Standard with no lifecycle rule. The data had to be kept for about five years and still be readable in milliseconds when someone needed it. The bill was about $241,000 a month. After the change it fell by about 70%, with fast access intact.

The method is the useful part, because it replaces "this data is probably cold" with evidence.

Step one: find the candidates with Storage Lens

Using S3 Storage Lens groups, the team looked at large buckets with no lifecycle rule and split each one two ways:

  • By object size, over and under 128 KB. Infrequent-access and Glacier Instant Retrieval bill a minimum of 128 KB per object, so moving lots of small files can raise costs.

  • By age, in bands older than 30, 60 and 90 days.

A good candidate has most of its bytes in large, old objects.

Step two: prove the access pattern

S3 Storage Class Analysis, scoped to a bucket or prefix, reports how much data is read in each age band. It needs at least 30 days, and the author ran it for more than 45 to catch seasonal reads. In this workload, objects older than 90 days had an access ratio below 0.1%.

Step three: pick the storage class and the age

Storage Class Analysis only recommends Standard-IA. For data almost never read but needed instantly, Glacier Instant Retrieval goes further: same millisecond access, and up to 68% cheaper than Standard-IA for data read about once a quarter. The costs are a 90-day minimum storage period, the 128 KB minimum size and higher retrieval and request fees.

The team compared moving at 60 days with 90 and chose 90. The extra saving from moving earlier was not worth the risk of retrieval fees from a burst of recent reads.

Step four: guard against retrieval fees

This is the step most teams skip. A single full scan of an archived prefix can wipe out a month of savings. The team:

  • Routed full-table scans and batch jobs to a summary copy kept in Standard.

  • Set S3 request metric alarms on archive prefixes to catch unexpected read spikes.

  • Shipped the lifecycle rule and the alarms together, not one after the other.

When does this approach fit?

It works best for large, write-once data that is rarely read, has a fixed retention period, still needs fast access, and is mostly in objects over 128 KB. Logs, traces, search indexes and media archives usually qualify. Busy datasets and swarms of tiny files usually do not.

What should FinOps teams do next?

  1. List every bucket over 100 TB with no lifecycle rule. That list is often short and expensive.

  2. Turn on Storage Class Analysis for those buckets now, so you have 45 days of evidence by early January.

  3. Agree the access-ratio threshold and the alarm plan with the data owners before you move anything.

Quick answers

How much can S3 lifecycle rules save?

In AWS's example, moving about 5.8 PB of rarely read logs from S3 Standard to Glacier Instant Retrieval after 90 days cut a bill of about $241,000 a month by roughly 70%, while keeping millisecond access.

What is the minimum storage duration for S3 Glacier Instant Retrieval?

90 days, with a 128 KB minimum billable object size and per-GB retrieval charges.

How long should S3 Storage Class Analysis run?

At least 30 days. The AWS author recommends longer, and observed more than 45 days to capture seasonal access patterns.

Advertisement

Follow DevOps Society on LinkedIn

Practical infrastructure engineering in your feed.

Follow

Written by

DevOpsSociety Editorial Team

Editorial Team

The DevOpsSociety Editorial Team covers DevOps, cloud infrastructure, Kubernetes, AI infrastructure, platform engineering, cybersecurity, FinOps, and modern engineering practices. We publish practical insights, technical guides, architecture analysis, and research for engineers and technology leaders.

More from DevOpsSociety →
The Infrastructure Briefing

Get the infrastructure briefing.

Practical DevOps, cloud, AI infrastructure and engineering insights, delivered weekly. Read by engineers and engineering leaders.

No spam. Unsubscribe anytime.

How One Team Cut a $241,000 Monthly S3 Bill by About 70% Without Losing Fast Access, DevOps Society