Migrate from Amazon S3 to Ceph

Moving from Amazon S3 to Ceph RADOS Gateway is practical for buckets that use the common S3 API features, but Object Lock, cluster sizing and cutover need planning. This page shows what moves cleanly, the sequence, and the drivers of cost and duration.

On this page

Migrate from Amazon S3 to Ceph: what the move involves

A move from Amazon S3 to Ceph RADOS Gateway is feasible for most buckets that use the standard S3 feature set, but it is a platform project, not a file transfer. Teams usually start because of a renewal, rising egress charges, a residency requirement or lock-in concern, and the work is typically run by a platform or storage engineering group with support from the application teams that own the buckets. Plan it as three linked pieces: build and harden the Ceph cluster, copy the data and verify it, then cut each application over to the new endpoint and credentials. Effort and risk depend mostly on data volume, the number of applications reading each bucket, and how much of the S3 feature set those applications rely on, so ask for a written scope that breaks down each bucket before anyone commits to a timeline.

Ceph's S3 API covers the features most applications depend on. The Ceph documentation lists support for versioning, lifecycle rules, multipart uploads, ACLs and bucket policies, so inventory each bucket's configuration and confirm which of these it uses, along with any event notifications, tagging or server-side encryption settings your applications expect. Two areas need separate handling. S3 Object Lock does not transfer by copying objects, so buckets that depend on WORM retention need a deliberate design for compliance mode and legal holds on the new cluster. Cross-region replication is also not a direct equivalent, because Ceph's bucket replication works across zones within a Ceph multisite deployment, so the disaster recovery design must be rebuilt rather than reproduced. Confirm each of these points against the Ceph S3 API documentation and your own bucket inventory before the copy starts.

Which S3 features map to Ceph RGW and which need rework

This table compares the S3 features a typical bucket depends on with their Ceph RADOS Gateway equivalents, marking each as clean, needs rework or gap. Read the rows against your own bucket configuration, not against the feature list alone. The main takeaway is that versioning, lifecycle, ACLs and bucket policies usually carry over, while replication, Object Lock and event notifications need design work or confirmation against your Ceph release.

S3 featureCeph RGW statusWhat to check before cutover
VersioningCleanConfirm version history and delete markers survive the copy, since rclone copies current objects unless you plan for prior versions
Lifecycle expiration and transitionsNeeds reworkRewrite rules as RGW lifecycle configuration and confirm transitions to storage classes match the pools you built
Bucket policies and ACLsNeeds reworkRecreate each policy by hand, test every principal and condition, and map IAM users to RGW users and keys
Multipart uploadsCleanUpdate client SDK part size and timeout settings, then test large uploads through the new endpoint
Object Lock (WORM retention)Needs reworkConfirm compliance mode and legal hold support against the current Ceph documentation for your release before relying on it for records
Event notificationsNeeds reworkConfirm which notification targets your release supports, and rebuild any consumers that depend on S3 event triggers
ReplicationNeeds reworkCross-bucket replication to AWS is not available. RGW replication runs across zones within a Ceph multisite design, so plan the topology first
Server-side encryptionNeeds reworkConfirm the encryption options your release supports and how keys are managed, since key custody moves to your team

What data and integrations must move with the buckets

Copying object bytes is the easy part of an S3 exit. The bucket also carries metadata, version history, lifecycle rules, policies, credentials and the applications that call it, and each of these needs its own mapping and check on the Ceph RGW side. Build an inventory from the source bucket first, then verify every item against it after cutover.

Object data and metadata

Object bodies move with rclone, but system and user metadata, content types, cache headers and object tags do not always survive a naive copy. Confirm which of these your applications read, then test a sample object end to end after the copy. Produce the object count, total bytes and per-prefix checksums from the source bucket, not from the copy tool's summary, so you have an independent reference to compare against on the Ceph side.

rclone S3 docs

Versioning history and delete markers

If the source bucket uses versioning, decide whether the migration must keep every noncurrent version or only the current objects. Copying only current versions discards history that restores or audits may rely on. Ceph RGW documents versioning support, but replay of old versions and delete markers needs a deliberate method and a test restore after the move. Record the versioning state of each bucket in your inventory.

