Self-hosted alternative to GCS Bucket Lock: what the constraint requires and the short answer
A compliance team that must keep broker-dealer or futures records unchanged for a fixed period cannot treat a bucket lock as the end of the question. The closest self-hosted option is Ceph RGW Object Lock in compliance mode, which stores objects write-once-read-many and prevents deletion or overwrite until the retention period ends. However, the retention feature alone does not satisfy record keeping. A regulator will ask who can change the retention setting, how the setting is evidenced over time, how records are recovered, and whether copies are kept apart from the production cluster.
The work sits in the controls, evidence and operating model around the storage, not in the bucket feature. Amazon S3 Object Lock has been assessed by Cohasset Associates for SEC 17a-4, CFTC and FINRA environments, and the Amazon S3 user guide documents its governance and compliance modes, legal holds and the versioning requirement. The facts available to us do not establish a direct regulatory mapping for Ceph RGW, so you should not assume that enabling Object Lock on a Ceph bucket meets the same requirements. Ask your compliance counsel and, if you need third-party assessment, an independent assessor to confirm the mapping for your exact rule set and retention schedule.
Before you migrate any bucket lock, decide who owns the retention configuration, how changes are approved and logged, and how an isolated, version-controlled copy of the records is kept, in line with the recovery control described in CIS Controls v8.1 Safeguard 11.4. Confirm with the vendor and in your own test environment how Ceph RGW handles retention on versioned buckets and what your logs record. The sections below cover each of these in turn.
What retention compliance requires from the storage layer
Retention rules only hold if the storage layer enforces them for the life of each record. The cards below cover the storage behaviors, recovery copies, change and access controls, and authentication checks that a reviewer is likely to ask about. Whether any of this satisfies a specific regulator is a determination the regulator or your independent assessor makes, not DeployOpen.
Write-once-read-many with retention modes
Object lock must block deletion and overwrites for a defined period. Bucket Lock and S3 Object Lock both offer retention that stops anyone from removing an object early, and S3 Object Lock adds governance and compliance modes plus legal holds that apply independently of the retention period. Ceph RGW supports Object Lock in compliance mode, so confirm on your cluster that compliance-mode retention cannot be shortened or removed by any user, including administrators, before you map your retention schedule onto it.
Object Lock guideVersioning as a prerequisite
Locks apply to object versions, so versioning must be on first. S3 Object Lock works only in versioned buckets, and the same dependency applies to retention on a self-hosted RGW bucket. Check how versioning interacts with lifecycle rules, because an expiration rule that runs on current versions can leave noncurrent versions behaving differently than your retention schedule assumes. Test both the lock and the lifecycle rules together with a sample of records.
Isolated recovery copies
Retained records need a copy that the production cluster cannot alter. CIS Control 11 Safeguard 11.4 asks for an isolated instance of recovery data, with offline, cloud or off-site version-controlled destinations given as examples. On a self-hosted cluster, this usually means replicating to a second Ceph zone or an off-site store under separate credentials, with its own lock settings. Ceph documents bucket replication only across zones, so plan the second zone and its administrators as part of the design, not as an afterthought.
CIS Control 11 specificationChange and computer operations controls
Changes to retention settings must be controlled and logged. SEC Release 33-8810 names program development, program changes, computer operations and access to programs and data as example IT general control areas relevant to internal control assessments. For a self-hosted cluster, this means change tickets for bucket policies, lock configuration, Ceph upgrades and cephadm operations, plus evidence that only approved people made them. Ask your assessor which of these areas apply to your records and how they will sample them.
SEC Release 33-8810Access to data and administrator separation
Administrators who can run the cluster should not also control retention. Separate the Ceph administrators who manage hardware, cephadm and upgrades from the accounts that create buckets and set Object Lock, and restrict root or admin keys so they cannot bypass lock settings. Ceph RGW supports IAM-style policies and AWS STS, which helps scope access per application. Document who holds each role and review those grants on a schedule that your compliance team sets.
Multi-factor authentication for storage access
MFA applies if your organization falls under the FTC Safeguards Rule. The rule requires multi-factor authentication for any individual accessing any information system unless the Qualified Individual approves an equivalent control in writing. Ceph RGW documents multi-factor authentication, and the Ceph Dashboard supports SSO through SAML 2.0, but console and admin access paths must each be checked. If the rule does not apply to you, confirm the requirement with counsel and record the decision.
16 CFR Part 314 textWhich self-hosted options can meet a Bucket Lock style retention control
This table compares how each self-hosted S3-compatible store handles immutability, the control a Bucket Lock style retention policy depends on. Read it as a shortlist filter: only options with object locking can be considered for WORM record keeping, and every candidate still needs retention tests in your own environment before you rely on it.
| Option | How it handles immutability | Trade-offs |
|---|---|---|
| Ceph RADOS Gateway (RGW) | Documents S3 versioning, lifecycle, ACLs and bucket policies. Object Lock in compliance mode is the control to verify in the Ceph release you deploy, using your own retention tests before any record is written. | Object Lock behavior, including whether compliance mode can be enforced as your regulator expects, must be confirmed per release. Bucket replication works only across zones, so plan a separate copy for recovery. Expect staff time for cluster operations. |
| SeaweedFS | Apache-2.0 distributed blob and S3 object store. The supplied facts do not establish a native WORM retention mode, so treat retention enforcement as unconfirmed until you test it or confirm it with the project. | Open source under Apache-2.0 with a paid Enterprise Edition, so confirm which edition offers any retention features. Optimized for many small files, which suits some archive workloads but does not by itself meet a record-keeping control. |
| Garage | Does not support object versioning or object locking, so it cannot provide a WORM retention control. | Suitable for small geo-distributed clusters. Use it only for data that does not carry a retention obligation, or pair it with a separate compliant store for records. |
| MinIO community edition | Archived and no longer maintained, distributed as source only without new binaries. Not a viable base for new retention controls. | MinIO's commercial AIStor products are the supported successors. Evaluate them as a purchase decision, separately from open-source options. |
How GCS Bucket Lock differs from Ceph Object Lock in compliance mode
The practical difference starts with what each system promises to hold back. The reference point on the S3 side is S3 Object Lock, which stores objects in a write-once-read-many model, works only in versioned buckets, and offers governance and compliance retention modes plus legal holds. The modes differ in who can change or remove a locked version before its retention period ends, and the Amazon S3 user guide sets out those rules in detail. Read them before you map anything to GCS Bucket Lock, and map each setting by its documented behavior, since matching names alone do not establish equivalence.
This section cannot tell you how GCS Bucket Lock works internally, because no supplied source describes it. The sources also do not establish how the Ceph Object Gateway enforces compliance-mode retention against cluster administrators, meaning people with host root access, monitor access or rights to change the RGW configuration. Ceph's S3 API documentation confirms support for versioning and bucket policies, but it does not replace testing enforcement on your own release. Confirm the Object Lock behavior for the Ceph release you run, Squid or Tentacle, in the project documentation and in your own environment before you write it into a control statement.
Treat this as a test plan. Using accounts that hold cluster administrator rights, and not only the application service account, attempt to delete a locked object version, shorten its retention, clear a legal hold and overwrite the object. Repeat the attempts through the S3 API, through the RGW administrative tooling and through any direct access path your operators have to the underlying storage. Record the account used, the time, the request, the response and whether the audit log captured the attempt, then store the results with your retention configuration. As an illustrative case, if an administrator can shorten retention on a locked bucket, that finding belongs in your risk register before any regulated record moves onto the cluster.
How to deploy Ceph retention storage under compliance controls
This sequence takes a Ceph RGW cluster from regulatory scoping to a tested retention store, with Object Lock, access separation, encryption in transit and an isolated copy in place before any record is written.
Confirm regulatory scope and record types
Compliance, legal and records teams list which record types must be retained, the rule that governs each (for example, the FINRA, SEC or CFTC books and records requirements your firm is subject to), and the retention period per type. Ask your compliance counsel and your independent assessor to confirm whether a non-erasable, non-rewritable retention mode is required, because that choice decides the Object Lock mode you can use. Done when the team signs a one-page retention matrix that maps each bucket to a record type, a period and an owner.
Choose a supported Ceph release
The platform team selects Squid (19.2.x, end of life estimated October 31, 2026) or Tentacle (20.2.x, end of life estimated June 1, 2027) from the Ceph releases page. For a retention store that must stay in service for years, the team should prefer the release whose end-of-life date comfortably covers the expected migration and audit cycle, and confirm the current latest patch level before ordering hardware. Done when the chosen release, patch level and upgrade path are written into the design record.
Deploy the cluster with cephadm or Rook
On bare metal or VMs, the infrastructure team bootstraps the cluster with cephadm, adds hosts and deploys the Monitors, Managers, OSDs and RGW services as containers. On Kubernetes, the team deploys Rook instead. Place a dedicated drive per OSD, put WAL and DB on enterprise-class SSDs for HDD-based OSDs, and bond network links across two switches, as the hardware recommendations advise. Done when
ceph healthreports HEALTH_OK and every OSD and RGW daemon is up on each host.Enable versioning and Object Lock on buckets
The storage team creates retention buckets with Object Lock enabled at creation, since Object Lock needs to be set when the bucket is made, and turns on versioning. It then sets default retention in the mode and period the retention matrix requires, and tests a write, an overwrite and a delete against a retained object to confirm that protected versions cannot be removed. Confirm Ceph RGW's Object Lock behavior against your required mode in a test environment before relying on it. Done when a test object survives an attempted delete and the test results are filed with the design record.
Separate admin and retention roles
The security team creates distinct RGW users for applications that write records, auditors who only read them, and administrators who manage the cluster, and writes bucket policies so that no application identity can change retention settings or delete locked versions. Administrative accounts should be separate from day-to-day operator accounts, and root-level keys should not be used by applications. Done when an access review shows that each identity holds only the permissions in the matrix and that a write-role test attempting to change retention is denied.
Enforce SSO and MFA on the Dashboard and gateway
The identity team connects the Ceph Dashboard to your identity provider using SAML 2.0, or OAuth2 if cephadm runs the Management Gateway and OAuth2 Proxy services, and configures multi-factor authentication for administrators at the identity provider. For RGW, the team decides whether Keystone, LDAP or the gateway's MFA support fits the directory model, and documents the choice. Shared administrator logins are removed. Done when a Dashboard login without MFA is refused and each admin session traces to a named person in the logs.
Enable msgr2 secure mode
The platform team sets the Ceph messenger to secure mode so that all post-authentication traffic between daemons and clients uses AES-GCM encryption with integrity checks, as described in the msgr2 documentation. The team confirms that port 3300 is reachable only from cluster and approved client networks, and that a packet capture between two OSDs shows no readable payload. Done when the configuration is recorded in version control and a capture test passes.
Plan an isolated off-cluster copy
Following the recovery-data control in CIS Controls v8.1 (Safeguard 11.4), the backup team configures a second copy of retention data on an isolated destination, such as an offline, separate-account cloud or off-site store, with its own credentials and a version history. The copy should be written by a dedicated job that cannot reach the production admin keys. Done when the team documents where the copy lives, who can reach it and how it is kept out of the production trust boundary.
Run restore and retention tests before go-live
Before any production record is written, the team restores a sample of objects from the isolated copy into a clean bucket, compares object counts and checksums with the source, and attempts to delete locked versions with each role. It also simulates the loss of a host and confirms that data remains readable and locked. Each result is logged with the tester, date and outcome. Done when the test report is signed off by compliance and the platform owner, and any gap is closed or formally accepted.
Controls and audit logging you must add on your own cluster
Object Lock in Ceph RGW enforces retention at the storage layer, but it does not produce the evidence a examiner asks for. The cards below cover the controls the client must design, operate and evidence on its own cluster, from audit trails and admin separation to change records and exit terms.
Audit logging in a tamper-resistant store
Record every bucket creation, retention change, legal hold, policy edit and admin login, and ship those records off the cluster to a store that the cluster administrators cannot rewrite. Retention on the audit trail should be at least as long as the longest record retention period on the objects it covers. Confirm that a retention change on a locked bucket is itself logged and that the log shows who made it and when. Ask your examiner which log formats and retention periods they expect before you design the pipeline.
Ceph S3 API docsAccess control and admin separation
Separate the people who run the Ceph cluster from the people who hold retention authority over buckets. Map RGW users, IAM policies and STS roles to named duties, and keep the root or admin credentials in a vault with dual control. Use the Ceph Dashboard's SSO options so that admin sessions tie back to your identity provider and multi-factor authentication. Review who can remove or shorten a lock before go-live, because a compliance-mode lock is only as strong as the accounts that can change the configuration around it.
Ceph Dashboard docsEncryption in transit with msgr2 secure mode
Enable msgr2 secure mode so that all cluster traffic after authentication is encrypted with AES-GCM and carries integrity checks. This covers monitor, OSD and manager traffic, but it does not replace TLS on the S3 endpoint that clients use. Confirm that the RGW front end terminates TLS with certificates your team manages, and that the cluster network is isolated from client networks. Document the setting and its verification output as part of the evidence pack.
msgr2 docsChange management for cluster and policy changes
Treat cluster upgrades, OSD replacements, bucket policy edits and Object Lock configuration as changes that need a ticket, an approver and a rollback plan. SEC Release 33-8810 names program changes, computer operations and access to programs and data as IT general control areas for financial reporting, and those categories map well onto Ceph operations. Keep a dated record of each change, the person who approved it, and the test that confirmed it. Ask your auditor whether they want change records for the cluster, the bucket policies or both.
Backup isolation for locked data
Retention locks protect objects from deletion, but they do not protect the cluster from corruption, ransomware on the admin path or a failed upgrade. CIS Control 11 expects an isolated copy of recovery data, held offline, in the cloud or off-site with version control. Decide where that copy lives, who can reach it, and whether it is locked in the same way as the primary data. Test a restore from the isolated copy on a schedule and record the result.
CIS Control 11 specExit terms and data return for vendors
If you are an EU financial entity under DORA, Article 28 requires a register of ICT contracts and documented, tested exit strategies for services that support critical or important functions. Article 30 requires contracts to state where data is processed and to cover data return on termination or insolvency of the provider. Your storage supplier, hosting partner and support firm each need these terms. Ask for them in writing before you sign, and confirm them with your legal and compliance teams. This page does not provide legal advice.
DORA text on EUR-LexHow the retention cluster, admin plane and isolated copy fit together
The diagram starts with applications writing objects through the Ceph RGW S3 endpoint into a versioned bucket with Object Lock enabled on the retention cluster. Administrators reach the cluster only through the admin plane, where SSO and MFA gate access to the Ceph Dashboard and management tools. Audit records leave the cluster for a separate store, so the people who administer retention cannot quietly edit their own trail. A separate off-cluster copy serves as the recovery destination, isolated from the cluster's credentials. Check that each hand-off is enforced by configuration you can show an assessor, not only drawn.
Writes, admin access, audit export and the isolated recovery copy around one retention cluster.
Evidence examiners and auditors ask for
Examiners and auditors judge whether retention controls work as written, so the evidence has to show configuration, people, changes, recovery and exit. DeployOpen prepares these artifacts and controls, but independent assessors decide whether they are adequate for your regulator or auditor.
Retention configuration exports
Export the bucket and object retention settings as they exist on the cluster, including the Object Lock enabled flag, default retention mode and period, and any legal holds. Ceph RGW stores these as bucket configuration, so the export should be taken from the live cluster on a schedule and kept with a timestamp. Check that the exported values match the retention schedule your compliance team signed off, and that no object was written before the lock was enabled. Confirm with your assessor which format they accept.
Ceph S3 API docsAccess reviews for the cluster
Keep a dated record of who can administer the RGW users, keys, bucket policies and the underlying Ceph cluster, and who can write or delete objects under a lock. Reviews should cover human accounts, service accounts and any admin interface, such as the Ceph Dashboard, that changes retention settings. Record the reviewer, the scope, the decision and the removals made. The reviews support the access control expectations in the FINRA, SEC and CFTC record-keeping context, and examiners will ask who could have shortened or bypassed a lock.
Change records for cluster and policy changes
Retain tickets or pull requests for every change to cluster configuration, RGW settings, bucket policies, lifecycle rules and cephadm service specifications. Each record should name the requester, approver, the change window and the rollback plan, and link to the configuration diff. Compare the change log against the retention configuration exports so that any gap between an approved change and the live state is visible. Ask your assessor whether they expect change records to be signed or stored in a separate system.
Restore test results
Retain dated restore tests that retrieve locked objects from a separate cluster or an isolated backup destination and verify their checksums against the original. CIS Control 11, the data recovery control, expects an isolated copy of recovery data, so a restore test should prove the copy is usable and not only present. Record the sample size, the objects chosen, the time taken and any failures with their fixes. Restore tests also show whether a locked object can be recovered if the primary cluster is lost.
CIS Control 11 specAudit log samples
Provide samples from the RGW access logs, the Ceph cluster logs and the operating system logs for the hosts that run the gateways. The samples should show writes, deletes attempted against locked objects, retention changes and administrative logins, with timestamps synchronized to a reliable time source. Forward logs to storage that the cluster administrators cannot edit, and document the retention period for those logs. Confirm with your assessor which log fields and time window they need for a given examination.
Written exit plan
Keep a written and tested exit plan that explains how locked records would be moved to another compliant store if the self-hosted cluster is retired, or if the chosen platform stops being maintained. DORA Article 28(8) asks for documented, tested exit strategies for ICT services supporting critical or important functions, and that principle is useful even outside the EU. Include the migration target, the process for keeping retention periods intact during the copy, and the owner who signs off. Ask your legal and compliance teams whether the plan must be reviewed on a fixed cycle.
Can Ceph Object Lock replace GCS Bucket Lock for our retention program?
Can Ceph RGW replace GCS Bucket Lock for retention?
Ceph RGW can provide write-once-read-many retention behavior, but it is not a drop-in replacement. Ceph's RADOS Gateway documents support for versioning, lifecycle, bucket policies and the S3 data access model, so Object Lock style retention must be built and configured on your own cluster and verified against your retention rules. Bucket Lock on GCS is a managed control with its own rules and behavior, so map each retention requirement (period, lock type, legal hold, deletion path) to a specific RGW setting and test it before you rely on it. Confirm the exact Object Lock modes and their behavior in your Ceph release with the Ceph documentation and a test bucket.
How much effort does a retention control build on Ceph take?
Effort depends mainly on how many retention classes you run, how many buckets and applications write records, and how much of the control you must document. The work usually splits into cluster build, retention configuration and testing, access control, audit logging, backup and evidence collection. Each area has one-time setup and recurring operations, such as upgrades, key rotation and periodic restore tests. Ask any implementation partner for a written scope that lists these components, the systems in scope and the evidence deliverables, then compare the quote against that list rather than a headline number.
Can our own team build and run a Ceph retention program?
Some teams can, but the question is whether they have the skills and time to own the cluster for the full retention period. Running Ceph well requires planning for dedicated drives per OSD, separate metadata SSDs on HDD-based OSDs, bonded network links across two switches, and memory sized for peak use. Your team also needs to handle upgrades on supported releases, monitor health, and test restores. If these skills are not in-house today, an external team can cover the build and handover, but you still need an internal owner who understands the retention rules and the evidence.
What does a quote for Ceph retention work depend on?
A quote follows from a written scope, so the inputs that matter most are the retention rules, the data volume and growth you expect, the number of sites, the integration points with your record-keeping applications, and the controls and evidence you need. Ask for line items that separate hardware, licensing (Ceph itself is open source), implementation, hardening, audit logging, backup, documentation and retesting, and state whether each is one-time or recurring. Hardware and staff costs are usually the largest components, so ask how the quote assumes they will be sourced and who pays for each.
How long does a Ceph retention migration take?
The timeline depends on cluster sizing and procurement, the number of buckets and applications to repoint, how many retention rules must be proven, and how much of the evidence package must be produced. Hardware lead times, network changes and the size of any data copy from GCS often set the critical path. Ask for a phased plan with dependencies and a clear list of what the client must provide, such as access to applications, change windows and approval of the retention design. Any duration in a proposal should trace to those drivers.
Is there a Cohasset-style third-party assessment for Ceph?
We cannot confirm that a third-party assessment similar to Cohasset Associates' review of Amazon S3 Object Lock exists for Ceph RGW. Ask your assessor directly whether they will evaluate a self-hosted Ceph configuration against the record-keeping rules you follow, what evidence they will need, and whether they accept your configuration as equivalent. Also ask whether the assessment covers your specific retention modes, legal holds and audit logging. DeployOpen prepares systems, controls and evidence for compliance assessments but does not issue audit reports, attestations or certifications; independent assessors do that work.
How does cluster staffing affect ongoing retention compliance?
Staffing affects whether retention controls keep working after go-live. Records must remain locked and recoverable for the full period, which means someone must handle upgrades on supported Ceph releases, review access logs, rotate keys, test restores and respond to hardware failures. If the people who built the cluster leave, the evidence trail and operating runbooks must still be usable by others. Plan named owners, documented procedures and a support arrangement for each control, and confirm with your compliance team which roles must review the logs and approve changes.
What controls must we add around Ceph Object Lock?
Object Lock settings alone do not make a retention program. You should add an isolated copy of recovery data, with an offline, cloud or off-site version-controlled destination, in line with CIS Controls v8.1 Safeguard 11.4. You also need multi-factor authentication for administrators, least-privilege access to RGW users and policies, encryption in transit through the messenger v2 secure mode, audit logging of administrative and data actions, and tested restore procedures. Confirm each control with your compliance team and map it to your own retention requirements.
What to confirm with your regulator and your own environment first
Before you choose Ceph RGW for locked records, confirm which recordkeeping rules actually bind your firm. Identify whether the obligations come from SEC, FINRA or CFTC rules, and which specific retention, format and audit-trail requirements each one places on the records you hold. Ask your regulator or outside counsel whether an object lock in compliance mode on a self-managed system meets those requirements, and whether a write-once model must be shown to hold for the full retention period, including against administrators of the cluster. Do not assume that the design used for Amazon S3 Object Lock, which a third-party assessor has reviewed for these environments, carries over to your cluster. The same assessment is needed for your own build. Ask the assessor early whether they will accept the design and what evidence they will need to test it.
Next, confirm the operating facts of your own environment. Check which Ceph release line you plan to run, using the Ceph active releases page to read the current end-of-life dates, and plan an upgrade path before the first one arrives, since a retention platform cannot be left unpatched. Verify that your existing records can move with retention intact: confirm the retention end dates, legal holds and versioning state of every bucket, and test a sample migration that keeps those attributes and proves them afterward. Also confirm who owns the cluster, who holds administrative keys and who can change lock settings. Those answers, documented in writing, decide whether the design is defensible to a reviewer.
How DeployOpen deploys retention storage under compliance controls
DeployOpen plans, builds and documents a self-hosted object store with retention controls inside your own infrastructure, so your compliance and security teams can review the setup. Each engagement is scoped in writing before work starts, and the controls, configuration and evidence are handed over with the platform.
How we scope
- Inventory which buckets hold records that need retention, and which regulator or internal policy sets each retention period.
- Agree in writing whether the target is Ceph RGW Object Lock in compliance mode, and which retention and legal hold behaviors must be reproduced.
- Confirm with your legal and records teams how retention is verified, since the vendor's assessment letters do not transfer to your cluster.
How we build
- Deploy the Ceph cluster and RGW with cephadm or Rook, with versioning enabled before any lock is applied to a bucket.
- Configure lock and retention settings, identity mappings, bucket policies and audit logging, then test that locked objects cannot be deleted or overwritten.
- Run security testing on the S3 endpoints, admin interfaces and credential handling, and document each finding with its fix and retest.
How we hand over
- Deliver configuration records, runbooks and a control map that shows how each retention requirement is met on your cluster.
- Document backup to an isolated, separately controlled destination, aligned with the recovery data control in CIS Controls v8.1.
- Provide evidence packs for your auditors and walk your team through the reviews they will run, without issuing any attestation ourselves.
How we support
- Offer ongoing support, upgrades and continuous testing as a retainer, covering Ceph release updates and retention configuration changes.
- Retest the retention controls after each upgrade or material change, and update the evidence pack to match.
- Confirm with your auditors and regulator-facing counsel which assessments your organization must still obtain independently.

