AWS Builder Center
Data Archival on Cloud and How Not to Do It

Data Archival on Cloud and How Not to Do It

An archive is useful only if you can find, restore, decrypt, and validate it. Choose S3 Glacier storage classes from the recovery path and full cost model.

A lower storage bill doesn't prove that an archive works. The useful test is whether the right person can recover the right data within the time the business actually has.
Putting a box in a distant warehouse saves expensive office space. It also creates work: someone needs the inventory, the access key, the transport, and enough time to bring it back. For a cloud archive, those become the object catalog, IAM and encryption access, restore workflow, and recovery budget. The analogy stops short of durability: the important point is the work required to retrieve what you kept.
I'd choose the storage class after describing that recovery path. Starting with the cheapest price per GB reverses the decision.
This is an updated adaptation of  my original article . Technical references were reviewed on November 8, 2026.

Classify the data before writing a lifecycle rule

Two equally old files can have different obligations. One may be disposable debugging output. Another may be the only record needed to explain a customer transaction.
For each class of data, record its owner, retention requirement, deletion process, access frequency, and required restore time. Identify which copy is authoritative and which copies are backups. Keep the catalog somewhere an operator can search without restoring the whole archive first.
Retention policy needs the relevant business and compliance owners. A storage setting cannot decide the organization's retention obligations for them.

Glacier is a family, not one retrieval promise

The S3 Glacier storage classes serve different access patterns:
Storage class
Access model
What I'd check first
Glacier Instant Retrieval
Millisecond access without an asynchronous restore
Retrieval charges and how rarely the objects are read
Glacier Flexible Retrieval
Restore before reading; options range from minutes to hours
Which restore tier meets the recovery requirement
Glacier Deep Archive
Restore before reading; standard retrieval typically within 12 hours, bulk within 48 hours
Whether the complete recovery can tolerate that wait
Flexible Retrieval standard restores typically take 3–5 hours; bulk typically takes 5–12 hours. Expedited retrieval has different capacity and cost considerations. These are typical service timings, not an end-to-end recovery guarantee. Large object populations can take longer. AWS maintains the  retrieval options and caveats .
An application that must read an archive directly during a customer request cannot treat these classes as interchangeable.

Count objects, not just bytes

Two datasets can contain the same number of TB while having very different archival costs. A million small objects create more transition and retrieval requests than a much smaller number of large objects.
Flexible Retrieval and Deep Archive also carry per-object metadata overhead. Their minimum storage durations are 90 and 180 days respectively. Deleting or overwriting earlier can still incur charges for the remaining minimum duration. A restored temporary copy adds another storage cost while it exists. See AWS's  archival cost considerations .
Bundling small records may help, but it creates a second trade-off: retrieving one record might require retrieving its entire bundle. Preserve an index and choose the bundle size from the retrieval pattern.
For lifecycle configurations, objects smaller than 128 KB do not transition by default under the newer behavior. Older configurations can retain an earlier default until modified. Review the actual rule and its  small-object transition behavior ; don't assume age alone makes every object eligible.

Durability doesn't protect every failure mode

A highly durable object can still be the wrong object, the wrong version, or inaccessible to the recovery team. Replicating an accidental overwrite doesn't restore the previous contents.
Choose versioning, independent backups, retention controls, and access boundaries according to the failures you need to survive. Test whether an operator can recover after the account or principal used by the production application is unavailable.
Encryption belongs in this test. Keeping ciphertext for years is not useful if the required decryption key or access path is lost. Preserve the relationship between the data, its encryption configuration, and the principals allowed to restore it.

Test the whole recovery, including cleanup

My recovery test would start with a business identifier, not a convenient object key handed to the operator.
  1. Find the corresponding archive objects and confirm that the caller is allowed to retrieve them.
  1. Request the appropriate restore and observe when the data actually becomes readable.
  1. Download and validate the result against recorded checksums or another integrity reference.
  1. Decode the format with the current recovery tooling and confirm that the output is usable.
  1. Record the elapsed time, request and retrieval charges, and temporary-copy duration.
  1. Confirm that temporary restored data expires or is removed according to the recovery procedure.
This is a proposed validation sequence, not a claim that I've executed a restore benchmark for this article. Repeat it with a representative sample and population size before assigning a recovery objective.

Conclusion

Use Glacier when its retention economics and retrieval model fit the data. Keep data in a more immediately accessible class when the recovery requirement demands it.
The decision I want on paper is straightforward: who restores this dataset, through which permissions and tools, within what time, and at what total cost? A successful restore exercise is stronger evidence than a reassuring storage-class name.
Any opinions in this article are those of the individual author and may not reflect the opinions of AWS.
Enjoyed reading this content? Let the author know!

Your likes, comments, shares, and saves help creators reach more builders.

Loading recommendations

Loading article