Self-hosted alternative to Azure immutable blob storage for WORM retention

Regulated teams that rely on locked Azure retention policies and legal holds can reproduce WORM behavior on their own hardware with Ceph RGW Object Lock, but the validation and audit evidence become their responsibility.

On this page

Why a regulated team would replace Azure immutable blob storage

A regulated team usually starts this review when a locked Azure retention policy or legal hold has to keep running while the data itself moves on-premises or to another provider. The short answer is that Ceph RADOS Gateway with Object Lock in compliance mode can reproduce WORM behavior on your own hardware, because compliance retention cannot be shortened or removed by any user, including administrators. SeaweedFS and Garage are weaker fits for this requirement: Garage does not support object locking or versioning at all, and you should confirm the current WORM-related features of SeaweedFS against its documentation before relying on it for retention. Whichever platform you pick, the proof that retention works is yours to produce.

Azure's immutability support has been reviewed by an independent assessor, but that review covers Microsoft's implementation in Microsoft's environment. You cannot simply attach it to your own cluster. Amazon S3 Object Lock has a comparable third-party assessment for regulated recordkeeping environments, and the same principle applies: an external assessment of a vendor product does not transfer to your deployment. Your auditor will ask how your configuration, your key and access controls, and your operating procedures enforce retention, and the answers must come from your own records.

Start by listing every retention rule, legal hold and container-level immutability setting in scope, then decide which of them must map to Object Lock modes and which need a documented alternative. Confirm with your compliance lead which retention periods and hold procedures your regulator expects. Then plan the evidence set now: bucket configuration exports, retention settings applied to each object, access logs, change records for the Ceph cluster, and restore tests proving that locked data can be recovered. The CIS Controls recovery-data guidance on isolated, version-controlled backup destinations is a useful reference for the separation you will need.

What a WORM retention constraint requires

A locked Azure retention policy or legal hold is a control that must hold even against administrators. Reproducing it on your own hardware means matching each behavior first, then proving it with evidence. The cards below separate the storage behaviors from the regulatory context and the recovery copy that sits beside them.

Write-once-read-many behavior

WORM means an object version cannot be overwritten or deleted during its retention period, regardless of who holds credentials. Amazon S3 Object Lock is the reference behavior that Ceph RGW emulates through its S3 Object Lock support, so check that your team understands which operations are blocked and which remain allowed. Confirm with the Ceph documentation exactly how the lock applies to delete markers and to lifecycle expiration in your release.

Ceph S3 API docs

Retention modes and their limits

Governance and compliance are the two retention modes in the S3 model, and they differ in who can shorten or remove a lock. Compliance mode is the one that matches a strict regulator expectation, because no user, including the root account, can remove it before the retention period ends. Ask your compliance team which mode their written retention policy names, and test that the Ceph configuration enforces that exact mode before any data is written.

Legal holds

A legal hold is an independent flag on an object version that prevents deletion until someone removes it, and it does not expire with a retention date. Holds must be set and released by a named role, and each change should leave an audit record. Verify that your storage layer supports holds separately from retention, because a retention-only setup will not satisfy a hold request from legal counsel.

Versioning as a prerequisite

Object Lock applies only to versioned buckets in the S3 model, so versioning must be enabled before any lock is set. Without it, an overwrite replaces the protected content with no prior copy to lock. Check versioning on every bucket in the retention scope, and document how lifecycle rules interact with noncurrent versions so that a cleanup job cannot remove protected data.

Isolated recovery copy under CIS 11.4

CIS Controls Safeguard 11.4 asks for an isolated instance of recovery data, with offline, cloud or off-site, version-controlled destinations given as examples. A WORM bucket in the same cluster does not meet that isolation on its own, since a compromised cluster administrator could affect both. Plan a second cluster, a separate site or an offline copy with its own credentials, and test restores from it on a schedule.

CIS Control 11 specification

Regulatory context and evidence

Azure immutable storage is often cited for SEC 17a-4, CFTC and FINRA recordkeeping, where Amazon S3 Object Lock has been assessed by Cohasset Associates. No such assessment for a self-hosted Ceph deployment is supplied, so you must obtain your own validation and document it. For DORA, Article 28 and Article 30 cover register entries and exit planning for ICT providers, and PCI DSS scope depends on whether the store holds cardholder data. Confirm the applicable obligations with your compliance counsel before choosing a design.

