Self-hosted Metabase for HIPAA workloads

Self-hosted Metabase can support parts of the HIPAA Security Rule for PHI analytics, but access control, logging and risk analysis depend on your plan, configuration and program. DeployOpen prepares the setup and evidence; it does not certify.

On this page

Can a self-hosted Metabase support HIPAA workloads on PHI?

A self-hosted Metabase can support Security Rule controls on electronic PHI, but no HIPAA certification exists, so no product or partner can certify that your deployment is compliant. Self-hosting keeps the Metabase application, its application database and the query results inside infrastructure you control, which is the starting point for the Security Rule's requirement that covered entities and business associates protect ePHI they create, receive, maintain or transmit (45 CFR 164.302). The rule itself is codified at 45 CFR Part 164 Subpart C, and Appendix A to Subpart C lists 18 standards across administrative, physical and technical safeguards, with 36 implementation specifications. HHS states in its 2003 FAQ that no Security Rule standard requires an entity to certify compliance, that it does not endorse private certifications, and that such certifications do not prevent HHS from later finding a violation.

Metabase helps with some of those requirements more than others. Its technical features (group and attribute-based access, session timeouts through MB_SESSION_TIMEOUT and MAX_SESSION_AGE, and usage analytics) map to access control, automatic logoff and audit controls in 45 CFR 164.312, but several of these depend on the Pro or Enterprise plan, and the open source edition does not include them. Risk analysis, workforce training, contingency planning, physical safeguards, business associate agreements under 164.314 and documented policies under 164.316 remain your organization's work. For each addressable specification, you must document whether it is reasonable and appropriate and, if not, the equivalent measure you chose (45 CFR 164.306(d)). Confirm the current edition and license terms with Metabase before you scope the deployment, and map each control to a named owner in your own environment.

Two regulatory points should shape the plan. HHS's Office for Civil Rights enforces the rule through complaints, compliance reviews and audits, so your evidence needs to show how each control works in your environment, not just that the tool was installed. HHS proposed a major Security Rule revision on 6 January 2025 (90 FR 898), and as of October 2026 no final rule has been published, so confirm the current requirements with counsel before you finalize your control set. NIST SP 800-66 Rev. 2 is a useful informational guide for mapping each standard to activities and sample questions.

Mapping Security Rule technical safeguards to Metabase controls

This table maps each 45 CFR 164.312 technical standard and its implementation specifications to the Metabase capability that supports it, the plan that capability requires, and the configuration to set. Read it as a starting point for your risk analysis: a Metabase setting supports a control, but the documented decision on each addressable specification remains yours.

Safeguard and specificationMetabase capability and planConfiguration to set and evidence to keep
Access control: unique user identification (required, 164.312(a)(2)(i))Individual Metabase user accounts; SSO through SAML or OIDC requires Pro or EnterpriseDisable shared logins, map each user to one identity provider account, and keep the user list reviewed against HR records
Access control: emergency access procedure (required, 164.312(a)(2)(ii))Admin accounts exist on all plans; the procedure is your process, not a Metabase featureDocument a break-glass admin account, store its credentials in a vault, and log each use in your own system
Access control: automatic logoff (addressable, 164.312(a)(2)(iii))Inactivity timeout with MB_SESSION_TIMEOUT requires Pro or Enterprise; MAX_SESSION_AGE caps session age and defaults to 14 daysSet MB_SESSION_TIMEOUT and MAX_SESSION_AGE to values your risk analysis supports, and record the chosen values and reasons
Access control: encryption and decryption (addressable, 164.312(a)(2)(iv))Encryption of stored database connection credentials depends on setting your own encryption secret key; confirm the current key setting in the Metabase docsSet the encryption key before connecting databases, back up the key separately, and document why the setting meets or replaces the specification
Access control by group and attribute (supports 164.308(a)(4) and 164.312(a)(1))Group-based data and collection permissions on all plans; row and column level permissions and advanced LDAP group or attribute sync require Pro or EnterpriseRestrict PHI tables to named groups, apply row or column security to limit patient or minimum-necessary fields, and review group membership on a schedule
Audit controls (164.312(b))Usage analytics and auditing are included only in Pro and Enterprise plansTurn on usage analytics, export or retain the audit tables outside the instance, and confirm who can view them
Integrity and transmission security (164.312(c) and (e))Application-level TLS depends on your reverse proxy and database connections, not a Metabase feature aloneTerminate TLS at a reverse proxy you control, enforce encrypted database connections, and test them with your own tooling
Addressable specifications (164.306(d))Not a product feature: each addressable specification requires a documented assessmentIf a specification is not reasonable and appropriate, document why and implement an equivalent measure; a missing feature is not a finding by itself

