Moving Orthanc storage from local disk to S3 or Azure Blob

Moving an existing Orthanc archive's files to S3 or Azure Blob is a controlled copy, switch and verification exercise, not a server reinstall. The work turns on which storage plugin you use, whether you run hybrid during the move, and how you prove every file landed.

On this page

What moving Orthanc storage to object storage involves

A team running Orthanc with DICOM files on local disk moves them to S3 or Azure Blob as a planned sequence: copy the files, switch the server to read and write the new store, then verify that every file arrived intact and is retrievable. The effort is driven by three things: the size of the archive, the object storage plugin chosen, and how much downtime the clinical workflows can tolerate. No price or duration is given here because none has been supplied for this move, so the figures the team needs should come from a written scope agreed before work starts.

The Orthanc core is licensed under GPLv3 or later, and the official object storage plugins for S3, Azure and Google Cloud are the documented targets for this kind of move. Teams should confirm the license terms of each plugin they intend to run, since the Orthanc licensing FAQ distinguishes the core from the scalability and cloud plugins. Before choosing a target, check which plugin version matches the Orthanc release in production, and confirm that the cloud account, bucket or container, network path and credentials are approved by the security team. Those approvals often take longer than the file copy itself.

Effort is set by the written scope, which should name the source and target storage areas, the cutover approach, the downtime window, the verification method and the rollback path. A quote should separate the one-time work of configuration, copying and testing from any recurring costs such as storage, egress and support, and should state which of those costs the client pays directly to the cloud provider. Ask for the scope in writing before the archive is touched.

What maps cleanly from local disk storage and what does not

This table compares how local disk features in an Orthanc archive have object storage equivalents, and where they do not. Read each row as a question to answer before cutover: what the file layout becomes, what replaces path-based access, and which backup and encryption habits carry over. Confirm the storage plugin's layout and deletion behavior against the documentation for your Orthanc version before relying on any row.

Storage featureLocal disk behaviorObject storage equivalent and migration notes
File layoutFiles sit in folders that Orthanc arranges by its own storage layout, so an administrator can locate a file by path.Files become keys with prefixes in a bucket or container. Confirm how the plugin builds keys for your version, and do not rename or reorganize them by hand.
Direct file access by pathStaff or scripts can open, copy or inspect a DICOM file directly from the file system.Access goes through the S3 or Azure API with credentials. Scripts that read paths must be rewritten, and the plugin's own API is the supported route.
Backups by copying directoriesA copy of the storage folder plus the database captures the archive.Backups rely on bucket replication, snapshots or versioning. A plain folder copy does not reproduce object metadata, so plan a separate backup and restore test.
Filesystem permissionsOperating system users and groups restrict who can read or change files.Access is controlled by IAM roles, bucket policies or Azure role assignments. Confirm least-privilege rules for the Orthanc service identity and for any administrators.
API credentialsThe Orthanc service account needs only operating system rights on the folder.The service needs stored keys, access tokens or managed identities. Decide how they are issued, rotated and kept out of configuration files.
Disk-level encryptionFull-disk or volume encryption protects data at rest under the host's control.Provider-side server encryption protects stored objects, but the provider holds the keys unless you use customer-managed keys. Client-side encryption is a separate decision that needs its own key management plan.
Versioning and lifecycle rulesFiles change only when Orthanc or an administrator deletes or overwrites them.Versioning can keep old object versions, and lifecycle rules can expire or move them. Verify that they do not conflict with Orthanc deletion behavior, and confirm the plugin's deletion handling for your version.
Deletion behaviorDeleting a study removes the file from the folder right away.Deletion in the bucket may be soft if versioning is on, so storage use may not fall as expected. Confirm with the plugin documentation how Orthanc deletes objects.

Which documented Orthanc storage plugins a move can use

A move from local disk to object storage touches three separate things: where the DICOM files live, where the index lives, and how the two stay consistent during the switch. The cards below cover the official plugins that matter for that work and the checks to run against the Orthanc version you actually operate.