Which self-hosted options can meet WORM retention

Ceph's RADOS Gateway is the option in this group with a documented path to WORM behavior. It exposes an S3-compatible API and documents support for versioning, lifecycle rules, multipart uploads, ACLs and bucket policies. Object Lock is the feature that matters for retention, and it is the piece your team must verify in the specific release you deploy, because object lock behavior, configuration and known limitations can change between releases. Compliance mode is the setting that most closely mirrors an immutable retention policy, since retention cannot be shortened by ordinary users. Versioning must be enabled on the bucket before lock can be applied.

  • Versioning first: Object Lock depends on versioned buckets, so enable versioning before applying any retention or legal hold configuration.
  • Compliance mode: Confirm that compliance-mode retention cannot be shortened or removed by any RGW user, including administrators, in your chosen release.
  • Legal holds: Test that holds persist independently of retention periods and can be placed and released under your change control.
  • Replication limits: Ceph documents bucket replication only across zones, so plan a second zone or an off-site copy for disaster recovery and confirm that retention metadata replicates as you expect.
  • Release support: Check the Ceph releases page for the release line you select and its end-of-life date before committing to a retention period longer than that support window.

Before relying on this option, run a retention test in a non-production cluster that attempts deletion and overwrite under each mode and records the results for your auditors.

How to deploy Ceph RGW with Object Lock on your hardware

This sequence takes a regulated team from a chosen Ceph release to a Ceph Object Gateway that enforces compliance-mode retention and legal holds on hardware the team controls, with a restore test proving the isolated copy is usable.

  1. Choose the Ceph release and support window

    Decide between Tentacle (20.2.x, first released November 18, 2025) and Squid (19.2.x, first released September 26, 2024) based on the end-of-life dates the Ceph releases page estimates, which are June 1, 2027 for Tentacle and October 31, 2026 for Squid. Confirm the current latest point release and your own patching window with the DeployOpen team and your storage vendor, then record the chosen release in the design document. Done when the release, its estimated end of life and the upgrade plan are approved by the risk owner for the retention system.

  2. Deploy the cluster with cephadm or Rook

    On bare metal or virtual machines, bootstrap the cluster with cephadm, which runs Ceph as containers and adds hosts and services after a single-node bootstrap. On Kubernetes, use Rook, the CNCF graduated project, instead. Your platform team performs the install, and the DeployOpen team reviews the host layout and service placement. Done when every Monitor and Manager is placed across hosts and the cluster reports a healthy state.

  3. Size OSDs, WAL and DB devices

    Follow the Ceph hardware recommendations: one dedicated drive per OSD, WAL and DB moved to shared enterprise-class SSDs on HDD-based OSDs, and memory sized for peak use. Benchmark the chosen hardware before purchase, because the project notes that no two clusters are alike. Ask your hardware vendor to quote against these rules rather than a generic bill of materials. Done when the benchmark results and the device map are signed off and match the recommendations.

  4. Bond network links across two switches

    Configure bonded network links with each leg connected to a different switch so a single switch failure does not isolate storage nodes. Your network team applies the bonds on every OSD and monitor host, and the cluster team confirms the public and cluster networks use them. Done when a link-failure test on each host leaves the cluster in a healthy state with traffic still flowing.

  5. Enable versioning and configure Object Lock

    Object Lock in Ceph RGW requires versioned buckets, so enable versioning on each retention bucket first. Then create the bucket with Object Lock enabled, set a default compliance-mode retention period that matches your written retention schedule, and apply legal holds through the S3 API where a matter requires them. Confirm the retention behavior against the current Ceph Object Gateway documentation, because the team must verify that compliance-mode objects cannot be deleted or overwritten by any user, including administrators. Done when a test object cannot be deleted before its retention expires and a legal hold blocks deletion after retention ends.

  6. Lock down the dashboard and gateway access

    Configure single sign-on for the Ceph Dashboard through SAML 2.0, or through OAuth2 if cephadm runs the Management Gateway and OAuth2 Proxy services. Enable multi-factor authentication where RGW's identity integration supports it, and restrict administrative roles to named individuals. Enable msgr2 secure mode so post-authentication traffic is encrypted and integrity-checked. Done when administrator logins require SSO, a break-glass account is stored offline under dual control, and a packet capture confirms encrypted cluster traffic.

  7. Replicate to an isolated recovery copy

    Plan the isolated copy that CIS Control 11 describes, with a backup destination that is offline, off-site or version-controlled and separated from the production cluster's administrative credentials. Ceph bucket replication works only across zones, so confirm whether a second zone or an external tool such as rclone will copy the retention buckets, and keep the copy's credentials out of the production identity store. Done when the copy destination, its credential custody and its retention settings are documented and a copied object shows the same version history.

  8. Run a restore test from the isolated copy

    Restore a sample of versioned objects, including a legal-hold object and an object past its retention date, from the isolated copy into a clean environment. Record the restore time, checksum matches and any object that failed to restore. Repeat the test on a schedule your compliance owner sets and keep the results as evidence for the examiner or assessor. Done when the restored objects match their source checksums, the retention and hold attributes are intact, and the signed test record is filed with the retention system documentation.

