Appwrite Cloud BAA vs self-hosted Appwrite for HIPAA

Appwrite Cloud can sign a business associate agreement, with HIPAA listed on Enterprise. Self-hosted Appwrite lets you run the stack in your own audited environment, but you then own the safeguards, logs and backups.

On this page

Can self-hosted Appwrite for HIPAA meet the Security Rule when Appwrite Cloud is already under a BAA?

Yes, self-hosted Appwrite can support HIPAA Security Rule compliance, but only if your organization operates the safeguards the rule requires. A covered entity or business associate that keeps ePHI on a backend can run Appwrite in its own audited environment and meet the Security Rule's administrative, physical and technical standards there. The alternative is Appwrite Cloud Enterprise, where HIPAA is listed and a business associate agreement can be signed. The two paths differ mainly in who operates the controls, not in whether the framework applies. There is no HIPAA certification. HHS states that no Security Rule standard requires certifying compliance, and private certifications do not stop HHS from later finding a violation. Appwrite Cloud is SOC 2 Type II certified, which is a separate attestation from HIPAA, and HIPAA appears on the Enterprise plan. Confirm the current BAA terms, including the subcontractor flow-down and incident reporting language required by 45 CFR 164.314(a)(2)(i), directly with Appwrite before you rely on them.

A BAA and the Security Rule are different obligations. The BAA is a contract that obliges the business associate to comply with the Security Rule, pass the same terms to subcontractors that handle ePHI and report security incidents. The Security Rule itself applies to you as the covered entity or business associate regardless of who hosts the data. On Appwrite Cloud, the provider carries much of the infrastructure safeguard work, but you still own access control, unique user identification, audit controls, automatic logoff and the risk analysis. Self-hosting moves the physical, technical and operational controls to your team: the hosts, the PostgreSQL or MariaDB databases, backups, encryption at rest and in transit, log retention and patching. Ask a qualified assessor to map each Appendix A standard to a named owner, and confirm that your Appwrite version and the Helm chart or Docker Compose setup you deploy meet those controls. Also check that the built-in datastores, which the Helm chart docs describe as single-replica without failover, are replaced with managed or operator-run services that provide replication and tested restores.

What the HIPAA Security Rule requires of your Appwrite stack

The Security Rule applies to covered entities and their business associates for all electronic protected health information they create, receive, maintain or transmit. Its 18 standards and 36 implementation specifications apply whether Appwrite runs on Appwrite Cloud or in your own environment, but the party that operates each control changes. Use the cards below to map each requirement group to who configures and evidences it.

Scope and who is covered

The rule binds covered entities, meaning health plans, health care clearinghouses and covered health care providers, and their business associates. If your Appwrite project stores, processes or transmits ePHI, your organization or your vendor is in scope. Self-hosting does not remove the rule. It moves operational responsibility for the controls to you, so confirm which party is the covered entity and which is the business associate for each Appwrite component before choosing a deployment.

Administrative safeguards

The administrative standards cover risk analysis, workforce security, access management, security awareness, incident procedures, contingency planning and evaluation. For self-hosted Appwrite, you own the written risk analysis, the Appwrite admin role assignments, the patching cadence for each release and the contingency plan for the built-in datastores. Appwrite Cloud shifts part of this to the vendor, so ask what is covered by its BAA and what you still document yourself.

Physical safeguards

Physical safeguards cover facility access, workstation use and device and media controls. Where Appwrite runs in your data center or your cloud account, these controls sit with your facility or your cloud provider's shared responsibility model. Confirm how the host machines running the Docker Compose or Helm deployment are secured, how disks holding PostgreSQL, ClickHouse and object storage data are disposed of, and which of these controls your provider attests to on your behalf.

Unique user identification

This is a required technical implementation specification under 45 CFR 164.312. Each person and service using Appwrite must have a distinct identifier, so audit records can tie an action to one individual. In practice, check that console administrators, API keys and function service accounts are not shared, and that exported Appwrite user records keep stable IDs. Confirm how your Appwrite version records actor identity in its logs before relying on them for investigations.

Emergency access procedure

This is a required technical specification that requires a documented way to reach ePHI during an emergency. For self-hosted Appwrite, write the procedure for restoring access if the console, the API or the database host fails, including who holds the break-glass credentials and where they are stored. Note that the Appwrite Helm chart documentation says its built-in datastores run a single replica without failover, so the emergency procedure must cover database recovery, not only application restart.