S3 object storage plugin

The official S3 plugin lets Orthanc keep DICOM files in an S3-compatible bucket instead of a local storage folder. Confirm in the plugin documentation which Orthanc core version it targets, how it authenticates (keys, instance roles or endpoint settings), and whether it supports the endpoint you plan to use, including self-hosted S3-compatible services. Test a single study end to end before changing the production storage setting, because the plugin's configuration keys determine where every new file is written.

Plugins list

Azure Blob storage plugin

The official Azure plugin writes DICOM files to Azure Blob Storage. Check the plugin documentation for the account, container and credential options it accepts, and confirm that your identity model fits them, especially if your organization requires managed identities rather than shared keys. Azure storage is a separate target from S3, so a team that chooses one should not assume the other's configuration keys or behavior apply.

Plugins list

Google Cloud storage plugin

The official Google Cloud plugin is the third object storage option. It only matters if your hosting or data governance already runs on Google Cloud, since the cost and access model differ from S3 and Azure. Confirm the plugin's supported Orthanc versions and service account setup in the documentation, and record which bucket and project each deployment writes to so that a later migration does not depend on memory.

Plugins list

PostgreSQL database plugin

Object storage moves the DICOM files, but Orthanc still needs its index to know which files belong to which studies. If the archive is large or the index is still in SQLite, the PostgreSQL plugin is the database route the Orthanc documentation recommends for large datasets. Treat the index move as a separate project with its own sequencing, and confirm that the plugin version matches the Orthanc core version before changing storage.

Instances before a database move
Several hundred thousand
Scalability FAQ

DICOMweb plugin

The DICOMweb plugin changes how viewers and other systems read studies over web protocols. It does not move files between storage back ends, so it is a separate concern from the storage question. Confirm that viewers and integrations keep working after the storage change by testing retrieval through the same DICOMweb endpoints your users rely on, and check the plugin documentation for any settings tied to the storage location.

Plugins list

Advanced Storage plugin for hybrid moves

The Advanced Storage plugin is the route to evaluate if you need files in both places during a transition, or need to copy existing files without re-ingesting them. Its documentation is the authority on whether it supports those workflows in your Orthanc version, so confirm that before planning around it. Do not assume hybrid or copy behavior until the documentation and a test on a copy of your archive show it.

Plugins list

How Orthanc reads and writes files during a hybrid move

The diagram starts at the REST API and DICOM listener, both of which reach Orthanc core. Core records every instance in the index database and, in hybrid mode, a decision point sends new instances either to the local store or to the object storage container. A copy job uploads existing files across the trust boundary and records their new locations in the index. Before cutover, check that every index record has a matching object in the target.

Read and write paths in hybrid mode, with the trust boundary and verification step.

Choosing S3, Azure Blob or a self-hosted S3-compatible target

Amazon S3, and managed services that expose the same API, are the option most often chosen when the Orthanc host already runs in AWS. The storage is operated by the cloud provider, so your team owns bucket design, access policy, encryption settings, lifecycle rules and cost monitoring rather than disk replacement or storage software upgrades. Confirm with the Orthanc S3 plugin documentation which S3 features it depends on before you commit to a service that only mimics part of the API.

  • Bucket layout: Decide whether one bucket holds the whole archive or whether separate buckets serve different sites or retention classes, and document the naming.
  • Access model: Use a dedicated IAM role for the Orthanc host with the smallest set of bucket actions it needs, and keep administrative credentials out of the Orthanc configuration.
  • Network path: Choose between public endpoints with TLS and private endpoints inside your virtual network, and check which one your hospital network rules allow.
  • Recurring charges: Storage, requests and data transfer out are billed monthly, so ask the vendor for a cost estimate based on your study volume and retrieval pattern.
  • Exit path: Confirm that you can copy objects out in bulk if you later change provider.