Lifecycle rules and retention

Lifecycle expiration and transition rules run on AWS and silently stop when data moves. Export each rule from the source bucket, then recreate expiration rules on RGW only after confirming they match the retention you intend. Recreating a transition rule to an S3 Glacier class does not apply on Ceph, so storage class targets must be designed separately. Do not assume that a rule which deletes data should be copied unchanged.

Ceph S3 API docs

Bucket policies, ACLs and Object Lock state

Bucket policies and ACLs are evaluated by the server, so they must be rewritten and tested against RGW, not exported and assumed. Check the Ceph S3 API reference for each policy condition your buckets use. Object Lock retention is a separate case: it applies only to versioned buckets, and compliance-mode retention on the source cannot be shortened by moving data, so confirm with your compliance owner what must be preserved before any delete on the source.

Object Lock guide

Access keys mapped to RGW users

IAM users, roles and access keys on AWS do not transfer. Map each application principal to an RGW user with its own access and secret key, and grant only the bucket permissions that principal used on AWS. Rotate any key that was exposed in configuration files during the move. Keep a written table of source principal, target user and permissions so reviewers can trace each access path.

Application endpoints, presigned URLs and events

SDK configurations must point to the RGW endpoint, and any region or signature settings must match what RGW accepts. Presigned URLs issued before cutover embed the old host and expire on their own schedule, so plan a window for them. Event consumers that rely on S3 event notifications need a replacement trigger, because the documented Ceph bucket notification path differs from AWS. List every service that calls the bucket before you change any endpoint.

How the cutover sequence runs from inventory to decommission

The sequence turns an S3 estate into a tested Ceph RGW deployment in stages, so each bucket moves only after its sizing, copy, validation and cutover have been checked. Each step produces a document the next step depends on, which keeps the decision trail reviewable for security and compliance teams.

  1. Inventory buckets, access patterns and dependencies

    List every bucket, its size and object count, versioning and lifecycle settings, bucket policies, event notifications, Object Lock configuration and storage classes, plus which applications, IAM users and roles read or write each one. Record request rates and the share of small versus large objects, since these shape the cluster design. The output is an inventory file with one row per bucket and a dependency map. The step is done when the application owners have signed off that the map is complete.

  2. Size the cluster and design pools

    Convert the inventory into a sizing worksheet that separates raw from usable capacity. Compare replicated pools with erasure-coded pools for the data classes that tolerate them, and note that erasure coding trades storage overhead for more CPU and network work during recovery. Follow the hardware guidance on a dedicated drive per OSD, shared SSDs for WAL and DB on HDD-based OSDs, and memory sized for peak use. Benchmark on candidate hardware before purchase. The output is a sizing worksheet and a pool design, reviewed by the storage team and the platform owner.

  3. Deploy the cluster and run a pilot bucket

    Deploy Ceph with cephadm on a supported release, configure the RADOS Gateway, and create the S3 users, keys and bucket policies that match the inventory. Choose one low-risk bucket, copy it with rclone, and run the application's read and write tests against the RGW endpoint. Confirm that the features the bucket uses, such as versioning or lifecycle rules, behave as expected. The output is a pilot report listing what worked, what needed a workaround, and any S3 behavior the applications rely on that RGW handles differently.

  4. Copy buckets and run delta syncs in parallel

    Run the full rclone copy for each remaining bucket while S3 stays live as the source of truth. Pay attention to S3 egress charges, which apply to every byte read from S3, so schedule the largest copies and confirm the egress terms that apply to your account before starting. Repeat incremental syncs to pick up objects written since the last pass. Keep a log of each run with source and destination counts. The output is a copy log per bucket showing the final delta pass completed without errors.

  5. Recreate policies, lifecycle and versioning

    Reapply bucket policies, lifecycle rules and versioning settings on the Ceph side, checking each one against the inventory rather than copying configuration blindly. Ceph documents support for versioning, lifecycle, multipart uploads, ACLs and bucket policies, so confirm the exact behavior of each rule in your release before relying on it. Any Object Lock requirement must be treated as a separate control review. The output is a configuration diff for each bucket that the owners have approved.

  6. Switch application endpoints and credentials

    Change each application's endpoint URL, access keys and TLS trust settings to the Ceph RGW service, using a scheduled window per application. Rotate or retire the S3 credentials that are no longer needed, and confirm that the new keys are stored in the approved secrets store. Keep the S3 bucket read-only for a fallback period while owners confirm normal operation. The output is a cutover runbook with the exact configuration changes, the rollback steps and the named owner who approved each switch.

  7. Validate object counts and checksums

    Compare object counts, total bytes and per-object checksums between each S3 bucket and its Ceph counterpart, including noncurrent versions where versioning is enabled. Sample objects for application-level reads and check that the expected error responses occur for denied requests. Record any mismatch and resolve it before proceeding. The output is a validation report per bucket, signed by the data owner, that shows zero unexplained differences.

  8. Decommission S3 after the retention period

    Once the agreed retention period on the S3 copies has passed and no application reads from the old buckets, remove the buckets and revoke their IAM access. Check first that no Object Lock compliance retention blocks deletion, because such objects cannot be removed until their retention expires. Keep the inventory, validation reports and runbooks as the record of the move. The output is a decommission record listing each bucket, its removal date and the evidence retained for audit.

