Why teams need a self-hosted Object Lock alternative for immutable storage
If your backups or records sit in Backblaze B2 with Object Lock, moving them onto your own hardware means finding a platform that keeps objects unchangeable for a set period, even from administrators. Ceph RADOS Gateway is the option that provides Object Lock semantics, with governance and compliance retention modes and legal holds on versioned buckets. Garage does not implement object locking or versioning, so it cannot serve as the immutable tier of this design, however well it handles replication across your sites.
The CIS Controls v8.1 Safeguard 11.4 expects recovery data to be kept in an isolated instance, with offline, cloud or off-site version-controlled backup destinations given as examples. Read in your own words, the expectation is that an attacker who gains control of production systems cannot also alter or delete your recovery copies. A self-hosted store in your own data center satisfies the location part only if it also enforces that the copies cannot be changed. Moving the bytes off B2 without retention controls would weaken the protection you have today, so the constraint is immutability, not location alone.
Before you move anything, confirm three things with your platform team: which Object Lock mode each backup tool and application expects, who holds the credentials that can shorten or remove retention, and whether those credentials sit outside the systems the backups protect. Ask your auditors which retention and legal hold evidence they will request, since their criteria decide the mode you choose. The remaining sections cover how to configure these controls and how to stop administrators from bypassing them.
What immutable storage requires from the platform
Immutable storage is a set of controls, not a single switch. Each requirement below has to hold on your own hardware for B2 Object Lock to be replaced, and each one is a question you can put to a candidate platform before you commit.
Write-once-read-many behavior
Object Lock stores objects in a write-once-read-many model, so a protected version cannot be overwritten or deleted until its retention period ends. Ask the platform to show this with a test: write an object with retention set, then attempt an overwrite and a delete under a standard administrator credential. The test should fail in both cases. Record the result as evidence for your backup or records policy.
Object Lock docsVersioning as a prerequisite
Object Lock works only in versioned buckets, so versioning is the foundation everything else sits on. Without it, a delete removes the only copy and no retention rule can protect it. Confirm that the candidate platform supports versioning on the buckets you will use. Garage does not support object versioning, which rules it out for this requirement.
Retention modes that limit who can shorten them
Governance and compliance are the two retention modes, and they differ in who can change them. Governance retention can be bypassed by users who hold a specific permission, which is useful for correcting mistakes. Compliance retention cannot be shortened or removed by anyone until it expires. Map each data class to a mode in writing, and confirm the platform enforces both modes the way its documentation describes.
Legal holds independent of retention
A legal hold keeps an object protected for as long as it is set, with no end date, and it is separate from the retention period. Lifting a retention period does not lift a hold, and the reverse is also true. For records under litigation or investigation, check that your platform can apply and clear holds per object without changing retention on the rest of the bucket.
Isolated recovery copies
CIS Controls v8.1 Safeguard 11.4 asks for an isolated instance of recovery data, with offline, cloud or off-site version-controlled backup destinations as example implementations. Object Lock protects the copy from changes, but it does not isolate it from the account and network that the attacker may already control. Plan a separate administrative domain or a second site for the locked copy, and document how it is reached during recovery.
Audit trail of retention changes
Retention and hold changes need their own record, separate from ordinary object activity, so you can prove who set, extended or attempted to change protection. Ask the platform where access and configuration logs are written, whether they can be sent to a store that administrators cannot edit, and how long they are kept. Test by changing a retention setting and confirming that the event appears in the log.
Which open-source stores meet Object Lock requirements
This table compares Ceph RGW, SeaweedFS and Garage against the features an immutable backup or records store needs, including versioning, retention modes and legal holds. Read each row as a question to confirm in the release you plan to deploy, because the answer is only as good as the version and configuration you test.
| Requirement | Ceph RGW | SeaweedFS | Garage |
|---|---|---|---|
| S3 versioning | Supported, per Ceph's S3 API documentation | Confirm for your release and S3 gateway configuration | Not implemented |
| Object Lock retention modes and legal holds | Feature to confirm in the deployed release, including governance and compliance modes | Verify Object Lock support in the exact version you plan to run rather than assume it | Not implemented |
| S3 bucket policies | Supported, per Ceph's S3 API documentation | Confirm scope and behavior in your version | Not implemented |
| Replication scope | Bucket replication only across zones, so a second site needs a multisite zone design | Confirm replication options for your topology | Geo-distributed cluster model rather than bucket replication |
| Operating burden | High: monitors, managers, OSDs, network and hardware sizing, with cephadm or Rook as deployment paths | Moderate: filer metadata store and volume servers to run and monitor | Lower: small cluster on modest hardware, but no immutability controls |
| Fit for ransomware-resistant backups | Plausible fit once retention is configured and tested, with administrator controls designed separately | Only after Object Lock is confirmed in your version and tested end to end | Poor fit: no retention or versioning to protect backups from overwrite or deletion |
| MinIO community edition | Not applicable | Not applicable | Not applicable |
How to deploy Ceph RGW Object Lock on your own hardware
This sequence takes you from an empty set of servers to a Ceph Object Gateway bucket where retention and legal holds are enforced by the storage layer, with each stage ending in a check you can record as evidence.
Choose a supported Ceph release
Your platform or infrastructure lead selects an actively maintained Ceph release from the Ceph releases page. Tentacle (20.2.x) and Squid (19.2.x) are the two active releases in the researched facts, and each has an estimated end-of-life date that you should record alongside your retention plan. Check those dates with the project before you commit, because a cluster that falls out of support will need an upgrade while it holds locked data. Done means a written release decision with its end-of-life date noted.
Size hardware and OSD layout
Working from the Ceph hardware recommendations, your storage engineers plan one dedicated drive per OSD, place WAL and DB on shared enterprise-class SSDs for HDD-based OSDs, and bond network links across two switches. Size memory for peak load rather than quiet periods, and plan the capacity for the retention window your records require, including replication overhead. Done means a bill of materials and a rack diagram that the security team has reviewed.
Bootstrap the cluster with cephadm
Your platform team bootstraps a single-node cluster with cephadm, which runs the Monitor, Manager and services as containers, then adds the remaining hosts and services. cephadm was introduced in v15.2.0 and does not support older releases. If your platform is Kubernetes, the cephadm documentation points to Rook as the alternative route. Done means
ceph -sreports a healthy cluster on all planned hosts.Enable the Object Gateway and create versioned buckets
Deploy the RADOS Gateway service and create a dedicated Object Lock bucket with versioning enabled, because S3 Object Lock works only in versioned buckets and Ceph follows the same requirement. Use separate users and keys for backup writers, so that the identity allowed to write is not the identity allowed to change retention. Restrict bucket policies to the backup network. Done means a test client can upload and list object versions through the S3 endpoint.
Set default retention in governance or compliance mode
Your compliance lead chooses a default retention mode for the bucket. Governance mode lets users with a specific bypass permission shorten retention, while compliance mode prevents anyone, including administrators, from deleting or overwriting a protected version before its retention date. Record the choice and its reason, because that decision defines who can undo retention later. Confirm in the Ceph documentation exactly which permissions govern bypass in your release. Done means a test object shows the expected retention mode and date.
Apply legal holds to records
For records that must stay immutable for an open matter, regardless of the retention date, the records owner applies a legal hold to the specific object versions. A legal hold stays in place until it is explicitly removed, so the removal step should require a documented approval. Test that a held version cannot be deleted even after its retention period has passed. Done means a held test object resists deletion and the hold appears in the object metadata.
Harden administrator access and audit logs
Your security team restricts Ceph administrator accounts, enables the Dashboard single sign-on options your release supports, and turns on encrypted messenger v2 secure mode so traffic between daemons is encrypted after authentication. Forward RGW access logs to a store the cluster administrators cannot edit. Done means a documented list of who can change retention, with logs that show every change being recorded outside the cluster.
Benchmark and verify before buying capacity
Before the final hardware order, run a benchmark on the candidate configuration with a workload that matches your backup write pattern, and check that ingest and restore times meet your recovery objectives. Ceph's guidance is to benchmark before buying because no two clusters are alike. Your auditors or an independent assessor should review the retention test results. Done means a signed benchmark report and a retention test log that the compliance team accepts.
How to keep administrators from undoing retention
The mode you choose for Object Lock is a policy decision, not a技术 detail. In governance mode, principals holding the bypass permission can shorten or remove retention, so the protection is only as strong as the access controls around those permissions. In compliance mode, nobody can shorten the retention period until it expires, including the root account. For backups that must survive a compromised administrator, compliance mode is the stronger control, and the cost is that a mistaken retention setting cannot be corrected early. Confirm the exact bypass and root-account behavior for your deployed Ceph release in the Ceph documentation before you write retention policy, and test it on a scratch bucket.
Retention only holds if no single person can change both the data and the rules around it. Separate the roles that manage RGW users and keys from the roles that manage bucket policy and retention, and do not let backup service accounts hold bypass permissions. For human access, the Ceph Dashboard supports single sign-on through SAML 2.0, and through OAuth2 when cephadm runs the Management Gateway and OAuth2 Proxy services, so administrator logins can go through your identity provider with its own multi-factor enforcement. RGW itself supports multi-factor authentication and Open Policy Agent integration, which lets you express rules such as who may apply a bypass. Review which identities can reach the admin APIs, since an administrator with those rights can often change configuration outside the bucket.
Encrypt the internal cluster traffic as well. The Ceph messenger v2 protocol has a secure mode that encrypts all post-authentication traffic with AES-GCM and adds integrity checks, which protects retention-relevant metadata and data moving between daemons on the network. Enable it deliberately, confirm it in your release's configuration reference, and measure its overhead on your hardware. Finally, write down who can approve a bypass, who receives the alert, and how you will prove retention held during an assessment. Ask your auditors which evidence they expect, such as configuration exports and access review records, and keep those records with the cluster.
Evidence that proves retention is enforced
An Object Lock replacement is only as credible as the proof that retention holds. The cards below list the records a reviewer will ask for, from bucket configuration to tests that show deletes fail during the retention period. DeployOpen prepares this evidence, but independent auditors issue any assessment or attestation.
Bucket versioning and lock configuration exports
Export the versioning state and Object Lock settings for every bucket that holds backups or records, and keep dated copies. On Ceph RGW, confirm that versioning is enabled before any retention rule is applied, since retention depends on versioned objects. Check that each export matches the bucket list in your backup inventory, so no protected bucket is missing from the evidence set.
Ceph S3 API docsRetention settings per bucket
Record the default retention mode, governance or compliance, and the retention period for each bucket, along with who approved it. A reviewer will compare these settings with your written retention policy. Confirm that any per-object retention set by applications matches the bucket default, and flag any object that was written with a shorter period.
Legal hold logs
Keep a log of every legal hold placed or removed, with the case reference, the object or prefix covered, the operator and the timestamp. Legal holds run independently of the retention period, so the log must show that holds were cleared only by authorized people. Review open holds at each evidence cycle so that stale holds do not accumulate unnoticed.
Access policies and admin role listings
Export the bucket policies, user and role lists, and the administrative roles that can change retention or lock settings. The key question is whether any account can shorten or remove a retention period, and who holds that power. Document the break-glass procedure and the people allowed to use it, and show that changes to these policies are logged.
Delete and overwrite test results
Run scripted tests that attempt to delete and overwrite locked objects, both before and after retention is applied, and save the output. A governance-mode object should resist ordinary deletes, while a compliance-mode object should resist every principal until its retention expires. Repeat the tests after each upgrade, because a failed test is only visible if someone runs it.
Key management and audit records
Keep the encryption key inventory, key rotation history and access logs for the systems that hold the data, along with the audit trail from the object store itself. Ceph RGW server-side encryption keys must be stored apart from the data they protect, and their custody should be documented. Confirm that audit logs are shipped off the storage cluster, so an administrator cannot edit them.
Questions buyers ask before replacing B2 Object Lock
Can Garage provide Object Lock if we need immutable backups?
No. Garage's S3 compatibility reference lists object locking as unsupported, along with object versioning and server-side encryption, so it cannot give you the write-once-read-many behavior that B2 Object Lock provides. If immutability is a requirement, Garage is not a fit for that workload on its own. Teams that want immutable copies on Garage usually need a second system for the locked copy, or they choose Ceph RADOS Gateway, which implements Object Lock with governance and compliance modes and legal holds. Confirm the current compatibility reference before you finalize the design, because feature support changes between releases.
What drives the cost of running a Ceph cluster for immutable backups?
The cost has three main parts: hardware, replication overhead and staff time. Hardware includes drives, enterprise-class SSDs for metadata and WAL and DB placement, memory, network links and rack space. Ceph's hardware recommendations advise a dedicated drive per OSD, moving WAL and DB to shared SSDs on HDD-based OSDs, bonding network links across two switches, and sizing memory for peak use. Replication or erasure coding means you buy more raw capacity than the usable data you store, so the gap between raw and usable capacity grows your bill. Hardware is largely a one-time purchase, while power, support contracts, upgrades and operator time recur. Ask any partner for a written breakdown of these components against your retention volume, and benchmark on your own hardware before buying, since the project notes that no two clusters are alike.
How long does it take to migrate locked backups off B2?
The timeline depends mainly on retention expiry, not on copy speed alone. Objects under compliance retention cannot be deleted or overwritten until their retain-until date passes, so you cannot simply remove them from B2 to speed up the move. Your plan has to cover two tracks: copying the data that must be preserved, and keeping the B2 copy until its retention ends. Copy throughput depends on your egress allowance, bandwidth, the size of the dataset and the rclone settings you choose. Before you commit to dates, list each bucket's retention periods, the total data under lock, and any legal holds, then test a copy of a representative subset. Recreating retention on Ceph is a separate step that needs its own verification.
Can our team run the Object Lock migration without outside help?
A team with strong Linux, storage and backup skills can do it, but the work is more than copying files. It includes sizing and building the Ceph cluster, configuring cephadm, setting up RADOS Gateway with versioning and Object Lock, re-creating retention and legal holds on the copy, switching backup tools to the new endpoint, and proving that the copy matches the source. Each step needs someone accountable for evidence, especially if auditors will review it. Ask yourself whether the team has capacity to run the cluster for years, including upgrades (Tentacle and Squid have estimated end-of-life dates you should track), patching and recovery drills. DeployOpen plans, implements, hardens, backs up, upgrades and documents self-hosted platforms in your infrastructure under a written, fixed scope, and offers ongoing support as a retainer, so you can choose which parts to keep in-house.
Is governance mode enough to protect our records?
It depends on what your records must withstand. Ceph's Object Lock supports governance and compliance modes, and the difference matters: in governance mode, users with the right permission can bypass or shorten retention, while compliance mode prevents deletion by anyone until the retention period expires. S3 Object Lock is assessed for SEC 17a-4, CFTC and FINRA environments through an independent assessor, but that assessment applies to the AWS service, not to your self-hosted cluster. Your regulator or auditor decides whether governance mode meets the requirement. Document how administrators are restricted, what the retention settings are, and how legal holds are used, and get a written position from your compliance team before you choose the mode.
How do we stop administrators from undoing retention on our own cluster?
Retention on a self-hosted cluster is only as strong as the people and systems that can change it. Keep compliance-mode retention where your policy requires it, restrict who holds the RADOS Gateway administrative keys, and separate the backup writer identity from any identity that can change bucket configuration. Enable audit logging, review changes to Object Lock settings, and protect the cluster from changes to its underlying hosts, because a root user on a storage node can often reach the data directly. Ceph's messenger v2 secure mode, which encrypts traffic after authentication, reduces exposure on the network but does not stop a privileged administrator. Test the controls with a red team exercise, and keep an offline or off-site copy as CIS Control 11 suggests for isolated recovery data.
What do we need to provide to start this work?
Start by collecting an inventory of what B2 holds. List each bucket, its Object Lock mode, retention periods, legal holds, total stored bytes, object counts and the applications and backup tools writing to it. Add your recovery objectives, the compliance rules that apply, the physical sites and networks available for hardware, and who will own the platform after handover. Also provide your current egress and retention cost data so the cost comparison reflects real numbers. Confirm which regions your accounts are bound to and whether any data must stay in a specific jurisdiction. Ask any implementation partner to turn this into a written scope with deliverables and a timeline before work begins.
How writes, retention and admin controls fit together
The flow starts with a backup client writing through the Ceph RGW endpoint into a versioned bucket, where a default Object Lock retention applies to each new object version. Administrators reach the cluster only through SSO and MFA inside a separate trust boundary, and they cannot shorten retention on objects in compliance mode. Before deletion, retention and legal hold checks run, and the data then lands on Ceph OSDs spread across failure domains. Confirm which admin actions your own policy allows and test that a compliance-mode version cannot be removed.
Write path, retention checks and the admin plane for an Object Lock setup on Ceph.
Why Garage cannot replace B2 Object Lock
Garage cannot enforce retention, so it cannot replace B2 Object Lock. Garage is an AGPL-3.0 S3-compatible store for small geo-distributed clusters, and its S3 compatibility reference states that it does not support object versioning, object locking or server-side encryption. Without versioning there is no retained prior version to protect, and without Object Lock there is no retention period or legal hold that the storage layer enforces. A backup written to Garage can be overwritten or deleted by any principal with write access to the bucket, and the platform gives you no mode that refuses the change. Ransomware that holds valid credentials can therefore destroy the copy, which is the exact failure B2 Object Lock is meant to prevent.
Before you choose Garage for any backup or record set, confirm the current feature list against the Garage S3 compatibility reference, since compatibility tables change between releases. Then map each dataset to a requirement: if a copy must be immutable for regulatory, contractual or ransomware reasons, it belongs on a platform with Object Lock, such as Ceph RGW as described elsewhere on this page. Garage can still hold secondary copies, cache data or replicas where loss is recoverable from another immutable source, and the Garage and Backblaze B2 comparison pages cover those cases in more detail.
The practical decision is to write down which copies must be immutable and which can be overwritten. Keep the immutable copy on a store with versioning and Object Lock, and treat any Garage copy as a convenience layer that does not count toward your recovery requirement. Document this split in your backup standard so that an operator who sees a Garage bucket does not assume it is protected. This also aligns with the control expectation for an isolated, version-controlled recovery copy in CIS Control 11, which Garage alone cannot satisfy.
How DeployOpen deploys immutable storage under your controls
DeployOpen plans, builds and hands over self-hosted immutable storage inside your own infrastructure, so retention rules, legal holds and administrator controls are set and reviewed by your teams. The work covers the storage platform, the backup integrations that write to it, and the evidence your compliance and security reviewers ask for.
How we scope
- Engagements are fixed-scope, with the platform choice, retention rules and deliverables agreed in writing before work starts.
- We map which backup jobs, records and buckets need Object Lock style protection and which can stay on standard storage.
- The written scope names who holds retention administration rights and how privileged changes to retention will be recorded and reviewed.
How we build
- We deploy a Ceph RADOS Gateway cluster in your infrastructure and configure versioning and Object Lock on the buckets that need it.
- We test governance and compliance retention, legal holds and attempted deletions against the written retention policy before go-live.
- We integrate backup tools with the new endpoint and set up isolated, version-controlled copies as part of recovery data design.
How we hand over
- You receive configuration documentation, retention settings, access role maps and the test results used to verify them.
- We document the operational limits of the chosen platform, including what Garage does not offer, so the decision stays traceable.
- Handover includes a walkthrough with your storage, backup and security staff so they can run restores and audit log reviews.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers, covering patching of the storage platform and retention controls.
- We can retest immutability controls after upgrades, changes to administrator roles or new backup integrations.
- Ask us to confirm which support tier, response commitments and upgrade cycle apply before you sign the written scope.

