When self-hosted HAPI FHIR fits better than a cloud FHIR service
None of the three providers offers hosted HAPI FHIR, so the choice is self-hosted HAPI FHIR or a separate managed FHIR service: AWS HealthLake, the FHIR service in Azure Health Data Services, or the FHIR stores in Google Cloud's Cloud Healthcare API. Self-hosted HAPI tends to win when you need to control the FHIR version and server configuration yourself, pin a release on your own schedule, and keep data in a specific account, region or data center that your compliance team has already reviewed. It also fits better when the server must sit beside a legacy system or custom data store that a managed service may not reach without extra work. Confirm that last point against each provider's documentation, because the answer depends on the exact custom behavior you need.
Self-hosting fits best when your team already runs Java services and has people who can administer the relational database behind the server. HAPI FHIR is a Java API, and its JPA server is built on the JPA API, so the database product, its sizing and its backups are choices you make and operate. Check the version documentation before you commit: HAPI FHIR 8.2.0 requires JDK 17, and the latest stable release in the project's GitHub releases, as of December 2026, is v9.0.0, so your Java baseline and upgrade plan should be decided together. The operating load is yours too: patching the server and runtime, backups, scaling, monitoring, and major-version moves such as the 7.0.0 Jakarta upgrade. Accept that work when pinning an exact FHIR version and a tested configuration matters more to you than handing those tasks to a provider.
The managed side is the stronger choice when your team has no Java or database operations capacity and the feature set you need is covered by the service. AWS HealthLake is documented as a HIPAA eligible service for FHIR R4 data, with SMART on FHIR authorization and Bulk Data export, as described in the AWS HealthLake documentation. The Azure FHIR service is described as a managed PaaS FHIR server, and Google Cloud's Cloud Healthcare API implements DSTU2, STU3 and R4. Before you shortlist a managed option, get three things confirmed in writing: that the FHIR versions and resource operations you need are supported, that the provider's compliance evidence covers the service you would actually use, and how data is exported, since export determines your switching cost. Ask each provider for a quote built on your expected volume, and keep your exit plan in the same document.
Which cloud FHIR service is closest to HAPI FHIR, and where none is
This table sets each cloud FHIR service against HAPI FHIR on how close it sits in role and features, and what to confirm before you shortlist it. Read the closeness column as a starting point, since none of these services runs HAPI FHIR code and each has its own versions, operations and data model. The main takeaway is that every option here needs a per-service check of FHIR version coverage and HAPI-style features such as terminology, validation, MDM and partitioning.
| Provider | Managed service | How close to HAPI FHIR | What to confirm |
|---|---|---|---|
| AWS | AWS HealthLake | Built around FHIR R4, with SMART on FHIR authorization and Bulk Data export. HAPI's JPA server also covers other versions. | Supported FHIR versions, operations, terminology and validation behavior, and HIPAA eligibility for your account and Region. |
| Microsoft Azure | FHIR service in Azure Health Data Services | Managed PaaS FHIR server, the nearest match in role to running HAPI yourself, but a Microsoft platform service, not HAPI code. | FHIR versions supported, custom search parameters, export operations, terminology and validation, and the data store configuration. |
| Microsoft Azure | FHIR Server for Azure (open source) | Open source and customizable for your own deployment, but it is a Microsoft codebase that does not run HAPI FHIR. | Supported FHIR versions, license terms, maintenance activity, and the Azure services the deployment needs. |
| Google Cloud | Cloud Healthcare API FHIR stores | Lists DSTU2, STU3 and R4, while HAPI's JPA server also covers R4B and R5. | Whether R4B or R5 is planned, search and terminology behavior, validation, and how FHIR stores are configured per project. |
| All three clouds | Hosted HAPI FHIR | No provider on this table hosts HAPI FHIR, so running HAPI means deploying and operating it yourself. | The HAPI release line and JDK version (HAPI 8.2.0 requires JDK 17), plus the database and support route you need. |
Which path fits: self-hosted HAPI FHIR or a managed FHIR service
The path starts at the top with whether you need custom server logic or a specific FHIR version. A yes leads to self-hosted HAPI FHIR. A no moves to data location. If data must stay in your own accounts or network, your Java, database and operations skills decide between self-hosted HAPI FHIR and the Azure open-source FHIR Server, which needs its own evaluation. If the data can sit with a provider, check that its versions and features are acceptable, then pick the managed service on your cloud. Confirm each service's current FHIR versions and compliance terms in writing.
Decision path from custom needs and data location to a FHIR option.
What running HAPI FHIR yourself gives you in control and versions
Running HAPI FHIR yourself puts the FHIR version decision in your hands. The JPA server documentation covers DSTU2, DSTU3, R4, R4B and R5, so your team can match the version that your interface partners, payers or registries require. Before you compare managed services, check each vendor's documentation for the exact versions it serves. Google's Cloud Healthcare API documentation lists DSTU2, STU3 and R4, AWS HealthLake documents FHIR R4, and the Azure FHIR service documentation should be read the same way for your target version. The same control extends to terminology services, validation, MDM and partitioning, which you configure on a server you operate. Ask each vendor which of those features it exposes, at which version and with which settings.
The JPA server works through the JPA API, so the database is a choice your team makes and owns. Choose it against your backup tooling, your database administration skills and the load you test, and record the choice, because it shapes every later migration. Licensing is the second control point. HAPI FHIR is licensed under the Apache Software License 2.0, so your team decides when to adopt a new release, and that timing follows your own change calendar. Build the upgrade plan around that decision and the testing window your clinical users need.
Version choice also sets your Java requirements. HAPI FHIR 8.2.0 requires JDK 17, so the release you pin determines which JDK your operations team patches and supports. Confirm the JDK for the exact release you plan to run in the HAPI FHIR versions documentation, then include the runtime upgrade in the same plan as the server upgrade. Ask your team who owns the JDK patch cycle and how it is tested against your database driver before you commit to a release. Compare that work with the operating responsibilities each managed service documents, and confirm them in writing.
What the team gives up or gains with a managed FHIR service
Running HAPI FHIR yourself keeps version choice, database access and server logic in your hands. A managed service takes on much of the operating work and shares compliance duties with you. Each card below names one trade-off, what the team gains, what it gives up and the condition that makes it matter.
Version lag and release timing
HAPI FHIR sets its own release cadence. The GitHub releases page lists v9.0.0, published 18 November 2026, as the latest stable release, and v8.8.2 followed on 25 September 2026. Your team decides when to take each release and can test it against your own resources first. A managed service decides when its platform changes, which removes patch work but also removes your timing control. This matters when a regulator, a partner interface or a security fix sets a deadline. Compare each provider's own release notes for cadence and notice periods before you judge the lag.
Releases pageFHIR version coverage
HAPI's JPA server covers DSTU2, DSTU3, R4, R4B and R5, which is the broadest version set in this comparison. AWS HealthLake documents FHIR R4, and Google Cloud's Cloud Healthcare API implements DSTU2, STU3 and R4. Confirm Azure's supported versions in its own documentation before you compare. This matters when a partner or national profile requires a release the managed service does not offer. If you only need R4, the gap is small and a managed service may be the simpler path.
Google Cloud FHIR docsConfiguration and custom server logic
With HAPI you write the server logic yourself. The plain server needs one resource provider class per resource type, and the JPA server adds terminology, validation, MDM and partitioning that your team configures and operates. Managed services fix much of that behavior and expose fewer configuration points. Ask each provider which hooks exist for custom validation, search parameters, authorization rules and data transformation, and where that code runs. This matters most when translating a legacy system's model into FHIR is the reason for the project.
Access to database and server internals
A HAPI JPA server runs on a database you choose and administer, so your DBA can inspect tables, tune indexes, size backups and plan restores. Managed services hide the data store. That removes operating work but also removes direct database access and most low-level tuning. Confirm with each provider whether you can obtain a backup copy, query the store directly, or read the logs and metrics you need. This matters for performance investigations, incident forensics and any audit that asks where a record is stored and who can read the underlying storage.
JPA server docsCompliance responsibility
Self-hosting makes your organization the operator of the FHIR server, so safeguards, access reviews and control evidence sit with your team and any partner you hire. AWS HealthLake is documented as a HIPAA eligible service for storing health data in FHIR R4, but eligibility describes the service, not your deployment, so confirm the business associate terms with AWS. For Azure and Google Cloud, confirm the attestations in their own compliance documentation and the shared responsibility split for each service you use. This matters most when an auditor asks which party operates each control.
AWS HealthLake docsExit path
HAPI FHIR is licensed under Apache 2.0, so your team can keep running it, modify it or move off it without a license fee. Leaving a managed service means exporting data through that provider's interfaces. AWS HealthLake documents Bulk Data export, which you should test against your full dataset before relying on it. Moving to another managed service also means rebuilding SMART on FHIR authorization and any custom logic under the new provider's terms. Ask each provider for the export format and timing in writing before you sign. This matters when you expect to change providers during the life of the system.
Who handles upgrades, backups and scaling on each option
With self-hosted HAPI FHIR, your team owns the whole operating stack: the Java application, the database behind the JPA server, the host or container platform, and the backup and monitoring around them. HAPI FHIR is Apache-2.0 licensed, so no vendor schedules upgrades for you. Commercial support is available through Smile CDR if you want a contracted route.
- Runtime upgrades: Plan JDK and database upgrades as their own work. HAPI FHIR 8.2.0 requires JDK 17, so confirm the JDK line and database versions that your target release supports before you pick a runtime.
- Major version upgrades: Treat each major move as a project. The 7.0.0 Migration Guide covers the Jakarta upgrade, and the JPA Upgrade Guide covers the database-backed server, both listed in the HAPI FHIR version documentation.
- Backups: Your team designs, schedules and restore-tests backups of the database and any attached files. Retention periods are also your decision.
- Scaling and monitoring: You size application nodes, the database and the load balancer, and you wire metrics, logs and alerts into your own tooling. Incident response runs through your on-call rota.
- Still owned in every model: The data model, authorization configuration, integrations and retention policy stay with your team.
Check the JDK and database versions required by each release you plan to run, and the upgrade guide for every major version you will cross.
AWS HealthLake is a managed service for storing health data using the FHIR R4 specification, and AWS documents it as HIPAA eligible. It is a separate AWS product, not hosted HAPI FHIR, so the server behavior and the operations model follow AWS's implementation. Read the AWS HealthLake developer guide for the service scope before you plan the operating model.
- Provider side: AWS operates the data store and the service layer. Confirm in AWS documentation which upgrades AWS applies, whether any require action from you, and how changes are announced.
- Backups and recovery: Confirm the backup, recovery and restore terms in the AWS documentation and your agreement with AWS. Do not assume restore scope from the FHIR API alone.
- Scaling and limits: Confirm service quotas, throughput limits and how capacity behaves during bulk loads. Bulk Data export is documented, so test export runs at the volume you expect.
- Monitoring and incidents: Confirm which metrics and logs reach your own monitoring, and who is notified during a provider incident. Write your runbook around those answers.
- Still owned: SMART on FHIR authorization design, resource profiles, integrations, retention and export handling stay with your team and your AWS account controls.
Check the backup, scaling and monitoring terms in the AWS HealthLake documentation and in the service terms that apply to your account.
The FHIR service in Azure Health Data Services is a managed platform-as-a-service FHIR server. Microsoft also publishes an open-source FHIR Server for Azure for customizable deployments, which is a different path that your team runs itself. Choosing the managed service moves server operations to Microsoft, while the data model, access design and integrations stay with you.
- Provider side: Microsoft operates the managed FHIR server and its underlying platform. Confirm in Microsoft's documentation which upgrades and maintenance tasks the service handles, and which ones need action from you.
- Open-source variant: If you choose the open-source FHIR Server for Azure, upgrades, backups and scaling return to your team. Treat that as a separate decision from the managed service.
- Backups and recovery: Confirm whether backups are provided, how long they are kept, and how restore works for the managed service. Check whether these terms differ by region.
- Scaling and monitoring: Confirm how the service scales under request load, and which diagnostic logs and metrics you can export to your monitoring platform.
- Still owned: Access control configuration, the clinical data model, integrations and retention policies remain with your team.
Check the backup, scaling, monitoring and incident notification terms in the Azure FHIR service documentation and in your service agreement.
In Google Cloud, FHIR resources sit in FHIR stores inside the Cloud Healthcare API, which implements DSTU2, STU3 and R4 according to the Cloud Healthcare API FHIR documentation. Google runs the storage and API infrastructure, while your team decides which FHIR store configuration to use, what data to load, and who can access it. If you need a FHIR version outside that list, confirm support before you plan around it.
- Provider side: Google operates the Cloud Healthcare API and the FHIR store infrastructure. Confirm in Google's documentation how service changes are announced and whether any of them require action from you.
- Version planning: The documented versions are DSTU2, STU3 and R4. Map the versions your clients and partners use to those, and plan any conversion work before go-live.
- Backups and scaling: Confirm the backup, export and restore options, plus the quota and scaling behavior for your store. Test a restore from your own export so you know the procedure works.
- Monitoring and incidents: Confirm which logs and metrics reach your Cloud Logging and monitoring setup, and how incident notifications reach your team.
- Still owned: IAM design, the clinical data model, integrations and retention settings belong to your team.
Check the backup, export, quota and incident terms in the Cloud Healthcare API documentation and in your Google Cloud agreement.
Where the data lives and who can reach it
With self-hosted HAPI FHIR, your team decides where every FHIR resource is stored and how it is reached, then writes those decisions down. You choose the cloud account, data center or air-gapped network that runs the server and its database, the region or site that holds the database, and the network path clients use, including whether traffic passes through an API gateway, a private endpoint or a VPN. Key management is part of the same decision. Your team sets which key store protects database encryption at rest, who holds administrative rights to that store, and how keys rotate. Backups carry the same location questions, so record where each copy lives in your data flow documentation before go-live, since assessors will ask for it first.
Managed FHIR services keep the data inside the provider's service, so the same questions become a due diligence list you confirm with the vendor. For AWS HealthLake, the AWS HealthLake documentation describes the service as HIPAA eligible for storing health data with the FHIR R4 specification, but that statement does not replace your own assessment of your workload. For Azure and Google Cloud, confirm in writing whether the specific FHIR service and region you plan to use is approved for your workload. For all three, ask which regions can hold the FHIR store and its backups, who holds the encryption keys and whether you can supply your own, what audit logs the service writes and how long they are kept, and how administrators and applications are granted access. File the answers with your HAPI evidence so both options are compared on the same questions.
Moving FHIR data from HAPI to a managed service, or back
This sequence moves a FHIR dataset from a self-run HAPI FHIR server to an AWS, Azure or Google Cloud managed FHIR service, or back again, which is the same work in reverse. Each step ends with a recorded check that someone can audit. The export format and profile mapping decide most of the effort in either direction.
Inventory resource types, profiles and FHIR versions
Start on the HAPI side. List every resource type in use, the profiles and extensions each one conforms to, the FHIR version the server runs, and any custom search parameters or terminology bindings that clients depend on. Pull counts per resource type from the JPA database, or from the source system if you run the plain server. The output is a signed inventory that becomes the mapping specification for every later step. The step is done when a second engineer can rebuild the list from the inventory alone.
Confirm target FHIR versions and export paths
Check the target against the inventory before any data moves. Confirm which FHIR versions the managed service implements: Google Cloud documents DSTU2, STU3 and R4 for its FHIR stores, AWS HealthLake documentation describes FHIR R4 storage with Bulk Data export, and Azure's FHIR service is a managed PaaS server whose supported versions you must confirm in its current docs. Then confirm the export and import paths in both directions, and flag any R5 or R4B resources that the target cannot hold as-is. The step closes with a gap list that names a supported target version or a documented conversion for every resource type.
Export, convert and validate against the target
Export from HAPI in the format the target accepts, then convert each resource to the target profiles and mappings the inventory defined. Validate every converted resource against the target's own validation and against the profiles you expect it to meet, so failures surface before load. Keep conversion scripts in version control so any run can be repeated. The output is a load set and a rejection log. The step closes when every rejection is fixed or explained and the load finishes without unexplained errors.
Compare resource counts and sample records
Compare totals for each resource type between source and target, then check a sample of records field by field. Include references, identifiers, extensions, timestamps and the oldest and newest records, plus any records with unusual content such as long free text. Log every mismatch in a reconciliation report, and have a clinical data owner review the sample set. The step closes when counts match or each gap has a documented reason and the sample review is signed off.
Run both systems in parallel with a rollback path
Choose between dual writes and a write freeze for the period before cutover, and record the choice. Agree the cutover date in writing with clinical, security and integration owners, and name who can trigger rollback. Move clients in a controlled order, starting with the lowest-risk consumers, and reissue client credentials and SMART scopes on the target before each move. Watch error rates, authorization failures and reconciliation drift. The step closes when the dual-running report shows no unexplained drift and the rollback path has been rehearsed.
Retire the old system after retention and audit checks
Keep the old HAPI instance, its database backups and its audit logs read-only until retention and audit obligations for those records are met. Ask compliance which obligations apply, and ask the managed provider which compliance duties it covers under its shared responsibility model, since those duties are split. Export a final archive with a hash manifest, store it where your retention policy requires, then decommission compute, storage and credentials. The step closes with a retirement record signed by the data owner and the compliance lead.
What buyers ask before choosing or moving: cost, time and skills
What drives the cost of HAPI FHIR compared with a managed FHIR service?
HAPI FHIR has no license fee because it is Apache 2.0 licensed, so the cost sits in what you pay to run it. Recurring costs are cloud or data center infrastructure, database and storage, staff time for operations and on-call support, and the work of applying upgrades. One-time costs are design, migration of existing data and testing against your profiles and integrations. A managed service bills you for platform use, and its billing units depend on the provider. Ask each provider for a written quote built from your expected data volumes, environments and support terms. Do not compare figures from this page, because list prices, billing units and contract terms change and vary by region.
How long does it take to move a FHIR server to HAPI?
The timeline depends on four things: how much data you move, which FHIR profiles and versions your systems use, how many integrations must be rebuilt, and how much testing your clinical and compliance teams require. Data volume drives load and validation runs, profiles drive mapping and conformance testing, integrations usually cause the most rework, and testing sets the final gate. Treat any generic duration as a guess until you have inventoried your own data and interfaces. Ask the provider to break the work into phases with named deliverables, dependencies on your teams and an agreed test exit point. Write that timeline into the scope before work starts, since DeployOpen agrees scope, deliverables and timelines in writing for most engagements.
What skills does running HAPI FHIR require from our team?
Plan for five skill areas: Java and JDK operations, database administration, cloud and network engineering, FHIR knowledge, and a named security owner. The documentation for HAPI FHIR 8.2.0 states that it requires JDK 17, so check the Java requirement for the version you choose, then patch and run a supported runtime with the rest of the stack. The JPA server depends on a relational database that someone must size, back up and tune. FHIR knowledge covers resource profiles, search parameters and conformance, which decide whether other systems can use the data. The security owner signs off on access control, logging, patching and incident handling. Confirm each skill is in-house or contracted before you set a date, because a gap in one area usually delays the whole plan.
Can we run HAPI FHIR ourselves without an implementation partner?
Yes, if the skills in the previous question already exist in your team and someone owns upgrades and on-call response. If they do not, you have three routes: hire the missing skills, bring in an implementation partner for the build and handover, or choose a managed service. Running HAPI yourself keeps control of versions, data location and configuration, and you carry every patch and upgrade. An implementation partner can design, deploy, harden and document a self-hosted instance inside your own cloud account or data center, then hand it over with runbooks and training. DeployOpen, for example, deploys self-hosted open-source platforms in the client's own infrastructure. Whichever route you take, write down who runs the system after handover and who is on call.
What should we ask a managed FHIR provider in a quote?
Ask about five things and get the answers in writing:
- Which FHIR versions the service supports, and whether you can run more than one version at the same time.
- How you export your data, in which format, and whether bulk export is included.
- Which compliance documents the provider will share, and the terms for sharing them.
- Where responsibility splits between the provider and you for patching, access control, logging and backup.
- Which items are billed by usage, such as storage, API calls, data transfer or support hours, and the unit each one is measured in.
Compare the written answers against your own volumes and integrations, not against figures from a marketing page, and keep the answers as part of the signed quote.
Is a managed FHIR service compliant for our organization?
No service makes your organization compliant on its own, and only independent auditors and certification bodies issue attestations and certifications. Ask each provider for its current attestation reports and certifications, then check their scope and dates with your compliance team. Next, read the shared responsibility documentation to see which controls the provider operates and which fall to you, such as user access, configuration, audit log review and data handling. Confirm the split in writing for each provider before you make any compliance claim to an assessor. DeployOpen prepares systems, controls and evidence for compliance assessments, but it does not issue audit reports, attestations or certifications.
How DeployOpen runs HAPI FHIR in your infrastructure, or helps you move
DeployOpen plans, implements, hardens, backs up, upgrades and documents self-hosted open-source platforms inside your own cloud accounts, data centers or air-gapped networks. For HAPI FHIR against the AWS, Azure and Google Cloud managed equivalents, the work starts with a written scope covering whether you keep HAPI FHIR or move to a managed service, where the data lives and who operates it. Most engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.
How we scope
- The written scope states whether you keep HAPI FHIR or move to a managed cloud service.
- Scope names the cloud accounts, regions, data classes and identity provider that the FHIR endpoints will use.
- Deliverables and timelines are agreed in writing before work starts, as most engagements are fixed-scope.
How we build
- Deploy the HAPI FHIR server in your own cloud account, with identity, access control and audit logging configured.
- Map FHIR versions and resource coverage for each option before any data moves.
- Migrate data, test it against your validation and terminology needs, and document the result before cutover.
How we hand over
- Handover covers architecture notes, runbooks, configuration records and the upgrade plan your team will use.
- Documentation includes the control evidence your compliance team needs for its own review, which DeployOpen does not certify.
- Acceptance criteria in the written scope define what your team checks before final sign-off.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers, which you can scope separately from the build.
- HAPI FHIR 8.2.0 requires JDK 17, so upgrade planning checks runtime versions before each move.
- Confirm which managed features your data needs, since those products are separate from HAPI FHIR.

