Amazon Redshift vs Trino for HIPAA: which side fits which workload
If PHI has to sit in a warehouse or lakehouse and both Amazon Redshift and Trino are on your shortlist, the HIPAA question is less about query features than about who signs and who operates the platform. Amazon Redshift is the side where AWS documents a business associate agreement path: AWS lists Redshift in its HIPAA eligible services reference and says a BAA must be in place before PHI goes into listed services. Self-hosted Trino cannot sign a BAA, so the organization running it carries the HIPAA obligations itself, from TLS configuration to audit logging to the evidence an assessor will review. Trino's documentation describes HTTPS client connections using TLS 1.2 and 1.3, with older versions rejected, but enabling and verifying that setup is your team's job.
This page covers the HIPAA angle only. The Security Rule in 45 CFR Part 164 Subpart C applies to electronic PHI held by covered entities and business associates, so the warehouse or lakehouse and every platform that touches PHI are in scope, whether or not a BAA exists. Many implementation specifications are addressable, which means you must assess whether each one is reasonable and appropriate for your environment, and if you do not adopt it, document why and implement an equivalent measure where one is reasonable. That assessment and its documentation are what you will need to show. The general comparison of the two platforms sits on its own page, and this section does not repeat its licensing, architecture or cost material.
Three questions should settle the shortlist before any architecture work starts. First, must PHI stay under an AWS BAA, or inside your own environment where your own agreements and controls cover it? Second, must Trino query Redshift in place, or will PHI be copied into a single store first? Trino's connector list includes Redshift, so in-place querying is documented, but every extra hop adds a control you must describe. Third, can your team own the TLS configuration, logging and evidence work for the Trino cluster on an ongoing basis? If the answer to the third question is no, a managed service or an implementation partner changes the decision before the first query runs.
Which HIPAA scenario points to Amazon Redshift and which to Trino
This scenario is illustrative and does not recommend any one organization. Here the first change is the business associate agreement. Amazon Redshift appears in AWS's HIPAA eligible services reference, and AWS advises against using listed services for PHI until an AWS BAA is in place. The warehouse and much of the control set sit inside AWS, so the evidence starts with the agreement and the account configuration.
- Sign the BAA before PHI arrives. Confirm the agreement names the AWS account and the Redshift deployment that will hold PHI.
- Verify each component separately. Serverless capacity, Spectrum and other adjacent services each need a check against the eligibility reference.
- Plan the export path. UNLOAD writes results to Amazon S3 with server-side encryption, and bucket policies and encryption settings need the same review as the warehouse.
- Model the recurring cost. AWS lists managed storage at $0.024 per GB-month in US East (N. Virginia), and Serverless capacity bills per RPU-hour, so PHI retention drives ongoing spend.
Ask AWS and your assessor to confirm which Redshift features your BAA covers before you load PHI.
This scenario is illustrative and does not recommend any one organization. Here the first change is your own TLS and logging evidence, because the cluster runs in your cloud account or data center and no vendor BAA covers the software. Trino is Apache-2.0 software, so the controls an assessor reviews are the ones you configure, test and document.
- Encrypt client connections. Trino's TLS documentation describes HTTPS for client connections with TLS 1.2 and 1.3, and older versions are rejected, so record the protocol settings in your configuration baseline.
- Forward query events to your logs. Trino ships HTTP and MySQL event listeners, so test which user, query and error fields reach your SIEM before an assessor asks for an access trail.
- Document addressable safeguards. Under 45 CFR 164.306(d), each addressable implementation specification needs a recorded decision on whether it is reasonable and appropriate, plus an equivalent measure where it is not.
- Own hardening and patching. Coordinator and worker hosts, the Java runtime, catalog credentials and version upgrades all sit with your team.
Run a test query that exercises the logging path and keep the output alongside your risk analysis.
This scenario is illustrative and does not recommend any one organization. Here the first change is the BAA, but it covers Redshift as a source while a second path opens through the Trino cluster. Trino's connector list includes Redshift among its 37 connectors, so one query can join PHI held in Redshift with data from other systems.
- Map every PHI path. Each federated query moves rows from Redshift through Trino workers to the client, so the cluster becomes a place PHI passes through and may hold it temporarily.
- Confirm who signs what. Verify with counsel whether your Trino deployment makes your organization or a vendor a business associate, and whether the AWS BAA alone covers the query path.
- Control the copies. UNLOAD to Amazon S3 creates a separate copy with its own encryption, retention and access settings that also need documenting.
- Review access as one model. Trino authentication, TLS and access control settings decide who can reach Redshift data through the cluster, so review them together with the Redshift grants.
Ask your assessor which of these paths and copies belongs in the scope statement.
What the HIPAA Security Rule asks of a warehouse or lakehouse
The HIPAA Security Rule applies to any warehouse or lakehouse that holds electronic protected health information (ePHI), because it binds covered entities and business associates alike. Covered entities include health plans, health care clearinghouses and covered health care providers. The rule is codified at 45 CFR Part 164 Subpart C, sections 164.302 to 164.318. Its Appendix A sets out 18 standards across administrative (164.308), physical (164.310) and technical (164.312) safeguards, carrying 36 implementation specifications: 14 required and 22 addressable. Sections 164.314 and 164.316 add organizational and documentation standards, so the agreements and policies around the platform count too. Start by listing every table, cache, external file and log that could hold ePHI, including Redshift UNLOAD output in S3 and Trino query logs, then map each one to the safeguards that protect it.
Each implementation specification is either required or addressable, and that label changes how you plan. For an addressable specification, 45 CFR 164.306(d) asks you to assess whether it is reasonable and appropriate for your environment. If it is not, you document why and implement an equivalent alternative measure where that is reasonable. Encryption is the example most teams meet first: it is addressable under 164.312(a)(2)(iv) and 164.312(e)(2)(ii), so an assessor will expect a documented decision for each data path. On the Trino side, the coordinator accepts HTTPS client connections with TLS 1.2 and 1.3 and rejects older versions, but you still need to confirm how internal node traffic is protected in your own configuration. On the Redshift side, UNLOAD can write CSV, JSON or Parquet files to S3 with server-side encryption, so the bucket policy, key choice and file handling belong to the same decision. Write each decision down with its owner and the date it was last reviewed.
Plan the evidence first, and check the certification question against HHS's own guidance before anyone discusses certificates. Read HHS's certification FAQ for its official position, and have your compliance lead confirm it before any vendor material calls a platform HIPAA certified. DeployOpen does not issue certifications, attestations or audit reports. What we prepare is the material an assessor reviews: access configuration for the warehouse and query engine, audit logging, encryption decisions and the written record for each addressable specification. Before build work starts, confirm with AWS that the Redshift account is covered by a business associate agreement, because AWS advises against using listed services for PHI until one is in place. Then confirm which audit outputs your Trino deployment can keep and where they will be stored.
How Amazon Redshift and Trino each meet the HIPAA Security Rule as documented
This table sets what each platform documents against the Security Rule areas that most often decide a warehouse or lakehouse choice. A cell that says to confirm marks a point you need to check in current vendor documentation or in your own environment. Neither platform makes a deployment HIPAA compliant on its own, so the table is a list of questions to take to each vendor.
| Requirement | Amazon Redshift as documented | Trino as documented |
|---|---|---|
| Business associate agreement | Listed in AWS's HIPAA eligible services reference. Do not send PHI before signing an AWS BAA. | Self-hosted open-source software, so no vendor BAA applies to the software. Confirm with counsel which hosting or support providers handle PHI. |
| Transmission security | Confirm in AWS documentation which TLS versions Redshift client connections accept. | Per Trino's TLS documentation, client connections use HTTPS with TLS 1.2 and 1.3. Older versions are rejected. Confirm encryption between coordinator and workers. |
| Export and egress | UNLOAD writes to S3 with server-side encryption. Default output is pipe-delimited files capped at 6.2 GB (MAXFILESIZE 5 MB to 6.2 GB). | Export depends on your client, connector and any sink you build. Confirm how results leave the cluster and how files are encrypted. |
| Access control | Confirm in AWS documentation how IAM, database users and grants restrict PHI tables and exports. | Trino's security overview covers the options. Confirm the authentication and authorization setup you choose, and test it. |
| Audit logging | Confirm in AWS documentation which audit logs Redshift writes and where they are stored. | Trino's HTTP and MySQL event listener pages describe two options. Confirm what each records, including whether logged query text can contain PHI. |
| Data location | The cluster or workgroup runs in the AWS region you select. Confirm where snapshots and UNLOAD targets are stored. | Location follows wherever you deploy Trino and each connected source. Confirm where coordinator, workers and sources sit. |
| Vendor attestations | Confirm Redshift is listed on AWS's SOC, ISO 27001 and PCI scope pages before citing them. | No third-party attestation applies to self-hosted Trino. Your own assessment must cover the deployment. |
Where does PHI cross the boundary in a Trino and Redshift setup?
The diagram starts with clinical and reporting applications, which send queries over HTTPS with TLS 1.2 or 1.3 to the Trino coordinator and workers inside your boundary. The workers reach Amazon Redshift through the Trino Redshift connector, so the data stays under your control until it leaves Redshift. Redshift then exports results with UNLOAD into an Amazon S3 bucket with server-side encryption, which is the hand-off where files persist outside the query engine. The AWS box marks the services that need a business associate agreement before PHI flows, and you should confirm the BAA position for each service. The Trino event listeners are the audit points for query activity.
The AWS box marks services that need a BAA before PHI flows.
Where the business associate line falls when Trino queries Redshift
Putting Trino in front of Redshift does not take PHI out of Redshift. Queries sent through Trino read the same tables, and the data still sits in the Redshift cluster or Serverless workgroup that holds it, so the AWS BAA question stays with the Redshift account. The AWS HIPAA eligible services reference lists Amazon Redshift and tells customers not to use listed services for PHI until they have entered into an AWS business associate agreement. Confirm that the agreement is in effect for the account that owns the cluster. Then check the paths around it: UNLOAD exports write files to Amazon S3, so those buckets and any downstream copies must sit inside the same covered scope.
Self-hosted Trino cannot sign a BAA, because it is open-source software that your organization runs itself. The Apache-2.0 license governs the code, not your obligations under HIPAA. The organization operating the Trino cluster therefore has to decide whether it acts as a business associate for the PHI it touches, and record that decision in its own compliance file. If the cluster runs on a cloud or colocation provider, that provider is a separate party with its own answer. Ask it in writing which agreement it will sign, which services that agreement covers, and whether the compute, storage, load balancing and any managed Kubernetes or database services used for Trino fall inside that coverage.
Write the split down before the first PHI query runs. For each party, record the agreement it will sign, its effective date, the services and data types it covers, and where that evidence is kept. For Redshift, that means the AWS account and any Serverless or S3 locations involved. For Trino, it means the operator of the cluster and each hosting provider beneath it. Then walk one query from the BI tool through Trino into Redshift and back out, and confirm that each hop has a named owner under a signed agreement. Review the gaps with your counsel, since this page does not give legal advice and the scope you settle on depends on your own contracts.
Amazon Redshift vs Trino for HIPAA: how to configure either side in order
This sequence takes a HIPAA-bound team from the AWS business associate agreement to a documented configuration that an assessor can review. Each step names who acts, the setting or check to make, and the record that proves it. Redshift settings are listed as items to confirm in AWS documentation, because those settings change and should be checked at the source.
Confirm the AWS business associate agreement first
Before any PHI loads, the compliance lead confirms that an AWS business associate agreement covers every AWS service in the PHI path, including Amazon Redshift and the Amazon S3 buckets it writes to. AWS's HIPAA eligible services reference lists Amazon Redshift and advises against using listed services for PHI without first entering into a business associate agreement with AWS. Trino is software you run, so the agreement question attaches to the AWS services beneath it. Done means a signed agreement on file, a service list that matches the architecture diagram, and written sign-off from legal before the first production load.
Map the data flow and every connector
The data engineering lead draws each path PHI takes, from source systems through Trino to Redshift, Amazon S3 and any BI tool. Then they list every Trino catalog and connector in use. Trino's documentation lists 37 connectors, including Redshift, Iceberg, Hive, PostgreSQL and MySQL, so the inventory should name each catalog a user can reach from a query. Record which catalogs hold PHI, which roles can query them, and where query results are written. Done means an approved diagram and connector inventory, reviewed by security, with any catalog outside the approved list removed from the configuration directory.
Enforce TLS 1.2 or 1.3 on clients
The platform engineer enables HTTPS on the Trino coordinator and sets the accepted protocol versions to TLS 1.2 and 1.3, following Trino's TLS documentation. Trino's documentation states that older TLS versions are rejected, but the team still tests it. From a client host, attempt a connection that forces an older protocol version and confirm the handshake fails. Repeat the test after any change to a proxy or load balancer, because a terminating proxy can hold its own protocol settings. Done means saved test output showing each rejected handshake and the TLS configuration under version control. Confirm the settings for Redshift client connections in AWS documentation, since they are configured separately.
Choose and record authentication and authorization
The identity owner selects how users authenticate to Trino and how access is authorized, working from Trino's security overview. The design record names who can query each catalog, how service accounts are scoped, and how access to Redshift is granted. Confirm in AWS and Redshift documentation which grants apply when Trino queries Redshift. Map the decision to the access control standard in the Security Rule, identified as 164.312(a). Test one allowed and one denied query per role. Done means a signed design record and saved test results showing that each role gets only the access it was granted.
Enable and check the event listeners
The platform team enables the HTTP or MySQL event listener that matches the log destination, following Trino's documentation for that listener, and points it at a destination the security team already monitors. Send one test query, then confirm the event arrives and check which fields it carries, including the user and the query text. Confirm retention and access controls on the destination. Redshift audit logging is configured in Redshift and must be confirmed in AWS documentation, because the settings depend on how your cluster or workgroup is set up. Done means a test event visible at the destination and a written note of who can read and delete those logs.
Restrict UNLOAD and its output bucket
The Redshift administrator limits which roles can run UNLOAD, because the command writes query results out of the warehouse to Amazon S3. Review the bucket policy so only the intended role can write to the approved prefix, and confirm the encryption key options in AWS documentation. Set the output format explicitly, since UNLOAD writes pipe-delimited text by default and also supports CSV, JSON and Apache Parquet. Set MAXFILESIZE deliberately: the default cap is 6.2 GB and the setting accepts values from 5 MB to 6.2 GB. Done means an UNLOAD grant list, a security-reviewed bucket policy, and a test unload that writes encrypted files to the approved prefix only. Apply the same write restrictions to any Trino path that writes data out. UNLOAD reference
Set a patch cadence tied to Trino
The platform owner writes a patch cadence that tracks Trino's release notes and the Java runtime beneath it. Trino's deployment documentation requires a 64-bit Java 25 runtime, minimum 25.0.1, so each Java patch level belongs in the change record. Trino release 484 was published on October 15, 2026, so the owner checks the notes for each new release before scheduling an upgrade. Test every upgrade on a non-production cluster first and keep the rollback steps with the change. Done means a documented cadence with a named owner, and a dated change record for the latest upgrade that lists both the Trino and Java versions.
Assemble the evidence pack for the assessor
The compliance lead gathers the artifacts that show each safeguard works: the business associate agreement list, the data flow diagram, TLS test output, the authorization design record, event listener tests, UNLOAD grants, the bucket policy and the patch log. Map each artifact to the Security Rule standard it supports, covering administrative, physical and technical safeguards and the documentation standards in 45 CFR Part 164 Subpart C. Where an addressable implementation specification was not adopted as written, record why and the equivalent measure. DeployOpen can prepare this evidence, but independent auditors and certification bodies issue any attestation. Done means an indexed pack that a reviewer can follow from each standard to its artifact.
The evidence an assessor asks for and where each side produces it
Redshift evidence comes from two sources: AWS documentation that describes AWS's own controls, and configuration records that only you can produce. AWS's HIPAA eligible services reference lists Amazon Redshift and says not to use listed services for PHI without first entering into an AWS business associate agreement, so the executed BAA is the first record an assessor requests. AWS's attestation scope pages show which reports cover Redshift, but they say nothing about how your clusters and buckets are set up.
- Signed business associate agreement: Keep the executed BAA for the AWS account that holds the Redshift cluster or Serverless workgroup and the S3 buckets used for exports.
- AWS attestation scope pages: Save the scope pages for each report you request, dated, so the assessor can confirm Redshift appears in scope for that report.
- Access and logging configuration: Export IAM policies, database grants and the audit logging settings for each cluster or workgroup, showing who can read tables that hold PHI.
- UNLOAD settings: Keep the UNLOAD statements and job definitions that show server-side encryption, the output format and the MAXFILESIZE value. The default cap is 6.2 GB per file, and MAXFILESIZE can be set between 5 MB and 6.2 GB.
- S3 bucket policy: Export the bucket policy and public access block settings for every bucket that receives unloaded PHI, showing that only approved roles can write or read.
Check that each record names the same account and region, because an assessor will compare the BAA, the scope pages and the exports against one environment.
Trino's evidence is almost entirely what you configure and record. Trino's TLS documentation says client connections can use HTTPS with TLS 1.2 and 1.3 and that older TLS versions are rejected, but the settings running in your cluster are what an assessor will test. Trino is Apache-2.0 licensed, and that license governs the software's terms and says nothing about the safeguards around it.
- TLS configuration: Keep the HTTPS settings for the coordinator and each client path, plus a test handshake result showing TLS 1.2 and 1.3 succeed and older versions fail.
- Authentication and access configuration: Export the authentication method, the access control rules and the mapping between user groups and the catalogs and schemas that hold PHI.
- Event listener output and retention: Keep sample output from the HTTP or MySQL event listener you configure, along with the retention settings for the system that stores it, matched to your written policy.
- Version and patch records: Record the exact Trino release and Java runtime in each environment. Trino requires a 64-bit Java 25 runtime, minimum 25.0.1, so the runtime record should show that version or later.
- Network diagram: Draw the subnets, load balancers, coordinator, workers and PHI sources, marking every trust boundary the query traffic crosses.
Check that the configuration exports and the diagram describe the cluster running today, including any changes made since the design was approved.
Shared evidence applies to the program as a whole, whichever engine you choose. An assessor examines your own records, including the risk analysis, the policies and the decisions you made on each addressable specification. Vendor documentation alone does not make an environment compliant. DeployOpen prepares evidence and runs the security testing behind it, but it does not issue audit reports; independent auditors and certification bodies do.
- Risk analysis: Keep a current analysis of ePHI across the warehouse, the lakehouse storage, the query engine and every export path, with the threats considered and how each was rated (see 164.308).
- Decisions on addressable specifications: For each addressable implementation specification under 164.306(d), record whether it is reasonable and appropriate, and if it is not, why, along with any equivalent measure you adopted. The Appendix A matrix lists the specifications.
- Policies and procedures: Keep written policies on access, audit log review, encryption, backup and incident response, each with an owner, an approval date and a review date.
- Workforce training: Keep training records showing who completed security training, when, and what it covered, including the engineers who write UNLOAD jobs and maintain Trino catalogs.
- Documentation under 164.316: Keep the documentation the standard requires, current and available to the people who need it, with the retention period confirmed with counsel.
Confirm the retention period and review cadence with your privacy officer and counsel before the first assessment.
Amazon Redshift vs Trino for HIPAA: questions buyers ask before hiring help
How much effort does a HIPAA Redshift or Trino project take?
Effort rises with four drivers: how much PHI the platform touches, how many sources feed it, whether your team or a managed service operates the Trino cluster, and how many addressable specifications need a documented decision. Each source adds connection, data mapping and access review work. Self-hosted Trino puts patching, TLS configuration, event logging and access control into your scope. For each addressable specification under the Security Rule, you must assess whether it is reasonable and appropriate, and if it is not, document why and put an equivalent measure in place where that is reasonable. A narrow scope with one source and clear owners takes far less work than a broad scope spanning many systems. Ask the provider for a written list of sources and specifications in scope before you compare quotes.
How long does a HIPAA data platform engagement take?
No standard duration applies, so ask for a timeline in the written scope before you compare proposals. The schedule follows the same drivers as effort: the number of sources, whether PHI is in scope, how quickly your policy owners can review documents, and how soon AWS account and network access is granted. The AWS business associate agreement is also a dependency that your legal team controls, so confirm its status early. A usable written timeline lists milestones for discovery, design, configuration, evidence collection and retest, along with the input each milestone needs from your side. Ask who is accountable for each milestone and what happens if a dependency slips. A timeline without that breakdown is incomplete.
What does our team need to provide before work starts?
Before work starts, your team should expect to provide four inputs:
- Access to the AWS account, with the read-only IAM roles the agreed scope requires
- IAM and network diagrams showing how users, roles, VPCs and Trino coordinator and worker nodes connect
- A data inventory listing which tables, files and sources hold PHI, along with retention rules
- Named policy owners for access control, incident response, backup and audit log review
Access should be granted through your own change process, and the scope document should state which accounts and networks are included. Gaps in these inputs tend to create follow-up questions, so confirm them in the written scope with a delivery date for each.
Can our own team run a HIPAA Redshift or Trino project alone?
Yes, if your team has a named owner for each required and addressable specification and staff who can run Trino patching and logging. Ownership is the test that matters most. Someone must own access control, audit logging, transmission security, backup and each addressable decision, and document the reasoning behind it. On the platform side, Trino needs people who can apply upgrades, manage TLS configuration, review logs and handle worker failures. Trino's documentation says client connections can use HTTPS with TLS 1.2 and 1.3, and older TLS versions are rejected. If those roles are thin, DeployOpen plans, implements, hardens, documents and supports self-hosted platforms in your infrastructure, so an engagement can fill build and evidence gaps while your team takes over operations. Confirm the handover plan before you sign.
What does Amazon Redshift cost to run, and what is the Trino license cost?
Redshift is billed as AWS infrastructure, and those rates are separate from the cost of compliance work. The AWS Redshift pricing page lists $0.375 per RPU-hour for Redshift Serverless in US East (N. Virginia), with base capacity starting at 4 RPUs, which it describes as beginning at $1.50 per hour, and managed storage at $0.024 per GB-month in the same region. Actual bills depend on how many RPU-hours your queries consume, how much data you store and which region you choose. Trino is licensed under Apache-2.0, so there is no software fee, but you pay for the compute, storage and networking it runs on, plus the staff who operate it. Compliance costs cover the written scope: assessment, policy and evidence work, and any retainer for ongoing testing or upgrades. DeployOpen does not publish a price list, so ask for a quote built from that scope and check it against your own AWS and staffing figures.
Does DeployOpen sign a business associate agreement or certify HIPAA compliance?
No. DeployOpen does not sign a business associate agreement and does not certify HIPAA compliance for AWS, Trino or your organization. The AWS HIPAA eligible services reference says not to use listed services for PHI without first entering into an AWS business associate agreement, so that agreement is a step you complete with AWS directly. DeployOpen prepares systems, controls and evidence for compliance assessments, but independent auditors and certification bodies issue reports and attestations. Ask your legal and compliance team which other vendors, hosts or contractors touching PHI need agreements, and get that list in writing before data moves. Confirm with your assessor which evidence they will accept before you finalize the scope.
How DeployOpen helps prepare a HIPAA-ready data path on either side
DeployOpen helps regulated teams decide whether a HIPAA-ready data path should run on Amazon Redshift, on Trino in their own infrastructure, or on a combination of both. Our work covers the scope, build, handover and ongoing support around that choice, and we prepare the controls and evidence your compliance and security teams review. We do not issue HIPAA attestations or certifications; your assessor and your legal counsel decide what is sufficient for your organization.
How we scope
- Written scope that names the data stores, query paths and user groups inside the HIPAA boundary
- Check that each AWS service in the path is HIPAA eligible and a business associate agreement is signed first
- Most engagements are fixed-scope, with deliverables and timelines for the chosen design agreed in writing before work starts
How we build
- Deploy the chosen platform in your own cloud account, with TLS 1.2 or 1.3 enforced on Trino client connections
- Configure SSO, access control and audit logging so compliance teams can review who queried what
- Set encryption, storage and export controls so extracts written to Amazon S3 follow your data handling policy
How we hand over
- Written configuration and runbooks for every component, including Redshift settings or Trino catalog and TLS files
- Control mapping that ties each HIPAA Security Rule safeguard to the setting, log or document that evidences it
- Documented decision for each addressable implementation specification, with the reason and any equivalent alternative measure
How we support
- Security testing of the query path, with a retest after fixes, covering access controls and data exposure
- Retainer options for upgrades, continuous testing and ongoing support after handover, agreed separately
- Evidence packs for your assessor; independent auditors and certification bodies issue any report or certification
Sources and further reading
- AWS HIPAA eligible services reference ↗
- Trino TLS ↗
- Trino security overview ↗
- Amazon Redshift Database Developer Guide: UNLOAD ↗
- 45 CFR Part 164 Subpart C, Security Standards for the Protection of Electronic Protected Health Information ↗
- HHS FAQ 2003: Are we required to certify our organization's compliance with the standards? ↗