Before committing, confirm the exact endpoint, region and API compatibility with the plugin version you will run.

Client-side encryption decisions before the first object is written

Decide the encryption model before the first object lands in the bucket, because changing it later means rewriting or re-keying every existing file. There are three realistic options: rely on provider-side encryption at rest, encrypt objects in Orthanc or at the storage layer before upload, or encrypt with keys held in a separate key service that your security team controls. Each option answers a different question about who holds the keys. With provider-side encryption, the cloud provider manages keys unless you bring your own, so confirm with the provider which key model applies to your account and who can revoke access. With client-side encryption, your team holds the keys and is responsible for their backup, rotation and retirement.

Ask what happens to existing objects when a key changes. Objects written under an old key stay readable only while that key remains available, so a rotation plan must say whether files are re-encrypted in place, whether old keys are kept for the full retention period, and who approves key destruction. Restores depend on the same key availability. A disaster recovery test should restore a sample of studies into a clean environment with the key service reachable only from the recovery network, because a restore that works only while the original key service is up does not prove recovery. Record the key owner, the rotation schedule and the restore runbook before the migration starts.

Encryption also interacts with how the plugin reads and writes files. Whether the storage plugin can work with encrypted objects, how it handles DICOM transfer syntax on the way in and out, and whether checksums or size checks still match after encryption are behavior you must confirm in the plugin documentation for your Orthanc version, not assume. Do not rely on any specific encryption feature of the plugin until your team has tested it on a copy of the archive. Take the results to your compliance owner, who should sign off on the chosen model against your obligations under HIPAA or GDPR. Our Orthanc security and compliance reference is a useful starting point for those access and encryption questions.

Sequence from storage inventory to cutover and decommission

This sequence moves an Orthanc archive's files from local disk to S3 or Azure Blob in verified stages, so every file is confirmed in the target before the local copy is touched. Each step ends with a check the owner can sign off, and the rollback point stays available until the cutover is accepted.

  1. Inventory files, index records and sizes

    DeployOpen works with the client's Orthanc administrators to record the storage layout on the current host: the number of DICOM files, total bytes, the index record count for instances and studies, the directory structure, and any compression or encryption already applied. The client's infrastructure team confirms free disk space, backup coverage and who can read the host. The step is done when the inventory is recorded and the file count matches the index count, or the difference is explained. Any mismatch found here is resolved before the pilot begins.

  2. Pilot a small subset in non-production

    Copy a small, representative subset of the archive into a non-production Orthanc instance and point it at an S3 or Azure Blob test bucket or container. The team stores, reads back and deletes a few studies, then checks that the object keys, sizes and retrieval behavior match what the target configuration expects. The client's cloud team provides the test account, network path and access policy for the object store. The pilot is complete when the subset round-trips with no errors and the team has written down the configuration that worked.

  3. Enable hybrid mode for new instances

    In production, enable the object storage plugin in hybrid mode so that newly received instances are written to the target while existing files stay on local disk and remain readable. Orthanc needs both paths available during this period, so the infrastructure team confirms credentials, endpoint reachability and the rotation plan for access keys. Operators then confirm that a new study ingested after the change can be retrieved and that an older study still opens from local disk. Hybrid mode is the stage where routine operations continue without a planned downtime window.

  4. Bulk copy existing files with logging

    Copy the existing files from local disk to the object store in batches, with every transfer logged by file path, object key and outcome. The copy runs against the production host, so the team schedules the heaviest batches for low-traffic periods and watches disk I/O and network throughput. The client's infrastructure team provides the transfer host, bandwidth allowance and the log storage location. The step is done when the transfer log accounts for every file, including any failures that are retried and resolved.

  5. Verify each file against index records

    Compare every object in the target with its index record and the source file, using counts, sizes and checksums where the storage layout allows them. Missing or mismatched files are listed individually and copied again, and the team reruns the comparison until the totals agree. Checksum generation on a large archive takes significant time and I/O, so the team agrees on which checks run on every file and which run on a sample. The step is done when a signed verification report shows zero unexplained differences between the index, the local files and the target.

  6. Run a parallel period with both paths tested

    Keep the local files and the object store both available while read traffic is exercised against each path. Viewers and modalities retrieve a sample of studies from old and new storage, and the team checks that content, metadata and response behavior match. Operators also review error logs and object store request metrics for throttling or permission problems. The parallel period ends when the client's clinical and IT owners agree that retrieval is stable on both paths, and the owners record the agreed end date.

  7. Cut over with a documented rollback point

    Switch Orthanc to read and write from object storage as the primary store, with a written rollback procedure that restores the local file path in the configuration. The cutover is the planned downtime window, and the client should confirm its length with the owners of the clinical systems that depend on the archive. The local copy remains intact and the team takes a backup or snapshot at the moment of switching. The step is done when post-cutover checks pass and the rollback steps have been tested on paper or in the pilot environment.

  8. Decommission the local copy after retention

    Remove the local files only after the retention period set by the data owner has passed and the rollback option is no longer needed. The owner, not DeployOpen, decides the length of that period, and it should reflect their legal, clinical and backup obligations. Before deletion, the team reruns the verification report against the target and archives the logs from every earlier step. The step is done when the owner signs the decommission record and the local copy is removed under change control.

