---
title: "S3 Lifecycle Policies That Actually Save Money (and the Ones That Cost More)"
description: "Moving data to colder S3 storage classes looks like free money until minimum durations, small objects and transition fees eat the saving. How we design lifecycle rules that pay back."
doc_version: 1.0.0
last_updated: 2026-10-02
date_published: 2026-06-01
canonical: https://ccx.hu/blog/s3-storage-classes-lifecycle-cost
---

# S3 Lifecycle Policies That Actually Save Money (and the Ones That Cost More)

> Moving data to colder S3 storage classes looks like free money until minimum durations, small objects and transition fees eat the saving. How we design lifecycle rules that pay back.

![S3 Lifecycle Policies That Actually Save Money (and the Ones That Cost More)](https://s3.us-east-1.amazonaws.com/ccx.hu/images/15-s3-lifecycle-policies.png)

"Move it to Glacier" is the most common S3 cost advice and one of the most commonly misapplied. Colder storage classes are dramatically cheaper per gigabyte, but they come with minimum storage durations, minimum billable object sizes, per-request transition fees and retrieval charges. Apply a lifecycle rule to the wrong data and the bill goes up. This post is how we decide what to move, when, and what to delete instead.

## Start with what you actually store

Before touching a lifecycle rule, get three facts per bucket: total size, object count, and access pattern. Two free tools give you most of it:

- **S3 Storage Lens** shows size, object count, storage class mix and trends across every account and bucket in the organisation, and flags buckets with no lifecycle rules, large volumes of noncurrent versions and incomplete multipart uploads.
- **Storage Class Analysis**, enabled per bucket or prefix, observes access patterns for a few weeks and tells you how much data is read after 30, 60 and 90 days.

The ratio that matters most is **average object size**. A bucket of large backups and a bucket holding hundreds of millions of tiny JSON files need completely different treatment, even at the same total size.

## The rules the price list does not put on the front page

| Storage class                 | Minimum storage duration | Minimum billable size | Retrieval            |
| ----------------------------- | ------------------------ | --------------------- | -------------------- |
| S3 Standard                   | None                     | None                  | No fee               |
| S3 Intelligent-Tiering        | None                     | Small objects stay in the frequent tier | No fee |
| S3 Standard-IA / One Zone-IA  | 30 days                  | 128 KB                | Per-GB fee           |
| S3 Glacier Instant Retrieval  | 90 days                  | 128 KB                | Per-GB fee, milliseconds |
| S3 Glacier Flexible Retrieval | 90 days                  | 40 KB overhead per object | Per-GB and per-request, minutes to hours |
| S3 Glacier Deep Archive       | 180 days                 | 40 KB overhead per object | Per-GB and per-request, hours |

What those columns mean in practice:

- **Minimum durations.** Delete or transition an object out of Standard-IA after 10 days and you still pay for 30. Data with a short life should be expired, not tiered.
- **Minimum billable size.** A 4 KB object in Standard-IA is billed as 128 KB. For small objects, the "cheaper" class can cost many times more than Standard.
- **Per-object overhead in the Glacier archive classes.** Each archived object carries about 40 KB of extra billed storage for metadata, part of it at Standard rates. Archiving millions of small files can cost more than leaving them alone.
- **Transition requests are charged per 1,000 objects.** Moving 500 million small objects is a significant one-off bill, and can take years of storage savings to pay back.

AWS changed the lifecycle default in 2024 so that objects smaller than 128 KB are not transitioned unless you explicitly override it. That protects you from the worst cases, but only if you leave the default alone.

## The decision tree we use

**1. Can it be deleted?** Logs past their retention period, build artifacts, temporary exports, old noncurrent versions. Expiration is the only lifecycle action that saves money with no trade-off. Agree retention periods with whoever owns the compliance requirement, write them down, and encode them.

**2. Is the access pattern unknown or changing?** Use **S3 Intelligent-Tiering**. It moves objects between frequent, infrequent and archive instant access tiers automatically based on actual access, with no retrieval fees. You pay a small monitoring fee per object, and objects under 128 KB are not monitored or tiered (and not charged the fee). For most data lakes, user uploads and anything with an unpredictable read pattern, it is the right default.

**3. Is the access pattern known and predictable?** Use explicit transitions. Backups, audit archives and compliance logs are written once, rarely read, and kept for years. They are the classic case for a lifecycle rule into Glacier Instant Retrieval, Flexible Retrieval or Deep Archive, chosen by how fast you would need the data back.

**4. Are the objects small?** Aggregate before archiving. Batching small files into larger archives (Parquet for analytics data, tar or zip for logs) before they reach a cold class avoids both the per-object overhead and the transition fees.

## A lifecycle rule for audit logs

A typical configuration for logs that must be kept seven years, are queried for the first month, and almost never after a quarter:

```json
{
  "Rules": [
    {
      "ID": "audit-logs-retention",
      "Filter": { "Prefix": "audit/" },
      "Status": "Enabled",
      "Transitions": [
        { "Days": 30,  "StorageClass": "STANDARD_IA" },
        { "Days": 90,  "StorageClass": "GLACIER_IR" },
        { "Days": 365, "StorageClass": "DEEP_ARCHIVE" }
      ],
      "Expiration": { "Days": 2555 },
      "NoncurrentVersionExpiration": { "NoncurrentDays": 30 },
      "AbortIncompleteMultipartUpload": { "DaysAfterInitiation": 7 }
    }
  ]
}
```

Applied with:

```bash
aws s3api put-bucket-lifecycle-configuration \
  --bucket example-audit-logs \
  --lifecycle-configuration file://lifecycle.json
```

Two cautions. `put-bucket-lifecycle-configuration` replaces the whole configuration, so merge with any existing rules first. And if the bucket uses S3 Object Lock for regulatory retention, the lock wins: expiration cannot delete a locked object version before its retention date, which is what you want, but check that the expiration and retention periods agree so the rule does what its name says.

## The hidden storage most buckets carry

Three kinds of data accumulate silently and are often the largest saving available:

- **Noncurrent versions.** With versioning on, every overwrite and delete keeps the previous version, billed at full price, forever unless a rule expires it. Buckets that are rewritten frequently can hold many times more noncurrent data than current data. `NoncurrentVersionExpiration`, with `NewerNoncurrentVersions` if you want to keep the last few, fixes it.
- **Incomplete multipart uploads.** Failed large uploads leave parts behind that are billed but invisible in a normal listing. `AbortIncompleteMultipartUpload` cleans them up. Storage Lens shows how much you have.
- **Expired object delete markers.** After noncurrent versions expire, delete markers with nothing behind them remain and slow down listings. `ExpiredObjectDeleteMarker` removes them.

None of these needs an access-pattern analysis. They are safe to add to almost every versioned bucket.

## Beyond S3: snapshots and volumes

The same thinking applies to block storage, which often costs more than S3 in estates that never cleaned up:

- **EBS snapshots** taken by scripts or old backup jobs with no retention. Amazon Data Lifecycle Manager or AWS Backup policies with explicit retention replace them. The EBS Snapshots Archive tier suits snapshots that must be kept for months or years and are rarely restored, with a 90-day minimum.
- **Unattached EBS volumes** left behind when instances were terminated without delete-on-termination.
- **gp2 volumes** that can move to gp3 for lower per-GB cost and independently provisioned performance, without detaching.

## Make it the default, not a project

Lifecycle work done once decays. The durable version is a baseline applied to every new bucket through infrastructure as code: incomplete multipart upload clean-up, noncurrent version expiry, and Intelligent-Tiering as the default storage class unless the owner chooses otherwise. Then an AWS Config rule or Storage Lens check flags buckets without a lifecycle configuration, so exceptions are deliberate.

## What this looks like at ccX

Storage lifecycle is one of the six levers in our [two-week AWS Cost Optimization Review](https://ccx.hu/aws-cost-optimization). We profile your buckets and snapshots by size, object count and access pattern, separate the data that should be deleted from the data that should be tiered, model each lifecycle change including transition fees and minimum durations, and agree retention periods with whoever owns the compliance requirement. Fixed fee, read-only access, never a percentage of savings.

If your S3 bill only ever goes up, [book a 30-minute scoping call](https://ccx.hu/book).

## Where to go from here

- [NAT Gateway and data transfer: the AWS costs nobody owns](https://ccx.hu/blog/aws-nat-gateway-data-transfer-costs)
- [AWS Cost Optimization Review](https://ccx.hu/aws-cost-optimization) - the full engagement.
- [Contact us](https://ccx.hu/contact)

> *S3 pricing, minimum durations and lifecycle defaults are set by AWS and change over time. Check the current S3 pricing page and documentation before modelling a large transition.*

---

## Sitemap

- [Read this post on the web](https://ccx.hu/blog/s3-storage-classes-lifecycle-cost)
- [All blog posts](https://ccx.hu/blog)
- [Full site map](https://ccx.hu/sitemap.md)
- [Home](https://ccx.hu/)
- [Services](https://ccx.hu/services)
- [EU AI Act Compliance](https://ccx.hu/eu-ai-act)
- [AWS GenAI Production Readiness](https://ccx.hu/aws-genai-review)
- [Glossary](https://ccx.hu/glossary)
- [Contact](https://ccx.hu/contact)