How the WORM store fits your trust boundaries

The diagram starts with the application writing over the S3 API to a Ceph RADOS Gateway endpoint, where versioning and Object Lock in compliance mode are enforced before any data reaches the RADOS cluster underneath. A separate, isolated or off-site copy receives the retained versions, and the admin and audit paths sit outside the retention scope. Check that no administrator can shorten retention or delete locked versions through those paths, and confirm the copy's isolation in your own environment.

Write path, retained copy, and admin and audit paths outside the retention scope.

The audit evidence you must produce yourself

A WORM control is only as credible as the records behind it. The cards below list the artifacts assessors and regulators typically ask to see, so you can plan who exports them, how often, and where they are stored. DeployOpen prepares these artifacts, but independent assessors and regulators decide whether they are sufficient.

Retention configuration exports

Export the retention settings for every bucket: default retention mode (governance or compliance), retention periods, and any per-object retain-until dates. Ceph RGW enforces Object Lock only on buckets with versioning enabled, so the export should also show versioning status per bucket. Keep dated exports in a separate, write-protected location so you can prove what the policy was on a given day, not only what it is now.

Ceph S3 API docs

Object Lock settings per bucket

Record which buckets have Object Lock enabled, when it was enabled, and whether any compliance-mode retention was applied to them. Compliance mode cannot be shortened or removed by ordinary users, so a change in this setting is a serious event that assessors will trace. Capture the bucket configuration alongside the application that writes to it, so the evidence connects each locked object to a documented business record.

Object Lock reference

Legal hold logs

Keep a log of every legal hold placed or released, with the matter reference, the objects or prefixes affected, the requester, the approver and the timestamps. Legal holds sit outside the retention period, so a released hold that is not logged can look like silent deletion. Confirm with your counsel how long hold records must be kept, since that period often outlasts the data itself.

Access control and admin change records

Export the users, roles, bucket policies and RGW administrative accounts that can change retention or Object Lock settings, along with their change history. Pull authentication records from your identity provider and RGW logs, and show who approved each privileged change. Assessors often test whether the same people can write data, change retention and delete audit trails, so document how those duties are separated.

Backup and restore test results

Retain dated restore tests showing that locked objects, their versions and their retention metadata can be recovered from a separate destination. CIS Control 11 expects backup data to be isolated from the primary environment, with offline, cloud or off-site version-controlled copies as examples. Record the scope, the operator, the objects sampled and the outcome of each test, including failures and their fixes.

CIS Control 11 spec

Cluster configuration and patch records

Keep the cephadm service specifications, host inventory, replication or erasure coding settings, and the Ceph release in use with each upgrade date. Confirm which Ceph release line is actively maintained when you plan upgrades, because maintenance ends on a published estimated date. Record each patch, who approved it, and the test run that preceded it, so the storage layer can be shown to be supported and changed under control.

Ceph active releases

Key management records

If you encrypt objects at rest or use encrypted transport, record where keys are generated, who can access them, rotation dates and recovery procedures. Ceph's messenger v2 secure mode encrypts traffic between daemons, but it does not replace a documented key lifecycle for data at rest. Assessors will ask whether a lost key could make locked objects unreadable for the full retention period, so keep a tested recovery procedure on file.

What the Cohasset validation covers and what it does not transfer

Amazon S3 Object Lock has been assessed by Cohasset Associates for use in SEC 17a-4, CFTC and FINRA environments, according to the Amazon S3 user guide. That assessment belongs to AWS's implementation of Object Lock, its service behavior and its documented retention modes. It does not certify your application, your bucket configuration, your retention periods or your team's procedures. A self-hosted Ceph cluster has no equivalent assessment unless you commission one, and a Cohasset report on AWS does not transfer to your own hardware, your Ceph release or your RGW settings. Treat the S3 assessment as a reference for the control behavior you need to reproduce, not as evidence you can reuse.