What drives the cost and duration of the move

This table shows each factor that changes the effort and spend of moving an Orthanc archive's files to object storage, and the effect it has. Read it as a checklist to fill in before asking for a quote, since most rows change both the one-time work and the recurring bill. The main takeaway is that archive size, the number of Orthanc instances sharing storage, and the verification depth usually set the duration more than the choice of cloud provider.

DriverWhy it changes cost or effortHow to keep it down
Total archive size and file countCopy time, transfer charges and verification scope grow with bytes and with the number of files, not just the number of studiesMeasure bytes and file counts per storage area before planning, and sequence the move by age or modality
Number of instances and studiesEach DICOM instance is indexed and checked individually, so a high instance count adds time even when total size is modestAsk the provider to report instance counts from the Orthanc index, not from folder listings
Bandwidth and egress from the Orthanc hostUpload speed sets the copy window, and any reads back from the source or target may be billed as egress by the cloud providerConfirm the link capacity between the host and the target region, and check the provider's egress terms for your account
Number of Orthanc instances sharing storageEvery instance must read the same files during and after the move, so configuration changes and cutover checks multiply with each nodePlan one cutover window for all nodes and confirm each node's storage settings before switching
Encryption and key managementClient-side encryption needs key generation, custody, rotation and recovery procedures, and lost keys make files unreadableDecide the key model before the pilot and budget for key custody and recovery tests
Change rate during the copyStudies received during the copy must be captured, which can require a second pass or a hybrid periodAgree on a freeze window or a delta pass, and state how new uploads are routed during the move
Verification depthChecking that every file landed, with matching checksums or byte counts, costs more than a spot check of sample studiesAsk for a defined method: full inventory comparison, sampled checksums, or both, with the report format agreed up front
Modalities and viewers that must keep workingEach connected modality, viewer and DICOMweb client needs testing against the new storage path before cutoverList every connected system with its protocol and owner, and test each one in the pilot
Compliance evidence requested by auditorsEvidence such as move logs, checksum reports, key procedures and access records is extra work to collect and keepAsk the auditor which records they expect before the work starts, and store them as the move runs

What usually goes wrong when files land in object storage

Most failures in this move come from a gap between what Orthanc's index says and what the bucket holds, or from settings that look harmless until data is needed. Each risk below maps to a step in the sequence: a verification run, a permission review, a restore test and a named owner for the storage target.

Index and object drift in hybrid mode

