Migrate from Azure Blob Storage to Ceph

Moving Azure Blob containers to Ceph RGW is mainly an API and retention migration: applications move from the Blob SDK to S3, data copies with rclone, and immutability maps to Object Lock. This page plans the sequence, effort drivers and risks.

On this page

Migrate from Azure Blob Storage to Ceph: what the move involves

Moving from Azure Blob Storage to self-hosted Ceph is three pieces of work: an API change, a data copy and a retention mapping. The effort is set mainly by how many applications talk to Blob and how much data sits in archive tiers, because each application needs its SDK calls rewritten and each archived blob has to be restored before it can be copied. Ceph's RADOS Gateway (RGW) exposes an S3-compatible API rather than the Azure Blob API, so every client that uses the Blob SDK or REST calls will need an S3 client or a translation layer. Ceph's own S3 documentation lists the supported operations, and the first task is to check each one your applications actually use against that list.

The work usually falls to three groups. Platform engineers build and operate the Ceph cluster, set up RGW users and buckets, and own the copy jobs and their monitoring. Application owners rewrite storage code, test it against RGW in a non-production environment, and schedule the cutover for their services. Compliance and records staff decide which containers hold data under legal hold or time-based immutability, confirm how that retention must be reproduced, and collect the evidence that the new platform enforces it. Each group should sign off on its part before any container is switched, and the inventory of containers, tiers and immutability policies is the shared artifact that ties them together.

Plan for the retention mapping early, because it is the part most likely to change design. Azure immutability policies do not transfer directly, and the closest RGW feature is S3 Object Lock, which requires versioned buckets and offers governance and compliance retention modes. Confirm with your compliance owner which mode matches each policy, and test that deletes and overwrites are blocked as expected before any regulated data is written. Also confirm that your Ceph version is one that receives backports and security fixes, using the Ceph active releases page, since that choice affects how long the cluster stays supported after the migration.

Which Azure Blob capabilities map cleanly to Ceph RGW

This table maps each Azure Blob capability used by typical applications to its nearest Ceph RGW equivalent and marks it clean, needs rework or gap. Read it as a checklist: every row marked needs rework or gap is a design decision to settle before the first container moves. Ceph documents versioning, lifecycle, multipart uploads, ACLs and bucket policies, but Object Lock and access tier behavior must be confirmed against the Ceph release you deploy.

Azure Blob capabilityCeph RGW equivalentStatus and what to confirm
Containers and blobsBuckets and objects through the S3 APIClean. Container names map to bucket names, which have stricter naming rules; check names before copying.
Blob SDK and REST APIS3 SDKs and the S3-compatible REST APINeeds rework. Applications written against the Blob SDK must be changed to call the S3 API; this is application code work, not a storage setting.
Access tiers (hot, cool, cold, archive)No native equivalent to Azure tiers; use storage classes and lifecycle transitions you configureGap. Confirm in your release whether storage class transitions meet your needs; archive rehydration behavior does not carry over.
VersioningBucket versioning, documented by CephClean. Enable versioning before copying so version history is preserved where the migration tool supports it.
Lifecycle management rulesBucket lifecycle configuration, documented by CephNeeds rework. Rules must be rewritten in S3 lifecycle syntax and tested against your release.
SAS tokens and Azure RBACS3 access keys, bucket policies and RGW user or role controls, with IAM-style APIs where enabledNeeds rework. Shared access signatures have no direct match; plan per-application credentials and policies, and confirm STS and IAM behavior in your release.
Immutability policies and legal holdsS3 Object Lock, if enabled and confirmed for your Ceph releaseGap until confirmed. Map time-based and legal hold settings only after testing compliance mode on a non-production bucket, and confirm the audit evidence you must produce yourself.
Private endpointsNetwork isolation you design on your own VLANs, load balancers and TLS termination in front of RGWGap. Private Link has no equivalent; recreate access paths with network segmentation and confirm TLS and access logging controls.

Data, identities and integrations to rebuild

