CLOUD CONCEPT

Immutable Storage

Immutable storage preserves written data by preventing modification or deletion for a defined retention period or while a protective hold remains in effect.

Cloud Concepts Hub →

What is Immutable Storage

Immutable storage uses storage-enforced controls to protect retained records from accidental changes, malicious deletion, and unauthorized replacement. For security logging, it preserves evidence for investigations and compliance, while separate controls must ensure that logs are collected completely, remain readable, and can be analyzed safely.

Immutable storage is the cloud equivalent of write-once, read-many storage: once a record is protected, its contents cannot be changed or permanently deleted while the protection applies. It is especially useful for security logs, audit records, and forensic evidence because an attacker who compromises an application or administrator account may attempt to erase traces of activity. The protection must be enforced by the storage system, rather than relying only on an application's convention of never updating records.

Cloud implementations commonly use retention locks on individual objects or object versions. A retention period establishes the earliest time at which a protected record may be deleted. A legal hold protects a record until an authorized actor removes the hold, independently of a fixed expiration date. The scope matters: protecting one object version does not necessarily prevent creating a newer version under the same name. Investigators should preserve version identifiers and relevant metadata rather than assuming that the latest object returned by a normal read is the original evidence.

Retention modes differ in their resistance to privileged users. For example, Amazon S3 Object Lock governance mode permits a specifically authorized bypass, whereas compliance mode prevents deletion of a protected object version or shortening its retention period even by the account's root user. Legal holds have their own permissions and removal behavior. Engineers should select the mode according to the threat model and regulatory requirement, and test it before applying long retention periods to production data.

A practical logging architecture collects cloud audit events, network flow records, and application security events into a centralized security account. An immutable archive preserves authoritative records, while an analytics layer provides searchable or normalized copies. Amazon Security Lake organizes supported security data in Amazon S3 using the Open Cybersecurity Schema Framework and supports access by security analytics subscribers. A security data lake is not inherently immutable: evaluate its storage and lifecycle behavior, and use a separately configured immutable archive when managed lake workflows do not provide the required retention guarantees. Preserve raw evidence alongside transformed data when investigations require the original records.

Third-party security tools should receive scoped read access or authorized delivery of data, not permission to delete retained evidence or weaken retention. Separate log producers, analysts, retention administrators, and encryption-key administrators. Monitor changes to collection settings, bucket policies, retention configuration, and key policies. Immutability cannot preserve events that were never delivered, so monitor ingestion failures and unexpected gaps in expected log volume.

Several commonly confused controls solve different problems. Versioning preserves multiple object versions but does not by itself prohibit deleting them. Encryption protects confidentiality but does not prevent an authorized deletion. Hashes and signed digest files help detect alteration but do not block it; CloudTrail log file integrity validation complements an immutable archive rather than replacing one. A retention setting on a logging platform may simply schedule deletion and need not provide write-once protection.

The trade-offs include storage costs, restrictions on correcting or deleting sensitive data, and operational complexity. Lifecycle transitions can reduce costs, but protected versions cannot be permanently deleted before their protection ends. Corrections should normally be recorded as new records instead of rewriting retained evidence. Protect encryption keys for at least the required data-retention period, because an immutable encrypted object can become unreadable if its key is deleted. Regularly test retrieval, integrity validation, subscriber access, and attempted deletion to verify the complete evidence-preservation design.

Key aspects of Immutable Storage

Effective immutable storage combines enforced retention, explicit privilege boundaries, precise evidence identification, and controls that keep retained data complete and readable.

Storage-enforced write protection

The storage system rejects prohibited changes or permanent deletion of protected records. Application conventions and ordinary access policies alone do not provide the same resistance to privileged modification.

Retention periods and legal holds

Time-based retention preserves records until a specified date, while a legal hold remains effective until explicitly removed by an authorized actor. Plan both controls around investigation needs, regulatory obligations, and permissible deletion requirements.

Explicit administrative bypass rules

Some retention modes allow narrowly authorized bypass; stricter modes prohibit early deletion even by highly privileged administrators. Evaluate who can shorten retention, remove holds, or bypass protection rather than relying on the label 'immutable.'

Version-specific evidence preservation

Protection often applies to a particular object version, not every future record written under the same object name. Preserve version identifiers, timestamps, and provenance so analysts can retrieve the exact evidence originally retained.

Independent collection and integrity controls

Immutability does not guarantee complete collection or prove that data was authentic before storage. Combine it with ingestion monitoring, trustworthy timestamps, and integrity validation where supported.

Readable evidence with controlled access

Keep encryption keys available throughout retention and give analytics tools only the access they require. Separate evidence retention from mutable search indexes and test retrieval from archival storage tiers.

Cloud services for Immutable Storage

CloudTrail supplies AWS activity records, and S3 Object Lock can preserve delivered log versions as retained evidence. Security Lake provides a normalized analytics layer for supported security sources and authorized third-party subscribers, but its presence does not establish immutable retention. Where required, design a separate immutable archive and verify that the delivery or copying process protects each intended record and preserves its provenance. Keep subscriber permissions separate from archive administration, and monitor both ingestion and retention changes. AWS Backup Vault Lock extends the same preservation principle to backup recovery points, complementing rather than replacing the security logging architecture.

Amazon Simple Storage Service image Amazon S3

S3 Object Lock provides write-once, read-many protection for object versions using retention periods and legal holds, and requires S3 Versioning. Governance mode supports authorized bypass, while compliance mode prevents early deletion or retention shortening of protected versions, including by the root user.

Open Amazon S3 →
Amazon Security Lake

Security Lake centralizes and normalizes supported security data in Amazon S3 and makes it available to authorized analytics subscribers, including third-party tools. It is an analytics data lake, not an automatic guarantee of immutable evidence retention; assess its managed storage workflows and preserve evidence in a separately configured immutable archive where required.

Open Amazon Security Lake →
AWS CloudTrail image AWS CloudTrail

CloudTrail trails can deliver AWS activity records to S3, where Object Lock can protect retained log object versions. CloudTrail log file integrity validation uses digest files to help detect modification or deletion after delivery, but does not itself prevent either action.

Open AWS CloudTrail →
AWS Backup image AWS Backup

AWS Backup Vault Lock applies write-once, read-many controls to recovery points in backup vaults. Its governance and compliance modes support different administrative protections; compliance-mode configuration becomes immutable after its configured grace period, making it useful for retained backups rather than a substitute for a searchable security log lake.

Open AWS Backup →