While hybrid mode runs, new instances may be written to one side while older files move to the other. If the move finishes without a per-file comparison, the index can point to objects that are missing or unreadable. Before cutover, run a verification pass that checks every indexed instance against the target and counts studies and instances on both sides. Confirm that each copied file is recorded as present in the target, not just uploaded. Keep the verification output with the change record so the count can be repeated after any later sync.

Orthanc plugins

Credentials with the wrong permissions

An Orthanc service account that can delete or list the whole account is a larger exposure than the archive needs. An account that lacks write or read rights on the bucket will fail partway through a move, often after many files have already transferred. Run a permission review before the first copy, listing the exact actions Orthanc and the migration job need on the bucket or container and nothing else. Store the keys in your secrets manager, not in the Orthanc configuration file, and rotate them after the move.

Lifecycle and versioning rules deleting data

Lifecycle rules that expire objects after a set age, or that move them to colder tiers, can remove or delay access to DICOM files that a clinic still needs. Versioning and soft-delete settings also change what a restore returns. Ask the storage team to list every lifecycle rule on the target before the move and to confirm which prefixes they apply to. Then run a restore test on a sample of studies from different ages to confirm that the files come back intact.

Egress and retrieval costs

Writing objects into a cloud bucket usually costs less than reading them back out, and a reversal, a rollback or a large viewer load can generate significant download charges. Storage cost is only one line of the bill. Ask the cloud team for a written estimate that covers stored volume, request charges and data transfer out for a rollback scenario. Plan the verification and restore tests so they read a sample rather than the whole archive, and record the actual transfer volume so the next budget uses real numbers.

Self-hosted target without an active maintainer

Choosing a self-hosted S3-compatible target means someone must own its patching, certificates and recovery. The MinIO community repositories are archived and read-only, and the last tagged community release was published on October 16, 2025. Its support is best effort through GitHub and Slack, and SLA-backed support is available only through AIStor. Before you select the target, name an owner who accepts upgrades, security fixes and an exit plan, and check the current project status with the vendor.

Last community release
Oct 16, 2025
MinIO README

Lost encryption keys

If Orthanc or the migration job encrypts files on the client side, the archive is unreadable without the matching key. Losing a key, or keeping the only copy beside the bucket it protects, turns a storage problem into permanent data loss. Decide who holds the keys, where they are escrowed and how they are rotated before the first file moves. Test the restore path with the keys alone, on a non-production copy, and record the result. Confirm that the key custodian is named in the written owner list for the storage target.

Questions buyers ask before moving Orthanc files to S3 or Azure Blob

How long does moving Orthanc files to object storage take?

No duration can be given from the supplied facts, so the honest answer is that the time is set by the volume of data and the transfer path, not by Orthanc itself. The main drivers are the total size of the DICOM file store, the number of instances (file count matters as much as bytes for per-object overhead), the bandwidth between the current storage and the cloud region, and whether the archive must stay in clinical use during the copy. Teams usually plan a trial move on a representative subset first, then measure throughput before committing to a window. Ask the team to measure transfer rate on your own network and to state the cutover method in the written scope.

What does the cost of moving Orthanc storage depend on?

The cost has three parts: the one-time work of designing, configuring and verifying the move, the one-time data transfer and temporary double storage during the copy, and the recurring storage, request and egress charges from the cloud provider after the move. Labor for planning, plugin configuration, scripting the transfer and verification is the largest variable and depends on archive size, the number of storage layouts in use and how much testing your change process requires. Recurring costs depend on how much you store, how often files are read back, and whether you keep local copies. Ask any partner for a quote built from a written scope that lists these components separately, and confirm current pricing directly with your cloud provider.

Can our own team move Orthanc files to S3 or Azure Blob without a partner?

Often yes, if your team already runs Orthanc, understands its storage configuration and has cloud administration skills. The work needs someone who can read the official plugin documentation for the S3, Azure or Google Cloud storage plugins, configure credentials and buckets or containers, script or run the transfer, and prove the result. Teams without a DICOM operations background, or with no spare time for testing against a live archive, usually find that the verification and rollback planning take longer than the copy. A partner is most useful for a fixed-scope engagement that covers the design, the transfer runbook, the checks and the handover. Decide based on who will own the archive after the move.