Automatic logoff and encryption

Automatic logoff and the encryption and decryption specification are addressable, meaning you must assess whether they are reasonable and appropriate, then implement them or document why not and what alternative you chose. For Appwrite, decide the session lifetime for console and client sessions, and confirm that data is encrypted in transit and at rest for PostgreSQL, Redis, ClickHouse, backups and object storage. Record each decision, since an addressable specification with no documented rationale is still a finding.

Where the BAA covers you on Appwrite Cloud and where you still own controls

On Appwrite Cloud, the vendor operates the hosting environment, and HIPAA is listed on the Enterprise plan. Appwrite states that it is SOC 2 Type II certified and can sign a business associate agreement. That agreement is the contract that sets out what the vendor must do for electronic protected health information it handles for you.

  • Hosting operations: Appwrite runs the Cloud infrastructure, so day-to-day platform operations sit with the vendor under the agreed terms.
  • SOC 2 Type II report: request the current report and read its scope, period and any exceptions before you rely on it.
  • BAA terms: confirm the agreement requires compliance with the Security Rule, flow-down to subcontractors that handle ePHI, and reporting of security incidents to you, as 45 CFR 164.314 requires.
  • Enterprise scope: confirm in writing which products, regions and features, including Auth, Databases, Storage and Functions, fall inside the BAA.

Check that the signed BAA and the Enterprise order form name the same products and regions before any PHI is stored.

Which Appwrite deployment fits a HIPAA constraint

This table compares Appwrite Cloud Enterprise, self-hosted Appwrite on Docker Compose and self-hosted Appwrite on Kubernetes with the official Helm chart. Read each row as a question an assessor will ask, then check which party carries the answer. The main takeaway is that a business associate agreement only moves part of the HIPAA workload, and self-hosting moves the rest to your team.

ConstraintHow the option meets itWhat you still ownTrade-offs
Appwrite Cloud EnterpriseHosted by Appwrite, which is SOC 2 Type II certified and can sign a BAA, with HIPAA listed on Enterprise. Confirm the signed BAA scope in writing.Your own access controls, user roles, encryption choices in your app, audit reviews and the business associate contract terms for your subcontractors.Least infrastructure work for your team. Data location, backup scope and incident reporting follow Appwrite's contract, so review them before you sign.
Self-hosted on Docker ComposeData stays in your audited environment, so you control host hardening, network paths, logging and encryption at rest for the single host.Everything else: the host, Docker, PostgreSQL, Redis, ClickHouse, storage, TLS, backups, upgrades and the Security Rule evidence.The sample Compose file runs the same services on one host, which is a single point of failure. Suitable for evaluation or non-critical workloads, not a complete production design.
Self-hosted on Kubernetes with HelmThe official chart lets you point Appwrite at managed PostgreSQL or operator-run databases, which can provide replication, backups and failover that you configure.The cluster, the datastores, replication and failover design, backup restore testing, object storage, secrets, network policies and a business associate agreement with any cloud provider you use.The built-in PostgreSQL, Redis, ClickHouse and object storage each run one replica without failover, so production ePHI needs managed services or operators. This adds the most engineering effort.

Why a business associate agreement does not replace your own safeguards

A business associate agreement with Appwrite Cloud moves some duties onto the vendor, but it does not remove your own obligations under the HIPAA Security Rule. Under 45 CFR 164.314(a)(2)(i), the contract must require the business associate to comply with the Security Rule, flow the same terms down to any subcontractor that handles electronic protected health information, and report security incidents, including breaches of unsecured PHI, back to you as the covered entity. Before you rely on that paperwork, confirm with the vendor which sub-processors touch your project data, whether the BAA covers the plan tier you actually buy, and how and how quickly incident notices will reach your privacy and security officers.

Self-hosting changes who holds each control. If you run Appwrite in your own audited environment, you take the operator role yourself, so there is no vendor contract to flow down. Your team owns the decisions the BAA would otherwise describe: access to the Console and server API keys, encryption of the databases and object storage, audit logging, backup retention and restore testing, and the upgrade path from one Appwrite release to the next. The rule does not hinge on a certificate. HHS states that no Security Rule standard requires an entity to certify compliance, and that private certifications do not prevent HHS from later finding a violation. Any attestation a vendor shows you is one input to your own risk analysis, not a shield.