Moving from Azure Blob Storage to Ceph is more than copying bytes. The data, the way applications and people authenticate, and the services wired around the containers all need an explicit target on the Ceph side. Plan each of these as its own workstream so nothing that worked in Azure silently stops working after cutover.

Blob contents, metadata and container layout

Copy object bytes along with their content type, custom metadata and key names, and map each Azure container to a Ceph RGW bucket. Blob names with slashes are flat keys in both systems, so folder-style listings should keep working if you preserve the full key. Confirm which blobs have snapshots or versions in Azure, since Ceph versioning must be enabled on the bucket before you can reproduce version history. Archived blobs must be rehydrated in Azure before they can be read, so flag them in the inventory first.

Ceph S3 API docs

Archived blobs needing rehydration first

Blobs in the archive tier cannot be read until they are rehydrated, and that step happens in Azure, not in Ceph. Build a list of archived blobs by container and sequence their rehydration ahead of the copy so the migration job does not stall on unreadable objects. Ask your Azure administrator to confirm the rehydration priority and the expected completion window for your account, because these depend on your configuration and the tier pricing in effect.

Storage classes guide

SAS tokens and Entra ID roles become RGW users

Azure SAS tokens are time-limited, scoped grants, and Entra ID roles control who can manage containers. In Ceph RGW, the equivalent is a user with S3 access and secret keys, plus bucket policies that define who can read or write each bucket. Inventory every SAS-issuing service and every role assignment, then decide which become long-lived keys, which become bucket policies, and which should be replaced by short-lived credentials from the STS API. Confirm the policy grammar against the Ceph documentation before you write rules.

Object Gateway docs

Identity sources: Keystone, LDAP and OPA

If your people sign in through a central directory, RGW can authenticate users against documented sources such as Keystone or LDAP instead of managing every key by hand. Open Policy Agent integration is also documented and can express access decisions as policy code. Choose one identity source per environment, test that revoked staff lose access, and confirm that your directory can supply the group attributes you intend to map. Entra ID itself is not listed as a supplied RGW source, so confirm with your identity team how it will federate.

Object Gateway docs

Event Grid triggers and Azure Functions

Blob events from Event Grid that start Azure Functions, queues or downstream jobs have no direct equivalent in Ceph. List each event subscription and the code it calls, then choose a replacement such as bucket notifications, a message broker or a polling worker, and confirm which of these your Ceph release supports. Test the replacement with a copy of real object events before you switch off the Azure trigger, because a missed event produces silent data gaps.

Backup jobs, CDN origins and Object Lock

Backup tools, CDN origins and immutability settings point at container URLs, so each one needs a new endpoint, credentials and a tested restore. Confirm that backup destinations in your recovery plan remain isolated from production, which matches the isolated recovery data expectation in CIS Control 11. For immutability, Ceph RGW Object Lock depends on versioned buckets, so confirm the retention mode you plan to use before you rely on it for regulated data.

CIS Control 11 specification

How to sequence the cutover container by container