Before you migrate a locked Azure container, ask your regulator or the assessor you work with which evidence they will accept for a self-hosted WORM store. Confirm whether they expect an independent assessment of the Ceph Object Gateway configuration, a vendor or integrator attestation, or your own tested controls. Then agree the scope of any new assessment in writing: the Ceph release and cephadm or Rook deployment, the RGW rgw_enable_apis and bucket settings that enable versioning and Object Lock, the retention modes applied to each bucket, how legal holds are set and released, and the key and admin roles that could change retention. Ask whether the assessor will test deletion attempts against locked objects and how they will sample objects over time.

Plan for the cost of that scope. Assessment fees, the time your staff spend preparing evidence, and any retest after a Ceph upgrade are paid by you, and they recur whenever the platform changes. Ask each assessor to state in the quote which artifacts they need from you, how many environments they will review and whether a change to the Ceph release restarts the review. Those answers determine whether the self-hosted option stays cheaper than the managed WORM service once the audit cost is counted.

Questions regulated teams ask before replacing Azure WORM storage

What drives the cost of replacing Azure immutable blob storage with self-hosted Ceph?

The cost splits into one-time work and recurring running cost. One-time items are hardware for the cluster, network design, the migration and the rewrite of any application that uses the Blob SDK. Recurring items are the staff who operate the cluster, support contracts, power, space and hardware refresh. Azure's own charges for capacity, transactions and early deletion stop once data leaves. Hardware and staff costs rise with the number of OSDs you need for durability, with the size of the retention estate and with how many sites you replicate to. Ask any quote to itemize hardware, implementation, hardening, backup, evidence preparation and ongoing support as separate lines so you can compare them with your current Azure invoices.

How long does it take to move WORM retention data to Ceph RGW?

No researched duration is available for this migration, so treat any timeline as something to confirm in writing. The schedule depends on the volume of locked data, how many containers and accounts hold immutability policies, whether archived blobs must be rehydrated first, and how many applications must change from the Blob API to S3. Retention periods also matter: data that is still under a locked policy cannot be deleted early, so you may need to run old and new storage in parallel until each policy expires. Ask for a phased plan with a written scope, deliverables and cutover order for each container.

What must our team supply before a self-hosted WORM project can start?

You must supply the retention rules themselves, because the system can only enforce what your records policy defines. That means a list of record classes, retention periods, which legal holds are active, and who can approve a hold or release. You also need a legal hold process with documented steps, an owner for each hold and evidence that holds were applied and released. On the technical side, supply an inventory of accounts, containers, tiers and immutability policies, plus access to your identity provider and network. Staff skills should cover Linux administration, Ceph operations, S3 access control, key management and incident response. Confirm these with your compliance and legal teams before scoping the work.

Can our own engineers run Ceph Object Lock WORM without outside help?

Your team can run it alone if it already operates distributed storage and has the skills to maintain a Ceph cluster, but the work is more than installing software. Ceph documents Object Lock support in RGW, yet a retention program also needs deployment, monitoring, upgrades on supported Ceph releases, backup of the cluster, access reviews and documented evidence for each change. Cephadm simplifies container-based deployment, but someone must own hardware failure, capacity and recovery testing. Many teams split the work: internal staff keep operations while an outside firm plans, hardens and documents the build. Decide which parts you will own before you commit to a model.

How does Ceph Object Lock compare with Azure immutable blob storage?

Both give a write-once-read-many model, but the controls differ and you must map them carefully. Amazon S3 Object Lock, which Ceph RGW follows in its S3 API, works only in versioned buckets and offers governance and compliance retention modes plus legal holds. Ceph RGW documents versioning, lifecycle and bucket policies, so the mapping for compliance mode is a design task you should verify on your own cluster before relying on it. Azure immutability policies are configured on containers and have their own rules for legal holds and locked policies. Compare each setting, such as default retention, extension rules and who may delete, and record the result as part of your evidence. Confirm exact behavior in the Ceph documentation for your release.

Is there a third-party validation for a self-hosted WORM setup?