Enforcement comes through the HHS Office for Civil Rights, which acts on complaints, compliance reviews and audits, so the evidence you keep matters more than the vendor's badges. The proposed Security Rule revision published on 6 January 2025 would tighten these expectations, but as of October 2026 no final rule has been published, and the Unified Agenda projects final action for July 2027. Plan against the current rule and track that rulemaking. Keep a written risk analysis, a list of who holds administrative access to each Appwrite install, and dated records of patches, backup tests and access reviews, because those records are what you will be asked to produce.

How to deploy self-hosted Appwrite under HIPAA safeguards

This sequence takes an organization from data-flow scoping to a self-hosted Appwrite 2.5.0 install whose safeguards, backups, incident path and upgrade process it owns and can evidence to a covered entity or auditor.

  1. Map ePHI data flows and trust boundaries

    The compliance lead and the application owners list every place electronic protected health information will be created, received, stored, transmitted or logged by the Appwrite project, including Auth accounts, database collections, Storage buckets, Functions logs, Realtime channels and any email or messaging use. They mark which components sit inside the trust boundary and which external services receive data. The output is a signed data-flow diagram and a list of ePHI categories, which the team uses to decide which controls apply to each component.

  2. Select hosting and confirm contractual coverage

    The organization chooses the cloud account, data center or private network where Appwrite will run, then confirms in writing with that hosting provider whether a business associate agreement is available and which services fall within the audit scope. Any third party that will handle ePHI, including backup vendors and managed database providers, needs its own agreement that flows the Security Rule terms down. The output is a register of signed agreements and the in-scope services list, and it stays a question for the reader's own counsel and provider.

  3. Install Appwrite 2.5.0 in a segmented environment

    The platform team prepares a host that meets the installation guide's minimums of 2 CPU cores, 4 GB of RAM, 2 GB of swap and Docker Compose version 2, treating these as a starting point only, since production sizing must be confirmed against the expected load. They run the installer using the appwrite/appwrite:2.5.0 image and complete the setup wizard on port 20080, or deploy the official Helm chart for a Kubernetes cluster. Administrative access is limited to named engineers, and the install is verified with a health check before any ePHI is loaded.

  4. Move datastores to replicated, managed services

    The Appwrite Helm chart documentation states that its built-in PostgreSQL, Redis, ClickHouse and object storage each run a single replica without replication or failover, so the team replaces these with managed PostgreSQL, managed object storage or operators that provide replication and failover, and points Appwrite at them. The database engine choice is also confirmed against the Appwrite 2.0 defaults. The output is a documented topology with encryption at rest and in transit, and a test in which one replica is failed to confirm the service stays available.

  5. Configure TLS, access control and audit logging

    The security team terminates TLS at the ingress, restricts console and API administration to approved networks, and enforces multi-factor authentication for every staff account with console access. Each Appwrite user role and database permission is mapped to a documented need-to-know rule, and unique identifiers are kept for every user and service account. Logs from Appwrite, the database, the proxy and the host are forwarded to a central store with retention set by policy. The output is a control matrix that ties each setting to a Security Rule standard, reviewed by someone who did not configure it.

  6. Set backup schedules and tested restore procedures

    The operations team configures backups for the database, object storage and Appwrite configuration, encrypts them, and stores copies in a separate location and account. Recovery objectives are agreed with the covered entity and written into the contingency plan. Because Appwrite Cloud's daily backups are a hosted feature, the team must confirm which backup and point-in-time options its own database provider offers. The output is a restore test log that shows a full project recovered into a clean environment, with the time taken recorded.

  7. Define the incident reporting path

    Legal, security and operations agree a written path for detecting, triaging and reporting security incidents, including breaches of unsecured PHI, to the covered entity within the timelines set in the business associate contract. The team assigns an owner for each step, builds a contact sheet, and rehearses one tabletop scenario involving a credential compromise in a Function. The output is an approved runbook and a record of the exercise, with open gaps tracked to closure.

  8. Establish the Appwrite 2.0 line upgrade process

    The platform team commits to a change process for the Appwrite 2.0 line, which replaced the engine underneath and rebuilt the Console, and where existing 1.9.x installs upgrade with one command and a migration. Each release is tested in a staging copy restored from backup, reviewed against the Appwrite release notes, and recorded in the change log before production. Patch decisions are logged so auditors can see when the platform was updated. The output is a documented upgrade runbook and a dated history of changes.