How Ceph RGW sits in the architecture and where trust boundaries fall

Start by treating RGW as a stateless front end over RADOS, not as the storage itself. Objects live in RADOS pools managed by the Ceph daemons, and the Ceph Object Gateway translates S3 requests into RADOS operations. Deployment is usually handled by cephadm, which runs the cluster as containers, bootstraps a single node with one Monitor and one Manager, and then adds hosts and services. cephadm was introduced in v15.2.0 (Octopus) and does not support older releases, so confirm that your target release is one the Ceph active releases page lists as maintained. If your platform is Kubernetes, the cephadm documentation points to Rook as the alternative deployment path, and Rook is a CNCF Graduated project. Choose one orchestrator per cluster and document which team owns upgrades for it.

The main trust boundaries sit in three places. First, intra-cluster traffic: the messenger v2 protocol uses port 3300, and its secure mode encrypts all post-authentication traffic with AES-GCM and adds integrity checks. Enable it deliberately and confirm it in your cluster configuration rather than assuming the default covers your network. Second, the RGW edge: decide where TLS terminates, whether at RGW itself or at a load balancer in front of it, and who holds the certificates. Third, identity: RGW supports Keystone and LDAP authentication, multi-factor authentication, and Open Policy Agent integration, along with the AWS STS, IAM and SNS APIs. Pick one primary identity source for application and administrator access, and map each existing AWS IAM principal to it before cutover.

The Ceph Dashboard is an administrative surface, so treat it as a separate boundary. It supports single sign-on through SAML 2.0, and through OAuth2 when cephadm runs the Management Gateway and OAuth2 Proxy services. Confirm which of these your identity provider can support before you plan the deployment. Then write down who can reach the Dashboard, RGW admin APIs and the messenger ports from each network segment, and test that the boundaries hold. Those written decisions become the evidence your security team will ask for during review.

Parallel run and cutover flow from S3 to Ceph RGW

The flow starts with the source S3 buckets that stay live throughout. An initial rclone copy moves objects into Ceph RGW, and a repeated delta sync picks up changes made during the run. Before any application switches its endpoint, object counts and checksums are compared between the two stores. Only then do applications move to the Ceph endpoint, and S3 is decommissioned after a stable period. If validation or application tests fail, traffic returns to S3 until the gap is fixed.

Phases from initial copy through validation, endpoint switch and S3 decommission, with rollback to S3.

What drives migration cost and duration

This table lists the factors that change how much effort and money a move from Amazon S3 to Ceph RGW requires, with the reason each one matters and how to keep it under control. Read it before scoping, since the largest drivers are usually data volume, egress during the copy and the number of applications that must be re-pointed.