Access control by group, attribute and plan tier

Access control for PHI starts with the plan, because several controls that restrict access to individual records are not available on every edition. According to Metabase's pricing page, SSO, row and column level permissions, multi-tenant data segregation and usage analytics and auditing are included only in the Pro and Enterprise plans. The Open Source edition and Starter do not include them. For a HIPAA workload, this means the access model you can enforce depends on the plan you buy, and the choice should be made before the data is connected.

  • Open Source: free, with group permissions and collection controls but without the paid identity and data-level features.
  • Starter: adds paid seats but, according to the same pricing page, still excludes SSO and row and column permissions.
  • Pro and Enterprise: include the features that restrict PHI access at the row and column level.
  • Enterprise pricing: quoted per organization, starting at $20,000 per year according to the pricing page.
  • Pricing changes: plan contents change, so confirm each feature on the pricing page at purchase.

Ask the vendor or a reseller to confirm in writing which features are included in the quoted plan.

Configuration sequence for a HIPAA-scoped instance

This sequence takes a self-hosted Metabase from a demo install to an instance with a production database, federated sign-in, bounded sessions, scoped data access and usage records that your compliance team can review. Each step closes with a check you can file as evidence for your own Security Rule risk analysis.

  1. Choose the plan that includes the controls you need

    Your compliance lead and the Metabase account team confirm which plan covers the controls you plan to rely on. According to Metabase's pricing page, SSO, row and column level permissions, and usage analytics and auditing are included only in the Pro and Enterprise plans, not in Open Source or Starter. Record the chosen plan and the list of features it must include in your system description, and confirm current pricing directly with Metabase because plan terms change.

  2. Deploy on infrastructure you control

    Your platform team installs the Metabase JAR or container inside a network segment you operate, with the hosting environment covered by a signed business associate agreement where a cloud provider is involved. Confirm that the host, storage and backups sit inside the boundary described in your risk analysis. The check is a running instance that answers only on the internal address and TLS endpoint you documented.

  3. Move the application database off H2

    Metabase ships with an embedded H2 database meant for demos. Your database team uses the documented load-from-h2 step to move application data to PostgreSQL, which Metabase recommends for production, or to MySQL 8.4.0 or MariaDB 10.6.0 or later with utf8mb4. The load must run with the same Metabase version that last wrote the H2 file. The check is a successful load, a backup of the new database, and a login that shows the migrated users and groups.

  4. Configure SSO and group mapping

    Your identity team connects Metabase to your identity provider using SAML or OIDC, using the documented setups where your provider has one. Map identity provider groups to Metabase groups so that access follows your existing role model rather than manually created accounts. Test with one account from each group and confirm that disabled users lose access on the next sign-in. The check is a group membership report that matches your access approval records.

  5. Set session timeout and maximum session age

    Your platform administrator sets MB_SESSION_TIMEOUT so users are logged out after inactivity, and MAX_SESSION_AGE to cap how long any session can live. MAX_SESSION_AGE defaults to 14 days, so change it only after your risk analysis supports the value you choose. Both settings are available on Pro and Enterprise. The check is a test session that expires at the configured inactivity point and a configuration record stored with your change documentation.

  6. Restrict data permissions by group

    Your data owners define which groups can query which databases, schemas and tables, and use row and column level permissions where PHI must be filtered by role or care relationship. Start from least privilege, then grant exceptions with a named approver. Confirm the result by signing in as a test user from each group and attempting queries on restricted tables. The check is a permission matrix that matches your documented access policy and shows the denied results.

  7. Enable usage analytics and export audit data

    Your administrator turns on usage analytics and auditing, which is part of the Pro and Enterprise plans, and decides who may view it. Plan where the records are kept, how long they are retained, and how they are reviewed during access reviews. Run a test action, such as a saved question view by a test user, and confirm it appears in the audit data. The check is a recorded event tied to a named user that your reviewers can find.

  8. Pin a supported version and document the baseline

    Your platform team selects a release from Metabase's version support page, preferring an LTS release because it is supported for 14 months, and pins it in your deployment definition. Record the version, JAR or image digest, database engine version and configuration in your change record. Confirm the support end date on the version support page before go-live and calendar the next review. The check is a baseline document that your auditor or risk owner can compare against later releases.