The sequence moves each Azure Blob container through inventory, a tested Ceph target, a non-critical pilot, a dual-write period and a per-application cutover, so that every container has a verified copy and a rollback path before its source is retired.

  1. Inventory accounts, containers, tiers and immutability

    List every storage account, container, blob count, total size, access tier and immutability or legal hold setting, and record which applications read and write each container. Include archive-tier blobs, because they need rehydration before they can be copied. The output is a signed inventory that assigns each container an owner, a migration wave and a target bucket name on Ceph. Done when the application owners have confirmed their container list in writing.

  2. Stand up the Ceph cluster and RGW

    Deploy a cluster on the Squid or Tentacle release line using cephadm, or Rook if the platform runs on Kubernetes, then enable the Object Gateway and create the users, buckets and versioning or Object Lock settings that match the inventory. The platform team runs this step, and the cluster should follow the hardware and network guidance for OSDs, metadata drives and bonded links. Done when a test bucket accepts multipart uploads and a test object survives a simulated node restart.

  3. Pilot one non-critical container

    Choose a container with low business impact and no archived blobs, then copy it with rclone's Azure Blob backend into a matching RGW bucket. Compare object counts, sizes and checksums between source and destination, and point a test copy of one application at the S3 endpoint. The output is a pilot report listing any differences, permission gaps or metadata losses, with fixes applied before the next wave. Done when the checksum comparison is clean and the test application reads and writes correctly.

  4. Run the dual-write parallel period

    For each migrating container, change the application to write new objects to both Azure Blob and the Ceph bucket while reads still come from Azure. Schedule incremental syncs so older objects stay aligned, and monitor failed writes with alerting on both sides. The owner signs off when a reconciliation run shows the two copies match. The length of this period depends on the application's write volume and the team's confidence, so confirm the exit criteria with the application owner in advance.

  5. Cut over reads and writes per application

    Switch each application's read and write endpoints to RGW in a single change window, after a final incremental sync and a checksum comparison for the container. Keep the Azure container in read-only mode so that a rollback remains possible. The output is a cutover record per application with the time of the switch, the sync result and the named approver. Done when the application runs on Ceph for a monitored period and no reconciliation differences remain.

  6. Verify immutability and audit evidence on Ceph

    Confirm that each container's retention requirement is reproduced on the Ceph side, using Object Lock in the mode your policy calls for, and that legal holds and audit logs exist for the new location. Record the settings and the evidence your compliance team needs, since the Azure policy history will not transfer automatically. Done when the compliance owner accepts the Ceph retention configuration in writing.

  7. Decommission after retention and rollback windows close

    Once the retention periods and rollback windows agreed in the plan have ended, and no application references the Azure container, remove the container and its storage account resources. Before deletion, confirm any early deletion charges and final outbound transfer costs with the Azure billing records for the source. The output is a decommission record listing each deleted container, the retained evidence and the final billing reconciliation. Done when the record is filed and the source is confirmed unused.

Rewriting applications from the Blob SDK to S3

The application rewrite is usually the largest effort item in this migration, and it has to be scoped per application before anyone commits to a cutover date. Every call that uses the Azure Blob SDK, whether through BlobServiceClient, BlobContainerClient or BlobClient, needs an equivalent in an S3 SDK such as boto3, the AWS SDK for Java or the AWS SDK for .NET. The operations map reasonably well (put, get, list, delete, copy and metadata), but the mapping is not one-to-one. List pagination, conditional requests, blob versions and snapshots, lease semantics and the way metadata keys are returned all differ, so each application needs a list of the Blob calls it makes and a confirmed S3 equivalent for each one. Ask each application owner for that list before estimating the work.

Authentication changes in a way that affects deployment as well as code. Applications that use Entra ID tokens through managed identities or service principals, or that hand out shared access signature (SAS) URLs, must move to RGW users and their S3 access keys, or to presigned URLs generated by the storage service. Access keys are created and scoped through RGW's user and bucket policy model, so your secrets handling, rotation process and bucket policies need to be designed before the first application switches over. Ceph's documentation describes the S3 API surface, including bucket policies and versioning, and that is the reference your platform team should confirm against for each feature an application depends on. Multipart uploads are supported, but part sizes, abort rules for incomplete uploads and retry behavior should be tested with large files from your own workloads rather than assumed.

To limit the rewrite to one place, keep a thin storage abstraction in each application that exposes put, get, list, delete and presigned URL operations, with the Blob and S3 implementations behind the same interface. This lets teams move one container or one service at a time and roll back a single component without a full release. Keep metadata handling explicit in that layer, because Blob metadata and S3 user metadata have different key rules and size limits that you should verify for your versions. Remove the abstraction once the last Blob call is gone, and make that removal a tracked task so it does not become permanent. Confirm the rewrite estimate, the test plan and the abstraction design with each application team in writing before sequencing the cutover.

How the migration differs by starting point