DriverWhy it changes effortHow to reduce it
Total data volume and bucket countCopy time, verification time and cutover windows grow with the bytes and buckets moved, and each bucket needs its own policy and lifecycle review.Inventory buckets by size and access pattern, move cold archives in separate waves, and retire stale data before copying.
Object count and small filesMillions of small objects increase listing, request and checksum overhead, and slow rclone runs more than raw bytes do.Run listings and sample copies early, tune rclone transfer and checker settings, and consider batching or pruning test or temp objects.
Egress from S3 during the copyEvery byte read from S3 is billed as data transfer out under S3's published tiers, so the copy cost scales with the full dataset.Confirm current tiers on the AWS pricing page, copy within a free allowance where it applies, and schedule large transfers to avoid repeated passes.
Erasure coding and replication overheadRaw cluster capacity must exceed the migrated data by the protection overhead, so sizing and pool design must be settled before the first copy.Model usable versus raw capacity per pool, choose erasure coding profiles with the storage team, and benchmark before buying hardware.
Hardware, drives and network bondingHardware recommendations call for a dedicated drive per OSD, shared SSDs for WAL and DB on HDD OSDs, and bonded links across two switches, and gaps here delay the copy or cause rework.Procure enterprise SSDs for metadata, validate bonded links before migration, and run a load test on the cluster with realistic object sizes.
Applications and SDK integrationsEach service that uses S3 endpoints, credentials, region settings or SDK features needs code or configuration changes and its own test pass.Build an inventory of every client, including backup agents and CI jobs, and cut over one application group at a time with a rollback path.
Object Lock, versioning and event notificationsObject Lock retention, version history, lifecycle rules and event notifications must be recreated or redesigned, and Ceph's feature coverage differs from S3 in places that need confirmation.List which buckets use these features, confirm Ceph RGW behavior for each in your release, and decide whether retention must be reproduced or the data archived.
Bucket policies, IAM mapping and staff timeAccess rules are translated by hand into Ceph users and policies, and the people who run the cluster, the applications and the validation work all add hours to the plan.Document existing policies before migration, assign owners for storage, application and security tasks, and ask vendors or partners to quote the work from a written scope.

What usually goes wrong in an S3 to Ceph move

Most failed S3 to Ceph moves fail for reasons that were visible before cutover: hardware sized from assumptions, features assumed to carry over, and credentials or checksums that were never compared. Each card below names one of these risks and the check that prevents it.

Undersized pools and memory

Ceph pools need raw capacity for replication or erasure coding, not just the terabytes you copy. Ceph's hardware guidance says to size memory for peak use rather than calm periods, so a cluster that idles well during a test can still struggle during a large rclone sync or a recovery event. Ask for usable capacity after the chosen redundancy profile, then size OSD memory and network for the busiest hour you expect.

Ceph hardware guidance

Buying hardware before benchmarking

Ceph's hardware recommendations advise benchmarking before buying because no two clusters are alike. Teams that order drives and servers from a spec sheet often discover later that HDD-backed OSDs need shared SSDs for WAL and DB, or that metadata latency limits small-object throughput. Run a representative workload against a pilot cluster with your object size mix, then fix the purchase order to the measured results.

Assuming Object Lock and notifications carry over

Bucket features do not move automatically. S3 Object Lock works only in versioned buckets and offers governance and compliance retention, and Ceph's documented feature set differs from S3 in several areas, including bucket replication, which Ceph supports only across zones. Inventory every bucket for versioning, Object Lock, policies, lifecycle rules and event notifications, then confirm each one is implemented on the target before any data is copied.

S3 Object Lock docs

Credential mismatches after cutover

Applications often break after cutover because access keys, secret keys, bucket names or endpoint URLs were copied inconsistently, or because a workload still points at S3 through a cached configuration. Ceph RGW maps users and keys separately from AWS IAM, so a policy that worked in S3 may need rewriting. Keep a table of every application, its key owner and its endpoint, then run a read and write test from each service before removing the old credentials.

Silent checksum and count gaps

A copy can finish with no error and still miss objects, versions or metadata. Compare object counts and total bytes per bucket, and use checksums where the tooling supports them, because a size match alone does not prove the bytes are identical. Record the rclone command, flags and run date so a failed or partial run can be found and repeated for the affected prefixes.

