CLOUD CONCEPT

Data Archiving

Data archiving is the long-term preservation of infrequently used information so it remains retrievable for business, legal, regulatory, or historical needs.

Cloud Concepts Hub →

What is Data Archiving

Archiving moves data out of active workflows while preserving its integrity, context, and accessibility for a defined retention period. In the cloud, object storage and archival storage tiers help reduce storage costs, but engineers must balance those savings against retrieval delays, access charges, and retention obligations.

Data archiving preserves information that is no longer needed for routine operations but still has business value or must be retained. Examples include completed project files, historical application logs, financial statements, research datasets, and original media assets. An archive needs more than stored bytes: engineers must also preserve enough metadata, ownership information, and format documentation to locate and interpret the data later.

Object storage is a common cloud foundation for archiving. It stores data as objects in buckets or containers, with identifiers and metadata, rather than exposing disk blocks to a server. Its scalability and support for large quantities of unstructured data make it well suited to documents, images, exports, and log files. Unlike block storage used by an active database, an archive usually does not need frequent, low-latency updates. Object storage is not automatically archival, however; the selected storage tier and operating policies determine its suitability.

A practical implementation classifies data by retention requirements, access frequency, and acceptable retrieval time. Lifecycle policies can transition eligible objects from frequently accessed storage into lower-cost tiers and eventually expire data when permitted. For example, an organization might keep application logs readily accessible for troubleshooting, move older logs into an archival tier, and delete them after its approved retention period. Legal holds or mandatory retention controls must prevent deletion when an investigation or regulation requires continued preservation.

The main economic trade-off is storage cost versus access cost and speed. Some archival tiers provide immediate access, while others require a restore operation and a wait that can range from minutes to hours. Retrieval charges, request charges, minimum storage durations, and charges for network transfer can change the overall cost. Thousands of tiny objects or frequent retrievals can make the cheapest advertised storage rate a poor fit. Test representative retrievals and calculate total costs before selecting a tier.

On AWS, Amazon S3 is the core object storage service relevant to this use case. Its archival options include S3 Glacier Instant Retrieval, S3 Glacier Flexible Retrieval, and S3 Glacier Deep Archive. These are storage classes with different access characteristics, not interchangeable choices. Instant Retrieval supports millisecond access, whereas Flexible Retrieval and Deep Archive require restoration before object data can be read. Choose according to the required retrieval deadline rather than assuming every Glacier class behaves identically.

Archiving is also distinct from backup. Backups primarily support recovery after corruption, deletion, or system failure; archives primarily support long-term retention and later reference. Either can use object storage, and archival tiers can hold eligible backup data. Neither high durability nor low storage cost automatically provides immutability, regulatory compliance, or protection against authorized deletion. Apply appropriate access controls, encryption, retention locks, integrity checks, and retrieval tests, and ensure encryption keys remain available for the archive's lifetime.

Key aspects of Data Archiving

Effective archiving combines defined retention, appropriate retrieval performance, automated lifecycle management, protection, discoverability, and total-cost control.

Defined retention and disposition

Assign retention periods based on business, legal, and regulatory requirements. Delete data only when its retention period has ended and no legal hold or other preservation requirement applies.

Access-aware storage selection

Choose a storage tier based on how often data will be accessed and how long users can wait. An archive needed immediately during an audit requires different retrieval characteristics from one that can tolerate an overnight restore.

Lifecycle automation

Use lifecycle policies to transition eligible objects into archival tiers and expire them when allowed. Validate rule scope and retention controls before enabling automated deletion.

Integrity, security, and immutability

Protect archived data with access controls, encryption, and integrity validation. Where required, use retention locks or legal holds to prevent changes or deletion, and preserve access to encryption keys.

Discoverability and usable retrieval

Maintain object metadata, indexes, and format documentation so engineers can find and interpret archived information. Test retrieval procedures, including restoration delays and application compatibility.

Total-cost evaluation

Evaluate storage, requests, retrieval, data transfer, and minimum-duration charges together. Low storage rates do not necessarily produce savings when data is frequently accessed or deleted early.

Cloud services for Data Archiving

These object storage services provide alternative platforms for implementing an archive; using all three is not required. Within the chosen platform, applications upload objects and retain searchable metadata, lifecycle rules manage storage transitions, and access controls protect the retained information. Retention policies and legal holds govern deletion separately from cost optimization. Retrieval behavior differs across providers and tiers: some require restoration or rehydration, while others allow immediate reads with retrieval charges. Engineers should align the selected service with retention obligations, access deadlines, and tested end-to-end retrieval procedures.

Amazon Simple Storage Service image Amazon S3

Amazon S3 provides object storage with lifecycle rules and archival storage classes, including S3 Glacier Instant Retrieval, S3 Glacier Flexible Retrieval, and S3 Glacier Deep Archive. S3 Object Lock can enforce retention and legal holds for protected object versions.

Open Amazon S3 →