Audit evidence Metabase produces and how to keep it

Several records from a self-hosted Metabase can support HIPAA Security Rule activity review, access management and change tracking. Which ones you can rely on depends on your plan, your configuration and where you store them. The covered entity sets retention periods and decides what is reviewed, so the cards below describe what to collect and check.

Usage analytics and audit records

Usage analytics and auditing are included only on the Pro and Enterprise plans, not on Open Source or Starter. Confirm the events it records, who can view the audit area and whether you can export it, because a HIPAA review needs records that show who accessed electronic protected health information and when. Test the export with a sample user before you depend on it for activity review. Keep copies outside the Metabase application database so they survive an instance failure.

Metabase pricing

Group and permission exports

Record the groups, data permissions and collection permissions at each review date, along with who approved each change. Access management under the Security Rule expects you to show that users can reach only the data their role requires. Compare exports over time to detect drift, such as a user added to an all-data group. Confirm whether your plan lets you export this information directly or whether you need to capture it through the API.

People and groups docs

SSO configuration records

Keep a dated record of the identity provider settings, group mappings, attribute sync rules and any SCIM provisioning configuration. On Pro and Enterprise, SAML, JWT, OIDC, advanced LDAP sync and SCIM require these settings, so changes to them change who can sign in. Store the configuration and its change history under your normal change control. Tie each change to a ticket that names the approver, so the record shows who granted or revoked access.

Session timeout settings

Record the value of the inactivity timeout (MB_SESSION_TIMEOUT) and the maximum session age (MAX_SESSION_AGE) in each environment, along with the date each value took effect. The inactivity timeout is available on Pro and Enterprise. The maximum session age defaults to 14 days unless you change it. Retain the settings from each review cycle so you can show automatic logoff was configured as your risk analysis decided.

Application database backups before upgrades

Metabase runs application database migrations automatically during upgrades, and the documentation recommends backing up the application database first. Keep each pre-upgrade backup with its version number, timestamp and checksum, and store it encrypted and access-controlled. These backups also serve as the rollback source. Confirm your restore procedure works by testing it in a non-production environment before you rely on it.

Upgrading Metabase docs

Upgrade and rollback logs

Keep a change record for every upgrade, including the source and target versions, the date, the person who approved it, migration output, and any rollback performed. Rollback is done by restoring the pre-upgrade backup or running the migrate down command with the newer JAR. Record which method you used and why. These logs show that security patches were applied in a controlled way and that the system stayed within a supported release.

Metabase version support

Keeping a HIPAA instance patched through upgrades

Plan every upgrade around Metabase's support windows. Metabase LTS versions are supported for 14 months, while non-LTS versions usually reach end of life after about 2 months. Every release receives bug and security fixes until its end-of-life date, so an instance on a non-LTS release needs an upgrade cycle that moves faster than most hospital change calendars. Metabase 64 is an LTS release published on 16 September 2026 with end of life on 1 December 2027, which gives a HIPAA workload a defined target. Confirm the current release and its end-of-life date on the Metabase version support page before you schedule the window, and record the date in your asset inventory so the patch cycle has an owner.

Use a backup-first routine for every upgrade. Metabase runs application database migrations automatically at startup, so back up the application database before you swap the JAR, and keep that backup under the same encryption and access controls as the PHI it may indirectly reflect. For major upgrades, the Metabase docs recommend reducing a cluster to a single node because of a migration lock, so plan a short maintenance window for that step. If you are upgrading from a version older than 40, move through each release in order rather than jumping straight to the newest one. Test the upgrade in a non-production copy first, and record the result, the versions involved and who approved the change.

Write the rollback plan before the upgrade starts. Metabase recommends restoring the pre-upgrade application database backup, which is the cleaner path, and the alternative of running the migrate down command with the newer JAR is available but adds risk. Test the restore in staging so the team knows how long it takes and which secrets and configuration must be present. These steps support the security management and contingency planning expectations of the HIPAA Security Rule, which ask covered entities to keep systems current and to plan for recovery. Confirm with your compliance lead how the patch and rollback records will be retained as documentation.