A small estate has a few containers, mostly hot data and no archive tier. Sequencing can stay simple: move non-production copies first, then one production container at a time, and switch the application endpoint only after the copy verifies. Most of the work sits in the application code, because Blob SDK calls must become S3 calls against the Ceph S3 API.

  • Application change sets the pace: Blob SDK calls are replaced with S3 calls, so the code change usually takes longer than the data copy.
  • Copy with rclone: Use the Azure Blob backend to read and the S3 backend to write to RGW, then compare object counts, sizes and checksums for each container.
  • Cut over one container at a time: Run a final incremental sync, point the application at the RGW endpoint, and keep the Azure container read-only for a rollback window you set in advance.
  • Decide on versioning early: Enable versioning only if the application or recovery plan needs it, because Object Lock later requires versioned buckets.
  • Keep the source until validation passes: Delete nothing in Azure until reads from the application succeed against RGW.

Confirm which Ceph release line you will run and its end-of-life date on the Ceph releases page before you set the cutover plan.

What drives migration cost and duration

This table lists the main drivers of cost and elapsed time when moving Blob containers to Ceph RGW, with what each driver means and how to keep it under control. Read the rows as a checklist to run during scoping, since most of the variance comes from data shape, application count and archived data rather than from the Ceph software itself.

DriverWhy it changes cost or effortHow to keep it down
Data volume and object countEgress and transfer time scale with bytes, while request charges and copy time scale with object count. Many small blobs slow copies more than their total size suggests.Inventory accounts, containers and blob counts before scoping. Ask Azure for the egress figure for your region and tier, and batch small objects where the application allows.
Applications using the Blob SDKEach application that calls the Azure Blob SDK needs its code moved to the S3 API or a compatible client, with its own test and release cycle.List every consumer, including backup jobs, ETL pipelines and third-party tools. Move the lowest-risk applications first and keep a shared S3 client library.
Archived and cool-tier dataArchive blobs must be rehydrated before they can be read or copied, which adds retrieval charges and waiting time. Cool-tier blobs can carry early deletion charges if removed before their minimum period.Identify archive and cool data early. Rehydrate in planned batches and confirm the early deletion terms for each tier with Azure before deleting anything.
Immutability and legal hold scopeTime-based retention and legal holds must be reproduced as Ceph RGW Object Lock settings on a versioned bucket. Scope errors can delete protected data or block cleanup.Map each policy to its container and retention mode. Confirm with compliance owners which holds must carry over, and test Object Lock behavior on a sample bucket first.
Ceph hardware and benchmarkingDrive layout, WAL and DB placement on SSDs, memory sized for peak use and network bonding across two switches all add recurring hardware cost. Undersized clusters extend the parallel run.Benchmark representative workloads before buying. Ask vendors for hardware quotes built from the Ceph hardware recommendations, and reuse existing servers where they meet the requirements.
Staff skillsRunning cephadm clusters, RGW users, bucket policies and upgrades requires operators who know Ceph. Gaps show up as slow incident response and delayed cutover.Train at least two operators before cutover. Ask for a support contract or retainer with defined response terms if internal coverage is thin.
Parallel-run periodKeeping Azure and Ceph in sync while applications switch adds duplicate storage, transfer and operator time. Length depends on how many containers and consumers cut over one at a time.Sequence cutover container by container, with a rollback path for each. Shorten the run by freezing writes per container during the final sync.
Recurring operating costsAfter migration, hardware depreciation, power, data center space, staff time and support continue each year, while Azure storage and transaction charges stop.Ask for a total cost estimate covering hardware, staff and support over the planned life of the cluster, and compare it with Azure billing for the same data.

How data and traffic move during the parallel run

The diagram starts at the Azure Blob containers that still serve production. rclone reads them through its Azure Blob backend and writes each container into a Ceph RGW bucket, so the copy runs outside the applications. Applications move to the S3 endpoint one container at a time, and both paths stay live until reads and writes on Ceph are verified. The trust boundary around the cluster shows where your own operators and keys take over, so check who can reach the RGW endpoint and which credentials rclone uses.

Copy path and per-container application cutover during the parallel run.

What usually goes wrong and how to prevent it

Most failed Azure Blob to Ceph migrations break on immutability, cost surprises, hard-coded endpoints or restores nobody tested. Each card below names one of these risks and the check that prevents it before the cutover container is switched.