rclone S3 documentation

Egress bills and early decommissioning

Copying data out of S3 incurs egress charges, and repeated test copies or re-syncs multiply them. Plan one baseline copy, then use incremental syncs for changes, and confirm the egress rate for your region with AWS before starting. Also do not delete S3 data until the retention periods of every Object Lock and compliance requirement have passed and the target has been validated, since compliance-mode retention cannot be shortened.

How the move differs by starting point

A single application with a few buckets is the smallest version of this move. The data volume and the number of access paths are usually limited, so the work centers on the application's endpoint, credentials and the features it actually calls. Most of the effort goes into confirming that the application does not depend on S3 behavior that Ceph handles differently, not into building storage infrastructure.

  • Feature inventory: List every S3 call the application makes, including multipart uploads, presigned URLs, versioning, lifecycle rules and event notifications. Ceph RGW documents support for versioning, lifecycle, multipart uploads, ACLs and bucket policies, but confirm each call against the Ceph S3 API reference.
  • Endpoint and SDK settings: Check how the SDK builds URLs. Path-style versus virtual-hosted-style addressing, region strings and custom endpoint settings often need changes.
  • Credential model: Decide whether the application keeps a long-lived access key pair or moves to a short-lived one, and where the secret is stored.
  • Replication and backup: Ceph bucket replication works across zones, not as a simple two-bucket mirror, so a single-application move still needs its own backup plan.

Confirm the feature inventory with the application owner before choosing a copy method, because one unsupported call can change the cutover date.

Questions teams ask before moving S3 to Ceph

What does a migration from Amazon S3 to Ceph cost?

The cost is mostly the hardware and the people, not a license, because the Ceph project is LGPL-licensed and has no paid edition of its own. Budget lines to request in a quote include the raw capacity needed after replication or erasure coding, servers with a dedicated drive per OSD, enterprise-class SSDs for metadata and WAL/DB, network links bonded across two switches, rack space and power, and the engineering time to build, migrate and operate the cluster. Ask for a one-time versus recurring split. Ongoing costs also include hardware refresh and support contracts if you buy them from a third party. Data transfer out of S3 is a separate line, covered below. We do not publish prices, and a quote follows from the written scope.

How long does an S3 to Ceph migration take?

Duration depends on the amount of data, the bandwidth between S3 and your data center, the number of buckets and applications that must be repointed, and how much validation the business requires. Before any copy starts, the cluster must be sized and benchmarked, because Ceph's hardware guidance advises benchmarking before buying. Plan separate phases for cluster build, pilot bucket copy, policy and lifecycle recreation, application cutover and checksum validation. Ask any provider for a phased plan with the bandwidth assumption stated, and for a written scope that names the buckets in each phase. A fixed timeline is only meaningful once that scope is agreed.

What must our team provide for the migration?

Expect to supply four things. First, storage and compute: rack space, servers or a cloud footprint that meets Ceph's hardware recommendations, and network capacity between the source and target. Second, identities: a list of IAM users, roles and access keys, plus the bucket policies they depend on, so they can be mapped to Ceph RGW users and keys. Third, application owners: people who can name every service that reads or writes each bucket, confirm endpoint changes and sign off on cutover. Fourth, a decision on retention and compliance requirements, because these determine which features must be reproduced. Request a responsibility matrix in the quote that lists each of these items against a named owner.

Can our internal team migrate to Ceph without outside help?

A capable storage or platform team can do it, but the question is capacity, not capability. Operating a Ceph cluster requires skills in cephadm, pool and placement design, OSD and monitor health, network tuning and upgrade planning, and someone must own it after go-live. Ask whether your team has run a production distributed storage system before and how many engineers can be assigned without pausing other work. Teams without that experience often use outside help for design, hardening, migration and runbooks, then take over operations. DeployOpen plans, implements, hardens, backs up, documents and supports self-hosted platforms in your infrastructure, under a fixed-scope written agreement or a retainer.

Can Ceph replace S3 Object Lock for compliance retention?