What auditors and regulators ask for under the HIPAA Security Rule

The HIPAA Security Rule does not issue certificates, so the evidence you hold is what an HHS Office for Civil Rights review or an independent assessor will examine. The cards below list the records that tie a Cloud BAA or a self-hosted Appwrite deployment back to the safeguards in 45 CFR Part 164 Subpart C.

Risk analysis and risk management

Auditors ask for a written, current analysis of where electronic protected health information lives in your Appwrite deployment, including databases, file storage, functions and realtime channels, and the threats and vulnerabilities to each. Risk management records show which measures you chose and why. On Appwrite Cloud, the provider's own assessment covers its platform, but your analysis must still cover your projects, your client apps and your integrations. Confirm which parts of the stack your analysis owns.

Access control and unique user identification

Expect records of who can reach each Appwrite project, team and database, and proof that every user and administrator has a unique identifier. Review the Console member roles, API keys and any emergency access accounts you have defined. In a self-hosted install you also own the identity records for the Appwrite Console and any SSO layer in front of it. Ask your Cloud provider which of these records it can export to you and in what format.

Audit logs and log review

Assessors look for audit records that show access to protected data, plus evidence that someone reviews them on a schedule. On a hosted service, you depend on the provider's log retention and on what it lets you export. On a self-hosted install, you choose where Appwrite and PostgreSQL logs go, how long they are kept, and who reviews them. Write down the retention period and reviewer for each log source before an assessment begins.

Encryption configuration

Encryption is addressable under the Security Rule, so you must either implement it or document why an alternative is reasonable. Keep records of encryption in transit for the Appwrite endpoint, encryption at rest for PostgreSQL, Redis, ClickHouse and object storage, and how keys are stored and rotated. Self-hosted deployments need these settings written down for each component, since the Appwrite stack spans several datastores.

Backup and emergency access tests

Auditors expect a data backup plan, a disaster recovery plan, an emergency mode operation plan and records that you have tested them. Appwrite's Helm chart documentation says its built-in datastores run a single replica without failover, so a self-hosted deployment needs external, replicated databases and tested restores. Ask a Cloud provider for its backup schedule, restore procedure and the evidence it will share about restore tests.

Business associate contracts and incident response

A business associate contract under 45 CFR 164.314(a)(2)(i) must require Security Rule compliance, flow the same terms to subcontractors that handle ePHI, and require reporting of security incidents. Keep the signed agreement, the subcontractor list and a tested incident response runbook that names who notifies the covered entity. If you self-host, you are the covered entity or business associate for the whole stack, so the contract question shifts to your own hosting and support vendors.

What do buyers ask before running self-hosted Appwrite for HIPAA?

Does self-hosting Appwrite remove the need for a BAA?

No. The HIPAA Security Rule applies to covered entities and their business associates for all electronic protected health information they create, receive, maintain or transmit. If your organization is a covered entity, self-hosting does not change your own obligations. If a vendor, consultant or managed service provider touches ePHI in your Appwrite environment, a business associate contract under 45 CFR 164.314(a)(2)(i) is still needed with that party. The question to settle with counsel is which parties handle ePHI, not whether a vendor relationship exists at all. Self-hosting changes who operates the software, so the contract map changes with it.

What cost components drive a self-hosted Appwrite HIPAA project?

Costs fall into a few groups. Infrastructure covers compute, storage, networking, and backup targets in your own cloud account or data center. Managed datastores or operators cover PostgreSQL, Redis, ClickHouse and object storage, which Appwrite's Helm chart docs say run as a single replica without failover in the built-in form. Staff time covers platform engineering, security review, and on-call. Testing and assessment covers security testing and evidence for your own risk analysis. Most infrastructure and staff costs recur monthly, while design, hardening and initial assessment are largely one-time. Ask for each component in a written quote, with what is included and what you must supply yourself.

How long does a self-hosted Appwrite deployment for HIPAA take?

The duration depends on scope, not on a fixed number. The main drivers are the target platform (Docker Compose or Kubernetes), whether you use managed PostgreSQL or operators for high availability, how many environments you need, how much logging and backup design you require, and how quickly your security and compliance reviewers can sign off. Appwrite's installation guide describes a single-host install with a setup wizard, but a production HIPAA environment needs much more than that. Ask for a timeline tied to written deliverables and the review gates your organization requires before any ePHI is loaded.