What do our infrastructure and security teams need to provide for this move?

Plan for four inputs before work starts. Infrastructure teams need network paths between the Orthanc host and the cloud endpoint, enough local disk and bandwidth for the transfer, and a decision on region and redundancy. Cloud or identity teams need an account, a bucket or container, and a credential model for Orthanc, ideally scoped to one storage location and rotated under your policy. Security teams need to decide how the cloud copy is protected, including whether files are encrypted on the client side before upload, and where keys live. Clinical and compliance owners need to confirm retention and access rules. Keep the Orthanc REST routes that can alter files, such as the script and export routes, disabled during the move, as the Orthanc security documentation advises.

Is MinIO a safe target for Orthanc object storage?

Treat MinIO as a risky choice for a new long-lived archive unless you accept its current status. The MinIO README says the repository is no longer maintained and points to AIStor Free and AIStor Enterprise as alternatives. The minio, operator and mc repositories are archived, and the last tagged community release is RELEASE.2025-10-15T17-29-55Z, published on October 16, 2025. The community edition is distributed as source code only, and legacy binaries will not receive updates. Its support is best effort through GitHub and Slack, with SLA-backed support only through AIStor. Before choosing it, confirm the license obligations under the AGPLv3 with your legal team, and weigh a maintained S3-compatible platform or a managed cloud service against the archived project.

Can Orthanc keep serving images while files move to object storage?

Yes, the design goal is to keep reads working during the move, and Orthanc's storage plugins are built around that pattern, but the exact mode and behavior must be confirmed in the plugin documentation for your Orthanc version. The usual approach is a hybrid period in which new files are written to the new store while older files remain on disk and are still readable, followed by a background migration of existing files and a final switch of the storage configuration. Check in the plugin docs how the hybrid setting handles reads, deletes and failed uploads, and test each path on a copy of the archive. Plan a short, announced window for the final cutover and do not change storage settings on a production instance without a tested rollback.

How do we prove every file landed in the cloud store?

Verification should compare what Orthanc believes it stores with what the object store actually holds. Start with counts: the number of instances and studies in the Orthanc index against the number of objects in the bucket or container, reconciled by a script that lists both sides. Then check integrity by comparing checksums or sizes for a sample or all files, and confirm that a random set of studies can be retrieved through the REST API and opened in your viewer. Record failed transfers and re-run them until the list is empty, and keep the reconciliation report with the change record. Ask any partner to deliver this as part of the written scope, with the method, the sample rules and the report format defined in advance.

How DeployOpen scopes and delivers an Orthanc storage move

DeployOpen plans, implements, tests and documents Orthanc storage moves inside the client's own infrastructure, from scoping the current file layout through to a verified cutover. Engagements are fixed-scope, with the scope, deliverables and timeline agreed in writing before any file is moved.

How we scope

  • We inventory the current storage area, index size, file counts and the Orthanc version in use before proposing a route.
  • The written scope states which storage targets, buckets or containers, and access identities are in scope.
  • We record whether client-side encryption is required and which party holds the key material.

How we build

  • We configure hybrid mode and test reads and writes against the object store in a non-production copy first.
  • We run the file transfer with a repeatable job that logs each moved file and its checksum.
  • We test a rollback path and document how to return to filesystem storage if a check fails.

How we hand over

  • We deliver the configuration, transfer scripts, verification reports and a file-count reconciliation record.
  • We document the runbook for the cutover window, including who approves each step and when old files are retired.
  • We walk the client's operations and security teams through the storage settings and access policy.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after handover.
  • We can retest storage access, credentials and permissions after Orthanc or object storage platform upgrades.
  • Support scope, response expectations and review cadence are confirmed in the written agreement.

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.