S3 is cheap per gigabyte, but buckets grow quietly: logs, backups, uploads and old versions pile up for years. Storing everything in S3 Standard forever is the most common way S3 bills creep up. Storage classes and lifecycle rules let you pay much less for data you rarely touch, without changing how applications read it.
This guide compares the S3 storage classes, explains the minimum durations and retrieval fees that catch people out, and shows lifecycle rules worth adding to almost every bucket.
The storage classes
Every S3 object has a storage class. Durability is designed to be the same high level across classes; what changes is availability, retrieval speed, storage price and request or retrieval fees. One Zone-IA is the exception for resilience, because it keeps data in a single Availability Zone. AWS lists the classes in the S3 storage classes documentation, and current prices are on the S3 pricing page.

Classes side by side
| Class | Best for | Minimum duration | Retrieval |
|---|---|---|---|
| S3 Standard | Active data, websites, app assets | None | Milliseconds, no fee |
| Intelligent-Tiering | Unknown or changing access | None | Milliseconds for frequent and infrequent tiers |
| Standard-IA | Data read about once a month | 30 days | Milliseconds, per-GB fee |
| One Zone-IA | Re-creatable infrequent data | 30 days | Milliseconds, per-GB fee, single AZ |
| Glacier Instant Retrieval | Archives read a few times a year | 90 days | Milliseconds, higher per-GB fee |
| Glacier Flexible Retrieval | Backups and archives | 90 days | Minutes to hours |
| Glacier Deep Archive | Long-term retention | 180 days | Within 12 to 48 hours |
Minimum durations and retrieval fees
Cheaper classes have conditions. If you delete or move an object before its minimum duration, you are still billed for the remaining days. Infrequent Access classes bill each object as at least 128 KB, so millions of tiny files can cost more there than in Standard. Retrieval fees apply per GB read from IA and Glacier classes, and archive classes need a restore request before the data can be read.
The rule of thumb: move data to colder classes only when it is large enough, old enough and read rarely enough for the storage saving to beat the fees.
When Intelligent-Tiering fits
S3 Intelligent-Tiering watches access per object and moves objects not read for 30 days to an Infrequent Access tier, and after 90 days to an Archive Instant Access tier, with no retrieval fees. You pay a small monthly monitoring fee per object, and objects under 128 KB are not monitored or moved. It is a good default for user uploads, data lakes and any bucket where you cannot predict access.
How lifecycle rules work
A lifecycle configuration is a set of rules on a bucket. Each rule can filter by prefix, tag or object size, and has actions:
- Transition current objects to another class after a number of days.
- Expire current objects after a number of days.
- Transition or expire noncurrent versions in versioned buckets.
- Abort incomplete multipart uploads after a number of days.
- Delete expired delete markers.
Rules run in the background, usually within a day or two of objects becoming eligible. Details are in the lifecycle management guide.
Lifecycle rules worth adding
- Every bucket: abort incomplete multipart uploads after 7 days. Abandoned parts are billed but invisible in a normal listing.
- Log buckets: move to Standard-IA after 30 days, Glacier Flexible Retrieval or Deep Archive after 90, and expire after your retention period.
- Backup buckets: move to Glacier Instant Retrieval after 30 days if you restore occasionally, Deep Archive for long-term copies.
- Versioned buckets: expire noncurrent versions after 30 to 90 days and keep only a few recent ones.
- Temporary uploads: expire a tmp/ prefix after one day.
Backup retention should match your recovery plan; the backup and restore planning guide helps set it.
Versioning and old versions
Versioning protects against accidental deletes and overwrites, but every overwrite keeps the old version, billed at full price. A bucket with frequent overwrites can hold several times more data than its visible size. Pair versioning with a noncurrent version expiration rule. The S3 vs EBS vs EFS guide covers when S3 is the right storage in the first place.
Finding what to move
S3 Storage Lens gives a free dashboard of storage by bucket, class and age, including incomplete multipart upload bytes and noncurrent versions. Storage Class Analysis on a bucket or prefix shows how often data is read as it ages, which tells you when a transition pays off. In Cost Explorer, group S3 cost by usage type to separate storage, requests, retrieval and transfer. Delivery from S3 to users is a separate cost; the data transfer costs guide explains it.
S3 cost checklist
- Incomplete multipart uploads aborted on every bucket.
- Logs and backups transitioned and expired by age.
- Noncurrent versions expired in versioned buckets.
- Intelligent-Tiering used where access is unpredictable.
- Small objects kept out of IA classes.
- Storage Lens reviewed monthly.
Large archives on a new account also need billing that is fully verified; check the payment and verification details listed with each AWS account before moving terabytes in.
S3 storage class questions
Which S3 storage class should I use by default?
S3 Standard for data that is read often, and S3 Intelligent-Tiering when you do not know the access pattern. Intelligent-Tiering moves objects between access tiers automatically without retrieval fees.
What is the minimum storage duration in S3?
Standard has none. Standard-IA and One Zone-IA bill a minimum of 30 days, Glacier Instant Retrieval and Glacier Flexible Retrieval 90 days, and Glacier Deep Archive 180 days. Deleting earlier still incurs the remaining charge.
Are small objects a problem in Infrequent Access?
Yes. Standard-IA and One Zone-IA bill each object as at least 128 KB, so many tiny files can cost more there than in Standard.
How long does it take to restore from Glacier Deep Archive?
Standard retrieval typically completes within 12 hours and bulk retrieval within 48 hours. Glacier Instant Retrieval returns data in milliseconds.
Do lifecycle rules cost anything?
Lifecycle transitions are charged per request per object, which matters for millions of small objects. Expiration actions that delete objects are not charged.
Editorial guide by Mark Biden · Reviewed 24 November 2026. Official sources are linked beside the relevant sections; AWS features, quotas and prices change, so confirm details in the AWS console before relying on them.

Leave a Reply