Ceph RGW supports versioning and Object Lock, so it can implement write-once-read-many retention with governance and compliance modes and legal holds, but it is not a drop-in equivalence. S3 Object Lock works only in versioned buckets, and AWS has had an independent assessment by Cohasset Associates against SEC 17a-4, CFTC and FINRA requirements. No such assessment covers your Ceph cluster. You must test the configuration, document how retention is enforced, protect the admin credentials that could bypass controls, and produce your own evidence for auditors. Check the requirements with your regulator and your assessor before deciding. The CIS Controls isolated recovery data guidance (Safeguard 11.4) is a useful reference for keeping a separate, version-controlled copy.

How should we handle the S3 egress bill during migration?

Egress is charged by AWS when data leaves S3, so copying every bucket to Ceph incurs transfer charges on the full data volume. Reduce it by copying only live data, deleting obsolete versions and expired objects first, and scheduling large copies with rclone in batches. Check whether your AWS agreement or account has any transfer allowance, and verify current rates on the AWS pricing pages rather than relying on older figures. Some teams run a dual-write period instead of a single bulk copy, which adds write costs on the S3 side but shortens the window of double storage. Ask your provider to model the egress line separately from the cluster cost in the quote.

What breaks when we switch applications from S3 to Ceph?

The most common breakages are endpoint and credential settings, unsupported features, and checksum or count mismatches. Ceph RGW documents support for versioning, lifecycle, multipart uploads, ACLs and bucket policies, and it provides bucket replication only across zones, so confirm each feature your applications use against the Ceph S3 API documentation. Test event notifications, presigned URLs, storage class assumptions and any AWS-specific SDK behavior in a staging environment. Validate object counts, sizes and checksums bucket by bucket before cutover, and keep the S3 source readable until you have confirmed the target matches.

Primary sources for the Ceph and S3 migration

Before you copy a single object, confirm each S3 feature your applications depend on against the documentation for the exact Ceph release you plan to run. The Ceph Object Gateway documents the S3 API it supports, including versioning, lifecycle, multipart uploads, ACLs and bucket policies, and it documents that bucket replication works only across zones. Read the Ceph S3 API documentation against your bucket inventory, then list every API call your clients make, such as event notifications or specific policy conditions, and mark any the gateway does not cover as a blocker or a redesign item. The Ceph active releases page decides which version you install: it lists Tentacle (20.2.x, first released November 18, 2025, estimated end of life June 1, 2027) and Squid (19.2.x, first released September 26, 2024, estimated end of life October 31, 2026). Choose a release whose support window outlasts your planned operating period, and confirm the current latest point release on that page on the day you build the cluster.

The cephadm and hardware recommendation pages turn the feature check into a capacity and operations decision. The cephadm documentation explains how the cluster is bootstrapped and expanded as containers, and it notes that cephadm arrived in v15.2.0 and does not support older releases, so confirm your target platform and whether Rook on Kubernetes fits your team better. The hardware recommendations call for a dedicated drive per OSD, WAL and DB on shared SSDs for HDD-based OSDs, enterprise-class SSDs for metadata, bonded network links across two switches, and memory sized for peak use. Use these pages to price the hardware you need after replication or erasure coding, and ask your hardware vendor to benchmark a representative workload before purchase, since the project itself says no two clusters are alike. The Amazon S3 Object Lock user guide matters if any bucket relies on write-once retention, because Object Lock works only in versioned buckets and Ceph's Object Lock behavior must be verified separately, with compliance mode and legal holds reproduced and tested on your own cluster before you retire the S3 copy.

Finally, use the rclone S3 provider documentation to set up the copy job and to confirm how your source and target endpoints behave. rclone's Amazon S3 and compatible providers page explains the provider settings that affect checksums, metadata, storage classes and multipart behavior, so test each setting on a small bucket and compare object counts and checksums before the full run. Keep in mind that the copy itself reads from S3 and incurs egress charges, so confirm current AWS pricing directly with AWS for your region and volume. Record the rclone version you tested with, because the page reflects the tool's current release, and retest after any upgrade.

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.