What Metabase and the platform do not cover

Running Metabase on PHI moves several HIPAA obligations onto your organization, your hosting site and your vendors. The cards below list the gaps that no software setting closes, plus the edition limits that decide which controls you can enforce inside Metabase at all.

No HIPAA certification exists

HHS states that no Security Rule standard requires certification and that HHS does not endorse or recognize private certifications. A vendor badge or a third-party seal does not show that your deployment complies. Ask any partner for evidence of the controls they tested, not for a certificate, and treat any claim of "HIPAA certified" software as a marketing statement.

Required certifications
0
HHS certification FAQ

Risk analysis and workforce training

The risk analysis under the administrative safeguards and the workforce security and training specifications are organizational duties. Metabase cannot assess your threats, decide acceptable risk or train the analysts who query PHI. Document who may query which tables, how often you review the analysis, and how new staff learn the rules before they receive a login.

Physical safeguards depend on the site

Facility access, workstation placement, device and media disposal, and the data center's controls sit under the physical safeguards in 164.310. Your choice of cloud region, colocation provider or on-premises room decides much of that layer. Ask the hosting provider for its physical security evidence and confirm who can reach the servers that hold Metabase's application database and query caches.

Business associate contracts for every vendor

A business associate contract under 164.314 must require the vendor to follow the Security Rule, pass the same terms to subcontractors that handle ePHI, and report security incidents. This applies to your cloud provider, managed database host, backup vendor and any partner that can reach PHI during deployment or support. Confirm each contract before a vendor's staff gets access to the environment.

Section 164.314 text

Open source edition lacks key controls

The open source and Starter plans do not include SSO, row and column level permissions, or usage analytics and auditing. Those gaps mean you cannot tie individual access to group-based limits or produce per-user activity logs from Metabase alone. Decide whether you need Pro or Enterprise before you load PHI, and confirm current plan terms on the pricing page.

Metabase pricing page

Proposed Security Rule revision pending

HHS proposed a major Security Rule revision on January 6, 2025 (90 FR 898, RIN 0945-AA22). As of October 2026 no final rule has been published, and the Unified Agenda projects final action for July 2027. Build your controls against the current rule, track the rulemaking, and plan a review of your configuration when a final text appears.

Proposed rule text

Questions buyers ask before a HIPAA Metabase rollout

What drives the cost of a self-hosted Metabase HIPAA rollout?

Cost has four parts: the Metabase plan, infrastructure, the hours spent mapping controls, and the implementation work itself. The Open Source plan is free, while Starter is listed at $100 per month or $90 per month billed yearly with the first 5 users included, and Pro at $575 per month or $517.50 per month billed yearly with the first 10 users included, according to the Metabase pricing page. SSO, row and column level permissions and usage analytics and auditing require Pro or Enterprise, and Enterprise is priced by quote starting at $20,000 per year. Infrastructure, backups and the hours to map controls recur or vary with your environment, so ask any quote to separate one-time work from recurring fees.

Does the open source edition support HIPAA access controls?

The open source edition covers basic use, but several controls that HIPAA-regulated teams usually need sit in paid plans. Per the pricing page, SSO, row and column level permissions, and usage analytics and auditing are included only in Pro and Enterprise. Open Source and Starter support Google sign-in and LDAP, while SAML, OIDC, JWT and SCIM provisioning require Pro or Enterprise. Confirm the exact feature set against the current pricing page before you decide, because a plan that lacks a needed control may require either a paid tier or a compensating measure you can document.

How long does a HIPAA Metabase rollout take?

Duration depends mainly on how many identity sources and data sources are in scope, and on how much of the risk analysis is already written down. A rollout that uses one identity provider and one warehouse with a clear group model takes less time than one that maps several directories, row-level rules and multiple databases. No standard duration is supplied for this work, so ask for a timeline in the written scope, with milestones for identity setup, data source connections, session and logging configuration, and testing. Fixed-scope engagements agree the timeline in writing before work starts.

What must our team provide before implementation starts?