What skills and ownership does the team need for self-hosted Appwrite?

Your team needs working knowledge of Docker Compose or Kubernetes, PostgreSQL operations, TLS, identity and access management, and logging. Someone must own backups and restore testing, another must own upgrades, since Appwrite 2.0 changed the engine and upgrades from 1.9.x require a migration. A named owner should also manage security patches, access reviews, incident response and the evidence you keep for your HIPAA risk analysis. Under the Security Rule you are responsible for the unique user identification, emergency access, audit and encryption controls that the platform does not supply by itself. Assign these roles in writing before go-live.

Can our internal team run self-hosted Appwrite for HIPAA alone?

Some teams can, and the decision depends on skills, staffing and tolerance for operational risk. Appwrite is open source under BSD-3-Clause, but the community support model means you rely on your own team and public resources for fixes. A capable internal team can handle a single-environment deployment if they can staff backups, upgrades and incident response. Many organizations instead engage an implementation partner for planning, hardening, backup design and evidence preparation, then keep operations in-house. DeployOpen plans, implements, hardens, backs up, upgrades and documents self-hosted platforms in the client's own infrastructure, under a fixed scope agreed in writing. It does not issue HIPAA certifications or attestations.

Is Appwrite Cloud Enterprise the simpler route for HIPAA?

It can be, if your priority is less infrastructure to run. Appwrite's pricing page lists HIPAA among Enterprise features, and Appwrite Cloud is SOC 2 Type II certified and can sign a BAA. That moves hosting, patching and much of the operations work to the vendor, while your organization still manages its own configuration, access and data handling. Self-hosting gives you full control of the environment and data location, but you then own the safeguards, logs and backups that the vendor would otherwise provide. Compare the written BAA terms, the audit evidence and the operational responsibilities side by side before choosing.

What should a written quote for self-hosted Appwrite HIPAA include?

Ask for a fixed scope statement listing the target platform, environments, datastores and high-availability design, plus the exact deliverables and their acceptance criteria. The quote should name each cost component, state what is one-time and what recurs, and list assumptions about your infrastructure, staff and existing controls. Request the security testing scope, the evidence you will receive for your risk analysis and audit preparation, and the handover and training plan. Confirm what is excluded, such as your business associate agreements, legal review, managed datastore licenses and ongoing support, and ask for the retainer terms if you want continuous operations after go-live.

What does self-hosting Appwrite mean for backups and logs under HIPAA?

You own them. Appwrite Cloud Pro includes daily backups as a hosted feature, but in a self-hosted install you must design backup schedules, encryption, off-site copies, restore tests and retention yourself. The built-in datastores run without replication in the Helm chart configuration, so you need a plan for managed or operator-based high availability. Audit logs and access logs must be retained, protected and reviewed according to your risk analysis. Confirm each of these controls in your environment and document how you tested recovery, since the Security Rule expects evidence rather than assumptions.

How DeployOpen deploys Appwrite under HIPAA constraints

DeployOpen plans, implements, hardens, documents and supports self-hosted open-source platforms inside the client's own infrastructure. For Appwrite under HIPAA constraints, that means agreeing the boundary of the work in writing first, then building the stack in an environment the client controls, and preparing the evidence a compliance assessor will ask for. DeployOpen does not issue audit reports, attestations or certifications.

How we scope

  • Written scope names which Appwrite services, databases, storage buckets and functions handle electronic protected health information.
  • Scope lists the environment, cloud account or data center where the Appwrite install will run and who controls it.
  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before any work starts.

How we build

  • Installation of Appwrite and its datastores is configured with encryption, access control and logging decisions recorded in the design.
  • Built-in single-replica datastores are replaced or backed by managed services or operators where the design requires failover.
  • Backup, restore and upgrade procedures are implemented and tested against the client's recovery targets before go-live.

How we hand over

  • Handover includes architecture and configuration documentation, runbooks for upgrades, backups and incident response.
  • Evidence packs map each control to the implemented setting, log source or procedure so the client's assessor can review them.
  • Security testing of the application and its APIs is documented with findings and remediation status before handover.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after handover.
  • Retainers cover patching Appwrite releases and re-checking configuration after each upgrade in the client's environment.
  • Confirm with your compliance counsel and assessor which obligations, including any business associate agreement, apply to your organization.

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.