Not for a self-built Ceph setup as a product. The Cohasset Associates assessment named in the Amazon S3 documentation covers the S3 Object Lock service for specific regulatory environments, and it does not transfer to your own cluster. Your self-hosted system needs its own assessment against the rules that apply to you, such as SEC 17a-4, CFTC or FINRA requirements, which your auditor or an assessor you hire will evaluate. Ask any provider whether it can supply a validation for your exact configuration, and be wary of anyone who claims a certification for your deployment. DeployOpen prepares systems, controls and evidence for compliance assessments, but it does not issue audit reports, attestations or certifications.

What audit evidence must we produce ourselves for a self-hosted WORM store?

You must produce the operational evidence that shows the retention controls work as designed. Expect to keep records of retention configuration per bucket, change logs for any policy or lock setting, access reviews, legal hold actions with approver names and timestamps, backup and restore test results, and proof that deletion attempts on locked objects were refused. Map these to the control areas in your framework, such as CIS Controls v8.1 Safeguard 11.4 on isolated recovery data, and to your own IT general controls. Store the evidence outside the cluster it describes. Ask your assessor early which samples they will request so the evidence pack is ready when they arrive.

Moving existing locked data without breaking retention

Locked objects cannot simply be deleted early, so the migration has to carry retained data forward with its retention dates intact and keep the Azure copy in place until each retention period expires. Start by inventorying every container with an immutability policy or legal hold, recording the policy type, the retention period and the date each blob was written, because those values decide when each object may be removed from Azure. Objects under a legal hold have no fixed end date and stay in Azure until the hold is lifted in writing by whoever owns it. Plan the Ceph side so the destination bucket has versioning and Object Lock enabled before the first copy, since Object Lock only works in versioned buckets. Then set a default retention and mode that match the Azure policy, and set each object's retain-until date to the value taken from the inventory, not the date of the copy.

Map the Azure immutability settings to Object Lock as described in the sibling migration page for Ceph, and test the mapping on a small sample container first. Confirm with a test copy that the retention date and mode survived the transfer, because a copy that silently drops retention metadata creates an object that can be deleted early. Keep a record of each object's source checksum, destination checksum and retention values so the copy can be verified object by object.

Run both stores in parallel for the whole retention window, and confirm with your regulator or external auditor how that dual-run period must be documented, including which copy is the record of truth, who approves each decommissioning step and how deletions are logged. Ask them whether they expect the original Azure copy to be retained until expiry, and whether a copy on your own hardware is acceptable as the sole record afterward. Decommission the Azure container only after the inventory shows no retained object remains in it and the approval is recorded.

How DeployOpen deploys WORM retention under your constraints

DeployOpen plans, implements, hardens, documents and supports self-hosted open-source platforms inside your own infrastructure, including the object storage that would hold your WORM retention data. For this topic, that means scoping Object Lock behavior on Ceph RGW against your retention rules, building it in your environment, and preparing the evidence your compliance and security teams need to review.

How we scope

  • Inventory which Azure immutable containers, retention periods and legal holds must carry over to Ceph RGW buckets.
  • Agree in writing which Object Lock settings, versioning and bucket policies are in scope for each retention class.
  • Confirm with your compliance team which regulatory frameworks apply, since they set the retention and audit evidence you need.
  • Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.

How we build

  • Deploy the Ceph cluster and RADOS Gateway in your data centers or cloud accounts, with hardware sized through a benchmark.
  • Configure versioned buckets, compliance-mode Object Lock and legal hold handling, then test that locked objects cannot be deleted early.
  • Harden access with SSO, admin role separation, encryption in transit and at rest, and restricted bucket policies.
  • Test the setup, including deletion attempts against locked objects and permission paths, and report findings with fixes and a retest.

How we hand over

  • Deliver architecture, configuration and runbook documentation that your operations team can maintain after handover.
  • Document the retention mapping from each Azure immutability policy to its Object Lock equivalent, with the test evidence for each.
  • Provide the audit evidence set you must still produce yourself, such as retention logs, access reviews and change records.
  • Walk your teams through backup, upgrade and recovery procedures so the WORM store can be operated independently.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after handover.
  • Plan Ceph release upgrades against published support windows, with regression tests on retention behavior before each change.
  • Keep an isolated, version-controlled backup destination for recovery data in line with CIS Control 11, Safeguard 11.4.
  • Confirm with your independent auditor which controls and evidence they expect, since DeployOpen prepares evidence but does not issue audit reports or certifications.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.