Google BigQuery vs Trino for HIPAA: which side fits which setup
Choose BigQuery when the team wants a managed query service under a Google Business Associate Agreement and accepts Google as the host of the data. Choose Trino when the query layer must run inside the organisation's own network under its own controls. This section covers only the HIPAA angle, and the general comparison sits on its own page. For a covered entity or business associate with protected health information (PHI) in analytics, the decision turns on three questions: where PHI is stored and queried, what the signed agreement actually covers, and whether your team can run and evidence Trino's controls itself. Under 45 CFR 164.302, covered entities and business associates must apply the Security Rule to electronic PHI, so the choice does not remove that duty from either side.
Trino's BigQuery connector lets the two be combined, so a team can keep the query engine in its own network and reach BigQuery tables through it. Be exact about what a BAA covers in that setup. The Google Cloud HIPAA page says Google enters into BAAs as necessary and lists BigQuery, BigQuery Data Transfer Service and BigQuery Omni among supported services, but it also says customers must follow its best practices and evaluate their own HIPAA obligations. Any BAA covers only the Google side. The Trino cluster, its coordinator and workers, its logs and the systems that hold its credentials stay under your own controls. Before PHI passes through the connector, confirm with Google and your counsel which services and data paths the BAA covers, and document that boundary.
Treat the Trino side as work your team owns. Trino is Apache-2.0 licensed, so the engine itself carries no license fee, but the organisation carries the operating evidence. Start with transport: the Trino TLS documentation says client connections can use HTTPS with TLS 1.2 and 1.3 and that older TLS versions are rejected, so check that your deployed configuration matches. Then document authentication, access control and audit logging, including whether the HTTP event listener or another event listener feeds your log platform. Under 45 CFR 164.306(d), each addressable implementation specification needs a documented assessment, and an equivalent measure where you decline one. Before you commit, ask your team to name who can reach the cluster, who holds its keys and where its logs live.
How PHI moves between Trino, BigQuery and the audit trail
This illustrative diagram starts with analysts and applications inside the organization's network, which connect to Trino over HTTPS using TLS 1.2 or 1.3. Older TLS versions are rejected. Trino's BigQuery connector then reads data from BigQuery in Google's environment, which is the main hand-off across the trust boundary. Trino's event listener sends query events to the organization's own retained log store, either over HTTP or to a MySQL database. BigQuery audit logs are written to Cloud Audit Logs on the Google side. Confirm that your BAA covers each Google service you use, and confirm how those audit entries reach your retained store, since the diagram does not show that path.
Illustrative data flow across the Trino and Google Cloud trust boundary.
What HIPAA's Security Rule asks of a warehouse or lakehouse
The HIPAA Security Rule sits at 45 CFR Part 164 Subpart C, sections 164.302 to 164.318, and it applies to covered entities and business associates for electronic protected health information. The duty stays with your organization whichever engine you pick. Google Cloud's HIPAA page says Google enters into business associate agreements as necessary and lists BigQuery among its supported services, but it also says customers must follow its best practices and evaluate their own HIPAA obligations. Confirm that a BAA is signed for the Google Cloud organization that holds your data, and that each BigQuery feature you plan to use is in scope. For Trino, ask every party in the hosting chain, including the cloud provider under your cluster, whether it will sign a BAA, and file the answers with your risk analysis.
Appendix A to Subpart C of Part 164 groups the Security Rule into 18 standards: administrative safeguards at 164.308, physical safeguards at 164.310 and technical safeguards at 164.312. Those standards contain 36 implementation specifications, of which 14 are required and 22 are addressable. Sections 164.314 and 164.316 add the organizational requirements and the policies and documentation you must keep. For a warehouse, the technical safeguards map most directly to the platform, covering access control, audit controls, integrity and transmission security. An addressable specification still needs a documented decision. You must assess whether it is reasonable and appropriate for your environment, document the reason if it is not, and implement an equivalent alternative measure where that is reasonable and appropriate, as set out in 45 CFR 164.306(d).
The practical first step is to map each addressable specification that touches the warehouse to the BigQuery or Trino setting that answers it, and write down the decision for each one. Trino's documentation describes client connections over HTTPS with TLS 1.2 and 1.3, and older TLS versions are rejected, which is a useful starting point for transmission security. The assessment, the reason behind each setting and any compensating measure are still your records to keep. Ask Google which audit logging and retention settings you will rely on, and for Trino, decide which event listener and log destination will hold query history. Finally, read the HHS FAQ on whether certification is required yourself, and take the answer to counsel before you describe your status to a customer or auditor.
How each side meets the Security Rule as documented
This table compares how Google BigQuery and Trino are documented against common Security Rule areas for electronic protected health information. Read each row as the vendor's documented position first, then as the work your team still owns. The main takeaway is that BigQuery's HIPAA position rests on a vendor agreement and shared responsibility, while Trino's rests on the controls you build, configure and document yourself.
| Requirement area | Google BigQuery | Trino |
|---|---|---|
| Signed agreement | Google enters into BAAs as necessary and lists BigQuery as a supported service. Confirm the agreement covers the services you use. | Trino is Apache-2.0 and self-hosted, so no BAA can be signed for it. Any hosting or support vendor needs its own agreement. |
| Encryption in transit | Confirm Google's transport encryption requirements for BigQuery in its documentation before you rely on them in your assessment. | Client connections can use HTTPS with TLS 1.2 and 1.3, and older TLS versions are rejected. |
| Audit logging | Audit logging is documented through Cloud Audit Logs. Confirm which BigQuery events are captured and how long you keep them. | Event listeners for HTTP and MySQL are documented, so you choose and operate where query events are sent and kept. |
| Access control | Confirm with Google which identity and access controls apply to your BigQuery setup and how they map to your policy. | The security overview covers authentication and authorization, so confirm which options your version offers before you design around them. |
| Data location | Google's HIPAA documentation does not settle where BigQuery stores data, so confirm storage location with Google. | Trino runs wherever you deploy it, so its location is the cloud account, data center or air-gapped network you choose. |
| Documented scope | Google lists BigQuery, BigQuery Data Transfer Service and BigQuery Omni among supported services. Customers must follow its best practices and evaluate their own HIPAA obligations. | Trino is self-hosted software, so your deployment, connectors and configuration define the scope you must document. |
Where the Google BAA stops and your Trino cluster starts
A Google BAA covers the Google services it lists, so BigQuery storage and queries fall under it only when the Google Cloud account and the specific services are in scope. Google's HIPAA page says Google enters into BAAs as necessary and names BigQuery, BigQuery Data Transfer Service and BigQuery Omni among supported services, with that list last updated on 2026-11-11. Confirm with Google which services and editions your agreement covers, then check the services-in-scope list for the compliance program you will be assessed against. Record the answer in your data inventory, because an assessor will ask which systems hold electronic protected health information and under which agreement.
The Trino coordinator and workers run in your network on infrastructure you operate, so no Google agreement reaches them. Their safeguards are the ones your team configures and evidences: TLS on client connections (Trino documents HTTPS with TLS 1.2 and 1.3, and older versions are rejected, as described in Trino's TLS documentation), authentication and authorization on the coordinator, access control for each catalog, host hardening, patching and audit logging. If the cluster reads from BigQuery through Trino's BigQuery connector, query results pass through your cluster, so the cluster's controls govern that data in transit and in memory while the Google agreement covers only the Google side. Decide where coordinator and worker logs are kept, who can read them and how long they are retained before go-live.
Exporting BigQuery data to Cloud Storage creates a second copy, and that copy needs the same access, encryption and retention controls as the source table. Review the bucket's IAM bindings separately, since permissions on the table do not automatically govern the bucket, and confirm who can read, write and delete objects. Check that the bucket's encryption and retention settings match what your policy requires for the source data, and confirm whether the Google agreement and services list also cover Cloud Storage for your account. The BigQuery export documentation describes how export jobs write files. Ask your Trino team whether any workload writes query results to object storage, because those files are copies too and belong in the same inventory.
Evidence an assessor asks for in a HIPAA review, by side
For BigQuery, much of the evidence sits in your Google Cloud account and in Google's published terms. Start with the signed Google business associate agreement (BAA) for the account and confirm that it covers the projects holding protected health information, because an assessor will ask which contract governs the data. Google's Cloud HIPAA page lists BigQuery, BigQuery Data Transfer Service and BigQuery Omni among supported services, with the list last updated 2026-11-11. Save a dated copy of that page and of the services-in-scope list, since scope can change between your review and your next assessment.
- Signed BAA: the executed agreement, the Google Cloud account or organization it covers, and the date it was signed.
- HIPAA page and scope list: dated captures showing BigQuery as in scope on the day you tested the setup.
- Attestation reports: Google's compliance resources list the reports it publishes; ask Google which reports cover BigQuery and obtain the current copies under your agreement.
- Audit log exports: BigQuery audit logs routed to a sink you control, with retention matched to your policy, so you can show who queried what.
- IAM policy records: exported project and dataset policies with their change history, showing who can read the protected tables.
Confirm with Google which BigQuery features and regions you plan to use, because Google's best practices and your own HIPAA obligations remain yours to evaluate.
For a self-hosted Trino cluster, the evidence is what your team configures, records and retains, because the evidence about your deployment comes from your own settings, logs and change history. Trino's TLS documentation describes HTTPS client connections using TLS 1.2 and 1.3, with older TLS versions rejected, so the assessor will expect the configuration and a test that shows the rejection. The points below cover what should exist for each part of the cluster.
- TLS configuration: the coordinator and worker settings that enable HTTPS, plus scan output from the cluster endpoint showing TLS 1.2 and 1.3 accepted and older versions refused.
- Authentication and authorization: the authenticator and access control configuration in use, the list of administrators, and approvals for changes to either.
- Event listener output: query events sent to a log store your organization operates, with retention set by policy. Confirm which listener type you run, because the HTTP and MySQL event listeners differ in where they send events.
- Version and patch record: the Trino release running in each environment, such as release 484, published on October 15, 2026, and the Java runtime, which must be 25.0.1 or later, with dates for each patch.
- Change records: tickets linking each configuration or version change to a reviewer, a test result and a rollback plan.
Before the assessment, run a test query, confirm the event appears in your log store, and check that the recorded versions match what is running.
Some evidence belongs to neither platform. The Security Rule in 45 CFR Part 164 Subpart C applies to covered entities and business associates for electronic protected health information, so the analysis of that data and the decisions on each safeguard are the organization's to document. This tab applies to both the BigQuery and Trino designs. The assessor reviews your own documentation first, then any vendor reports you hold.
- Risk analysis: a written assessment of where electronic protected health information enters, is stored and leaves the query layer, including catalogs, result sets, exports and dashboards.
- Addressable decisions: for each addressable specification, a record of whether it is reasonable and appropriate, the reason if it is not, and the equivalent measure chosen, as described in 164.306(d).
- Required specifications: a map from the 14 required implementation specifications in Appendix A to Subpart C to the evidence for each platform.
- Policies and documentation: the documentation standards in 164.316, covering policies, procedures, and how they are reviewed and kept current.
- Vendor reports: the Google reports and agreements you hold, filed beside your own analysis, because they support that analysis and do not replace it.
Ask your assessor how they want addressable decisions presented, and confirm the documentation retention period in the text of 164.316 before you set it in policy.
Steps to prepare a HIPAA data path for review
This sequence sets up the data path for a HIPAA review in the order an assessor will walk it: contract coverage first, then where queries run, how traffic is encrypted, who gets in, what gets logged, and what is restricted. It ends with a dry-run assessment that collects the evidence set, so gaps surface before a formal review starts.
Confirm the BAA and covered services
Compliance leads this step, with security reviewing scope. Confirm with Google that a business associate agreement (BAA) covers your BigQuery use, and note the services it includes. Google's HIPAA page lists BigQuery, BigQuery Data Transfer Service and BigQuery Omni among supported services, and it says customers must follow its best practices and assess their own HIPAA obligations. Trino is self-hosted, so no vendor signs a BAA for it, but confirm whether the cloud or data center that hosts it will. The step closes with a BAA reference and a service list that covers every component in the planned path.
Decide where the query layer runs
Data platform leads this step, with security reviewing the result. Decide whether Trino runs in your own cloud account, a data center or an air-gapped network, and which BigQuery datasets it reads through the BigQuery connector. Trino's connector list includes BigQuery, so one query can join BigQuery tables with other sources, which means every hop that carries PHI falls inside the BAA review. Name each host, network segment and account that touches PHI. The step closes with a data-flow diagram that shows where queries execute and where results travel, checked against the service list from the first step.
Enable TLS for Trino client connections
Security leads this step, with data platform applying the configuration. Trino's documentation says client connections can use HTTPS with TLS 1.2 and 1.3, and that older TLS versions are rejected. Issue certificates from your own certificate authority, enable HTTPS on the coordinator, and point every client, BI tool and automation job at the secure endpoint. Check internal traffic against the TLS documentation too, since client encryption alone may not cover every hop. Test with a client that negotiates TLS 1.2 or 1.3, and confirm that a connection attempted with an older version fails. The step closes with the configuration files and a saved test log showing both results.
Configure authentication and authorization for Trino
Security leads this step. Choose the authentication method for Trino from those its security overview documents, and map each identity group to the catalogs, schemas and tables it may read. Restrict PHI tables to named groups and deny by default where your access control supports it, then confirm this against the access control documentation for your Trino version. Keep BigQuery connector credentials out of shared configuration and scope them to the datasets in the data flow. The step closes with an access matrix for PHI tables and a test in which an unauthorized user's query is denied and logged.
Route event and audit logs to retained storage
Security leads this step, with compliance approving retention. Turn on query event output from Trino using an event listener, and check Trino's HTTP and MySQL event listener documentation for the option that fits your storage. Enable BigQuery audit logging through Cloud Audit Logs and route it, alongside the Trino events, to storage the organization controls. Set retention to match your policy and legal obligations, and confirm the value with compliance. The step closes when a sample Trino query and a BigQuery access entry can both be retrieved from that storage.
Restrict service accounts and export paths
Security leads this step, with data platform maintaining the allow lists. List every service account that can run queries, read PHI tables or trigger exports, and remove roles the data flow does not need. BigQuery can export table data to Cloud Storage, so decide which buckets are approved, restrict export rights to those destinations, and block or alert on exports elsewhere. Apply the same review to Trino's own service accounts and to any scheduled jobs. The step closes with an IAM role inventory and an export allow list, plus a test export to an unapproved bucket that is either blocked or raises an alert.
Record addressable decisions and the risk analysis
Compliance leads this step, with security and data platform supplying facts. Appendix A to the Security Rule lists 18 standards across administrative, physical and technical safeguards, with 36 implementation specifications: 14 required and 22 addressable. For each addressable specification that touches this data path, assess whether it is reasonable and appropriate. If it is not, document why and record an equivalent measure, as 45 CFR 164.306(d) describes. Pair these decisions with a risk analysis of the data path. The step closes with a decision log for addressable specifications and a dated risk analysis approved by the accountable owner.
Dry-run the assessment to collect evidence
Compliance leads this step, with security and data platform presenting their artefacts. Walk the data path end to end as an assessor would, using the artefacts from the earlier steps, and record every gap with an owner and a fix. DeployOpen can run security testing and prepare evidence for this review, but an independent assessor issues any attestation or report. Ask your assessor which evidence formats they accept before the dry run. The step closes when each artefact exists, each gap has an owner and a retest date, and the evidence set can go to the assessor without edits.
What a HIPAA data platform costs in effort and infrastructure
For Google BigQuery, the bill has three meters, and the controls you must run sit outside it. On-demand queries cost $6.25 per TiB processed, after the first 1 TiB free each month per billing account. Capacity pricing bills slot-hours through the Standard, Enterprise and Enterprise Plus editions, per second with a 1-minute minimum, with lower rates for 1-year and 3-year commitments. Storage is billed at $0.000031507 per GiB-hour for active logical storage and $0.000021918 per GiB-hour for long-term storage, with the first 10 GiB free each month. The Storage Read API has a free tier of 300 TiB read per month. These figures come from Google's BigQuery pricing page and can change, so confirm them on the day you budget. The price sheet does not cover your audit log retention, access reviews or the engineers who set project-level and dataset-level controls, and those are the costs a HIPAA review will grow.
For Trino, the Apache-2.0 license carries no license fee, so every cost is infrastructure, runtime or people. Recurring infrastructure is compute and object storage for the coordinator and workers, plus a 64-bit Java 25 runtime (minimum 25.0.1) on Linux. People cost more than the nodes. Someone must configure TLS for client connections (TLS 1.2 and 1.3 only, with older versions rejected), set access control, route query events to a log sink and patch the JVM and Trino releases. One-time work covers design, catalog and connector configuration, and the first evidence set: a control map for each system, a documented access model and a tested log pipeline. Recurring work covers compute, storage, patching, log retention and re-evidencing after each change. Trino's deployment documentation recommends a dedicated coordinator for larger clusters, which adds a node to size, patch and monitor, so test that choice under your own load.
Ask any quote, for either platform, to state four things in writing. First, the systems in scope: every BigQuery project and dataset that holds ePHI, or every Trino coordinator, worker, catalog and log sink that touches it. Second, the BigQuery edition and pricing model assumed, on-demand or capacity with a commitment term, because these change the bill more than most engineering choices. Third, the log retention periods for query and access logs, since the audit controls under the technical safeguards in 45 CFR 164.312 will be tested against them. Fourth, the evidence deliverables, such as a control mapping, configuration baselines, a runbook and a retest record. DeployOpen works on fixed scope, with scope, deliverables and timelines agreed in writing before work starts, and it does not publish a price list, so any quote follows from that written scope. Confirm with Google which services and features your business associate agreement covers before you commit to a design.
How much effort does HIPAA work on BigQuery or Trino take?
Can we run Trino and skip the BAA?
No. A business associate agreement is signed with a vendor that handles protected health information for you, and self-hosted Trino, licensed under Apache-2.0, has no vendor to sign one. You run it in your own cloud account, data center or air-gapped network, so your organization carries the obligations itself, including the risk analysis, access controls, audit controls and transmission security that the Security Rule requires. If a managed service or commercial distribution touches the same data, ask that vendor whether it will sign a BAA before you assume the scope is covered. Have counsel confirm how the BAA question applies to each system that touches electronic protected health information, including backups and logs.
What drives the effort of a HIPAA deployment on Trino?
The main drivers are how many data sources you query, how many systems hold or move electronic protected health information, and how much logging and access control already exists. Each source adds connection credentials, TLS settings and an access policy to document. Trino's documentation says client connections can use HTTPS with TLS 1.2 and 1.3, and older TLS versions are rejected, so confirm that your clients and load balancers match. Each system in scope needs an entry in your risk analysis and a place in your audit trail. A team with central identity, log routing into a SIEM and tested access reviews has far less to build than one starting from local accounts with unshipped logs. Scope the first project to one or two sources to measure the work before you widen it.
What drives BigQuery spend for a regulated workload?
Spend splits across query processing, compute capacity and storage, and each one scales with a different part of your usage. Google's BigQuery pricing page lists on-demand queries at $6.25 per TiB processed, with the first 1 TiB free each month per billing account. Capacity pricing is billed per slot-hour under the Standard, Enterprise and Enterprise Plus editions, with lower rates for 1-year and 3-year commitments. The same page lists active logical storage at $0.000031507 per GiB-hour and long-term logical storage at $0.000021918 per GiB-hour, with the first 10 GiB free each month. Bytes processed, slot hours and retained data grow with how many teams query the data and how long you keep it. Ask for a quote that models each of these from your own query history, plus the log volume your compliance team requires you to keep.
Can our own team run HIPAA controls without a partner?
Often yes, if the team already runs the platform and compliance staff join the work early, but the effort spans several skills. Trino needs a 64-bit Linux host and a 64-bit Java 25 runtime (minimum 25.0.1), and the documentation includes a guide to running it on Kubernetes with Helm, so you need Kubernetes or Linux operations skills. Engineers need Java to read server configuration, plugins and connector issues. Identity work covers IAM roles, group mapping and least-privilege catalog access. Log routing sends query and access events to your SIEM, and compliance writing produces the risk analysis, policies and procedures an assessor will read. Count how many people hold each skill before you decide, and record the gaps in writing.
Do we need a certificate for HIPAA compliance?
Start with the HHS FAQ on certifying compliance with the standards, which addresses whether organizations must certify, then confirm with counsel what your customers and contracts require. Some buyers ask for an attestation or audit report from an independent assessor, which is a separate engagement. DeployOpen prepares systems, controls and evidence for a compliance assessment, such as configuration records, access review outputs and logging setup. DeployOpen does not issue certificates, audit reports or attestations. Independent auditors and certification bodies do that work, so budget for them separately from the implementation scope.
How long does a HIPAA project on BigQuery or Trino take?
No duration is published for this work, so the timeline follows the written scope that you and DeployOpen agree before work starts. The scope lists the sources, systems in scope, deliverables and the tasks your team owns, and those are the main inputs to the calendar. Ask for a scope that names each source, each control area, the evidence you will receive and the dependencies on your identity, network and logging teams. For BigQuery, also confirm the status of Google's BAA for your account and which services are in scope, because those checks can gate the start date. Most engagements are fixed-scope, and ongoing support, upgrades and continuous testing run as retainers after the initial work.
How DeployOpen helps prepare the evidence for either path
DeployOpen helps teams work through how each path would be evidenced for HIPAA and healthcare, then prepares the systems, controls and documentation an assessor will ask about. DeployOpen plans, implements, hardens and documents self-hosted open-source platforms in your own infrastructure, and it does not issue audit reports or certifications.
How we scope
- The written scope names which path, Trino or Google BigQuery, the engagement covers before any work starts.
- Scope lists the HIPAA safeguards and documentation items each side must evidence, agreed with your security and compliance leads.
- Engagements are fixed-scope, so deliverables and timelines are written down before the work begins.
How we build
- For Trino, we deploy in your infrastructure, allow only TLS 1.2 and 1.3 for client connections, and document catalog settings.
- Where BigQuery is the chosen path, the written scope defines which configuration reviews and evidence DeployOpen covers.
- Hardening covers access control, credential handling and backup routines for the self-hosted components, documented in the handover.
How we hand over
- Deliverables include configuration records, data flow and access documentation, and the control evidence your assessor may request.
- Evidence packs map each item to the Security Rule safeguard it supports, for your team's review.
- Your compliance team and independent assessor decide whether the evidence is sufficient, since DeployOpen issues no audit reports.
How we support
- Ongoing support, upgrades and continuous testing are available as retainers, separate from the initial fixed-scope work.
- Trino publishes numbered releases, such as 484 on October 15, 2026, so plan regular upgrade and retest cycles.
- Ask for retainer terms in writing that state which BigQuery changes, managed by Google, are covered.