Immutability policies that do not map exactly

Azure immutable blob policies and legal holds do not transfer as settings. Ceph RGW Object Lock needs its own retention mode, period and bucket configuration, and existing blobs will not inherit them automatically. Before copying, list every container with a time-based or legal hold policy and decide, per container, whether the retention is re-applied at write time in Ceph. Confirm with your compliance owner which retention mode is required, then document the mapping as audit evidence.

Object Lock docs

Missing Object Lock prerequisites

Object Lock only works in versioned buckets, so a bucket created without versioning cannot enforce retention later. Enable versioning on the target bucket before the first write, and set Object Lock at creation time so retention applies to every object from the start. Build a pre-cutover check that fails the migration job if a target bucket lacks versioning or the lock configuration. Confirm the exact Ceph release behavior for Object Lock in your chosen version before relying on it.

Hard-coded Blob endpoints in applications

Applications using the Azure Blob SDK, account URLs such as blob.core.windows.net, or SAS tokens will not work against RGW without code changes. Search configuration files, container images, CI variables and infrastructure templates for Blob endpoints and SAS strings. Rewrite each call to the S3 API and test it against a non-production RGW bucket. Keep a list of applications that cannot be changed in the first wave so they stay on the old path until their owners agree a date.

Early deletion and rehydration charges

Archived and cool-tier blobs carry minimum retention and rehydration charges on the Azure side, and copying them out can trigger those costs before the data reaches Ceph. Inventory blobs by tier and last-modified date, then rehydrate archive data in a planned window, since rehydration can take up to 15 hours. Ask Azure billing for the early deletion and retrieval amounts that apply to your accounts so the cost model reflects your actual tiers, not list estimates.

Choosing Garage or SeaweedFS for lock requirements

Garage does not support object versioning, object locking or server-side encryption, so it cannot host a WORM retention workload. SeaweedFS is a different product with different lock and retention behavior that must be verified separately. If any container needs locked retention, shortlist Ceph RGW for that data and confirm the lock behavior in a test bucket before choosing a store for the whole estate.

Restores that were never tested

A copy that finishes without errors is not proof of recovery. Restore a sample of blobs from each container into a separate bucket, compare object counts, sizes and checksums against the Azure inventory, and confirm that versions and retention metadata survived. Repeat the restore after the cutover window closes, because the source of truth changes at that point. Record the results with dates and owners, since they will be part of your recovery evidence under CIS Controls Safeguard 11.4 for isolated recovery data.

CIS Control 11 spec

Questions buyers ask before moving from Azure Blob to Ceph

How much effort does moving from Azure Blob to Ceph take?

Effort is driven mostly by the number of applications that call the Blob SDK, the number of containers and the amount of data, not by the copy itself. Each application that uses the Blob SDK must be rewritten to the S3 API or to another access path, and each rewrite needs its own testing. Copying bytes with rclone's Azure Blob backend is usually the smaller part of the work. The Ceph side adds its own effort: sizing and building the cluster, configuring RGW, and setting up monitoring and backups. Ask your team to inventory the applications and their SDK versions before anyone requests a quote, because that inventory sets most of the scope.

How long does an Azure Blob to Ceph migration take?

Duration depends on the data volume, the bandwidth available between Azure and your Ceph cluster, the number of containers, and how many applications must be cut over. Archived blobs add time because they must be rehydrated before they can be read, and Azure documents that rehydration can take up to 15 hours per the exit planning guidance. Cutover is usually sequenced container by container, so the schedule depends on how many applications can tolerate a switch in a given window. Your timeline should come from a written scope, a measured transfer rate in your own network, and a test copy of representative containers.

What does the client team need to provide for the migration?

The client team needs to supply knowledge of its own environment and decisions that only it can make. Expect to provide an inventory of Azure storage accounts, containers, access tiers and immutability policies, a list of applications and owners, access to the Azure subscription for read and copy operations, and the hardware or cloud target for Ceph. Security and compliance staff must confirm where data may reside, which encryption and key management rules apply, and how access is granted through identity systems. Application owners must schedule test windows and approve cutover. Confirm these responsibilities in the written scope.