Your team provides the inputs that DeployOpen cannot infer from the environment. Expect to supply:

  • Administrative access to your identity provider and the group or attribute model it already uses
  • A list of every database or warehouse Metabase will query, with the tables and columns that hold PHI
  • Your current risk analysis and any documented decisions on addressable implementation specifications
  • Hosting details, network boundaries and the cloud or data center accounts where the system will run

Missing inputs usually extend the schedule, so confirm them in the written scope before work begins.

Can our internal team deploy and run Metabase for HIPAA workloads?

Yes, a capable internal team can do this, but the work needs skills in identity, database access control, Linux or container operations and security documentation. The Security Rule expects your organization to decide how each standard is met, so internal staff must own the risk analysis, the policy decisions and the evidence. Many teams split the work: an internal owner keeps decision rights and operations, while an outside implementer handles configuration, hardening and testing. Compare the internal hours required for control mapping against the scope you agree with any partner.

Do we need a HIPAA certification for our Metabase deployment?

No. HHS states that no Security Rule standard requires an entity to certify compliance, and that HHS does not endorse or recognize private certifications. Such certifications also do not prevent HHS from later finding a violation. What matters is that you can show your safeguards, risk analysis and documentation under 45 CFR Part 164 Subpart C. DeployOpen prepares systems, controls and evidence for compliance assessments, but it does not issue audit reports, attestations or certifications. Independent auditors and certification bodies do that work, and only if you choose them.

What penalty exposure applies if a Metabase deployment falls short?

The Office for Civil Rights can impose civil money penalties under the inflation-adjusted table in 45 CFR 102.3. For penalties assessed on or after January 28, 2026, the range runs from $145 per violation (no knowledge) to $2,190,294 per violation (uncorrected willful neglect), with a calendar-year cap of $2,190,294, according to 91 FR 3666. The actual amount depends on the culpability tier and the facts of each case. OCR also enforces the rule through complaint investigations, compliance reviews and audits, so documented controls and prompt corrective action reduce risk.

Which Security Rule safeguards stay our responsibility after Metabase is deployed?

Most of the ongoing Security Rule work stays with your organization. That includes the annual risk analysis, workforce access reviews, sign-off on who may see PHI, incident response, business associate agreements with any vendor that handles ePHI, and retention of documentation under 45 CFR 164.316. Technical safeguards such as unique user identification, automatic logoff and encryption are addressable or required specifications that you must assess and document, even when a partner configures them. Plan for an owner who reviews Metabase access and audit data on a set schedule.

Where PHI and identity flow in a self-hosted Metabase

The diagram starts with an analyst signing in through the identity provider, which hands the session to the Metabase application inside the client's own infrastructure. Queries run from Metabase to the PHI data source, so the connection and its permissions stay inside the client's trust boundary. Metabase writes configuration, saved content and usage data to the application database, which feeds usage analytics used in access reviews and is copied to the backup store. Outbound connections from the Metabase host leave that boundary and must be reviewed before go-live. Confirm how each identity, audit and backup path is set up in your own environment.

Trust boundaries, audit and backup paths, and outbound connections to review before go-live.

How DeployOpen scopes and delivers HIPAA-ready Metabase setups

DeployOpen plans, builds, documents and supports self-hosted Metabase inside your own cloud accounts, data centers or air-gapped networks. The work starts from a written scope that maps each HIPAA Security Rule area to a configured control, a test and a piece of evidence your compliance team can review.

How we scope

  • Inventory the databases, PHI tables and user groups Metabase will query before choosing a plan.
  • Confirm which features your plan needs, such as SSO, row and column permissions and usage analytics.
  • Agree deliverables, out-of-scope items and timelines in writing before any build work begins.

How we build

  • Deploy Metabase with PostgreSQL as the application database inside infrastructure you control.
  • Configure group, data and collection permissions so each team sees only the PHI it needs.
  • Set session timeouts, encrypt stored credentials and restrict outbound connections to approved endpoints.

How we hand over

  • Document the configuration, access model and the control mapping your risk and compliance staff will review.
  • Deliver a runbook covering backups, upgrade steps, log retention and access review procedures.
  • Name the items that stay with your organization, including risk analysis, policies and business associate agreements.

How we support

  • Offer ongoing support, upgrades and continuous testing as a retainer after handover.
  • Plan upgrades with application database backups and a tested rollback path before each release.
  • Retest access controls and session settings after significant configuration or version changes.

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.