Can our own engineers migrate from Azure Blob to Ceph without outside help?

Yes, a team with storage, Linux and Kubernetes or cephadm experience can carry out the work, but it should weigh the skills and capacity it has. The copy tooling is open source. rclone supports Azure Blob as a source and S3-compatible targets such as Ceph RGW, so the transfer itself is straightforward for a capable engineer. The harder parts are operating a Ceph cluster, which cephadm manages as containers, and rewriting applications correctly. Ceph's hardware recommendations also call for benchmarking before buying hardware. Your team should decide whether it has the time and on-call coverage for a production cluster before committing.

How do we handle immutable or archived blobs during the move?

Archived blobs must be rehydrated to an online tier before they can be copied, so plan that step first and budget for the wait. For immutability, do not assume a policy copies automatically. Record each container's time-based retention or legal hold settings, decide whether the data must remain locked after the move, and confirm that the target preserves that requirement. Check early deletion charges for cool, cold and archive blobs in your Azure billing terms, because deleting data before its minimum duration can incur fees. Verify checksums on the copied objects before you delete anything in Azure.

How does Ceph RGW Object Lock compare with Azure immutability?

Ceph RGW Object Lock provides write-once-read-many behavior similar in purpose to Azure immutable storage, but the settings and evidence differ and must be mapped by hand. Ceph RGW documents S3 Object Lock support, and Amazon's documentation describes the S3 model with governance and compliance retention modes and legal holds, which requires versioned buckets. Confirm which retention modes Ceph RGW exposes in your release, how retention periods translate from Azure policies, and whether legal holds are supported in the way your compliance team expects. Azure's validation by an independent assessor does not transfer to your cluster, so you must produce your own evidence of configuration and retention behavior.

Does DeployOpen handle the migration and the compliance evidence?

DeployOpen plans, implements, integrates, hardens, backs up, documents and supports self-hosted open-source platforms inside your own infrastructure, and most engagements are fixed-scope with scope, deliverables and timelines agreed in writing before work starts. For storage migrations, that can cover the Ceph deployment, the copy plan, application integration and documentation. DeployOpen prepares systems, controls and evidence for compliance assessments, but it does not issue audit reports, attestations or certifications. Independent auditors and certification bodies perform those assessments. Ask for a written quote that lists the scope, deliverables and responsibilities before deciding.

How DeployOpen scopes and runs the migration

DeployOpen plans, implements and hardens the self-hosted Ceph environment inside your own infrastructure, whether that is your cloud accounts, a data center or an air-gapped network. The work covers the Ceph cluster itself, deployed with cephadm or Rook depending on whether you run Kubernetes, the Ceph Object Gateway endpoints that applications will call, bucket layout and versioning, user and key management, and the Dashboard access path. Engagements are fixed-scope: the container inventory, the target cluster topology, the applications being rewritten, the copy waves and the cutover criteria are written down and agreed before work starts, so your teams know what is delivered and what is not.

A scoping session typically needs answers to a few questions that only your organization can supply: which Azure containers hold regulated records, which of them carry immutability policies, how much archived data must be rehydrated before the copy begins, what outbound transfer and early deletion charges have already been estimated by your Azure account team, and who on your side owns the Ceph cluster after handover. Those answers decide the hardware specification, the replication or erasure coding layout and the sequencing. DeployOpen does not issue audit reports, attestations or certifications. It prepares the controls, configuration exports, access records, backup evidence and runbooks that your auditor or certification body will examine, and it tells you early which items they will ask for that must be produced by your own staff.

Ongoing support is a separate, optional retainer. Once the cluster is in production, it covers upgrades between Ceph releases, backup and restore testing, capacity reviews, and periodic security testing of the RGW endpoints. Ask any provider, DeployOpen included, to state in the written scope which of these activities are in the retainer and which are charged per change, and how the handover of operational responsibility is documented.

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.