Ollama for GDPR and EU data sovereignty

Self-hosted Ollama can keep prompts and personal data on infrastructure you control in the EU, but GDPR obligations around transfers, logging, security and records still apply to your organization.

On this page

Ollama for GDPR and EU data sovereignty: what the platform helps with

If you are a controller and want prompts containing personal data to stay in the EU, Ollama can help you keep inference on hardware you choose, but it does not make your deployment GDPR compliant. Running a model locally means the runtime processes the data where you host it, and Ollama states that when it runs locally it does not see your prompts or data. That is a statement about the software's behavior, and you still need to verify it in your own environment, including which cloud features are switched off with OLLAMA_NO_CLOUD=1 or the server configuration file.

The platform supports some of the obligations directly. Local-only inference supports Chapter V transfer avoidance, because prompts that never leave your network do not create a transfer to a third country, and the EDPB Guidelines 05/2021 treat remote access from a third country and storage outside the EEA as transfers, so every remote administrator, backup target and vendor support path needs the same review. For Article 32 security of processing, Ollama gives you the controls to build on, but its local API has no authentication, binds to 127.0.0.1 by default, and needs an access layer in front of it. Records of processing, lawful basis, data subject rights, breach notification under Articles 33 and 34, processor contracts and retention decisions remain your responsibility or your processor's, as does the choice of where logs are kept.

DeployOpen plans, implements and documents this kind of deployment inside your infrastructure, and prepares the systems, configuration and evidence your compliance team reviews. DeployOpen does not issue audit reports, attestations or certifications, and the GDPR does not require any of them. Certification under Article 42 is voluntary and does not reduce your responsibility. Before you start, confirm your hosting location, administrator access paths and the scope of your processing with your data protection officer, then decide which parts of the deployment the written scope should cover.

Mapping GDPR requirements to Ollama capabilities and configuration

This table maps GDPR provisions to the Ollama capability that supports each one, the configuration to apply and what stays with the controller or processor. Read each row as a pair: the platform setting narrows the risk, and the column on the right lists the obligations no runtime setting can meet. The main takeaway is that Ollama can keep prompts on your infrastructure, but records, transfers through support channels and breach handling remain your responsibility.

RequirementOllama capability and configurationRemains outside the platform
Article 32, security of processingDefault bind to 127.0.0.1 on port 11434. Set OLLAMA_HOST only to an internal interface, and place an authenticating reverse proxy such as Nginx in front of any shared endpoint. Set OLLAMA_NO_CLOUD=1 to turn off cloud features.The local API has no authentication, so access control, TLS, patching, host hardening and logging of who sent each prompt must be built around it.
Article 44 and Chapter V, transfersKeep models and the server on EU-hosted infrastructure. OLLAMA_NO_CLOUD=1 stops cloud inference, so prompts are not sent to ollama.com in normal operation.Remote access from a third country, even display-only support sessions, counts as a transfer under EDPB Guidelines 05/2021. Vendor support, backups and mirrors outside the EEA need separate assessment.
Chapter V, cloud inference pathDirect cloud inference at ollama.com requires an API key sent as a Bearer token. Do not issue keys to staff or applications that handle personal data.Confirm with Ollama whether any hosted feature or telemetry is used in your deployment, and document the decision in your records.
Article 48, third-country disclosure requestsOn-premises hosting with no data sent to a foreign provider limits the exposure that a third-country request would reach through Ollama itself.Assess the cloud and hosting providers under your control, including US-headquartered ones subject to 18 U.S.C. 2713. Article 48 recognition depends on international agreements, so legal review is needed.
Articles 33 and 34, breach notificationOLLAMA_MODELS and server logs can be pointed to a monitored path so access records exist to investigate an incident.Ollama does not notify you of breaches in your environment. Your incident process must define detection, the 72-hour supervisory authority clock and data subject notice.
Articles 24 to 43, controller and processor dutiesLocal-only operation means prompts stay on infrastructure you operate, which simplifies the processing record for the inference step.Records of processing, lawful basis, data protection impact assessment, processor contracts and staff training are not produced by Ollama and must be maintained by your organization.
Article 83, fine exposureClear configuration and documented controls reduce the chance that an infringement occurs through an unmanaged endpoint.Fines apply to the controller or processor, not to the software. Certification under Article 42 is voluntary and does not transfer responsibility.
Model and log storage locationOLLAMA_MODELS moves model files to a chosen directory, such as an encrypted volume inside the EU. Prompts are not stored by Ollama when run locally.Application logs, chat front-end history, vector stores and backups hold personal data and need their own retention periods and deletion procedures.

How local-only mode keeps prompts inside your environment

Local-only mode keeps prompts on your servers only if the data path is what you think it is. By default Ollama binds to 127.0.0.1 on port 11434, so the REST API is reachable only from the host itself. Ollama states that when it runs locally it does not see your prompts or data. That statement describes the local runtime. It is not an independent verification of the software, and your assessment should rest on your own configuration tests and the vendor documentation in the Ollama FAQ. Cloud inference is a different path. Calls to ollama.com/api or ollama.com/v1 send requests to a service operated outside your environment, authenticated with a Bearer API key. Each such call is a transfer of personal data that needs its own legal basis, transfer assessment and processor terms before anyone uses it.

Set OLLAMA_NO_CLOUD=1 in the service environment or disable cloud features in the server configuration file, then verify the setting on the running process rather than trusting the deployment file. Confirm that a request to a cloud model fails, and record the test result with the configuration change. Repeat this check after every upgrade, because a new release or a reinstalled service can reset environment variables. Ask your engineers to confirm the exact key names and file location for your installed version, since these are the controls your evidence will point to.

The trust boundary moves whenever the listener or the path to it changes. Setting OLLAMA_HOST to a non-loopback address, or placing Nginx or another proxy in front of the server, makes the API reachable by other hosts or users, and the API has no authentication of its own. At that point anyone who can reach the endpoint can send personal data into the model, and the proxy's logs become a new store of prompts. Treat each change as a change to your records of processing and security measures, and decide in advance which network segments and identity controls will sit in front of it.

Where personal data flows and where the trust boundaries sit

The flow starts with a user or application sending a prompt to a reverse proxy that enforces authentication and writes access logs. The proxy forwards only to the Ollama server inside the EU boundary, which binds to localhost or an internal interface and loads models from local storage. The optional cloud path is drawn outside the boundary and marked as a transfer to be blocked, with OLLAMA_NO_CLOUD=1 set on the server. Check that the proxy log retention, the Ollama server's own logs, and any backup of the model store all sit inside the EU.

Personal data stays inside the EU boundary, with the cloud path blocked.

Evidence to keep for a GDPR review

A GDPR review asks whether personal data in prompts stayed where you said it would, and whether you can show how. The cards below list the records that answer that question for a self-hosted Ollama server, with the owner of each. None of them is an audit result, and an independent assessor will decide what is sufficient for your case.

Network configuration record

Keep a dated record of the bind address, the port and the firewall rules that govern the Ollama host. By default Ollama binds to 127.0.0.1 on port 11434, so any wider exposure should appear as a deliberate change, for example through a proxy set with OLLAMA_HOST. Export the effective listener configuration and firewall policy at each review point. The infrastructure or platform team should own this record and update it with every change request.

Ollama FAQ

Server configuration and model directory

Record the environment or server configuration file that sets OLLAMA_NO_CLOUD, the model storage path set by OLLAMA_MODELS, and the version in use. This shows that cloud features were switched off and where model weights reside inside your infrastructure. Store the configuration in version control so changes leave a history. The platform team keeps it, and the security team should confirm the values match the approved design.

Ollama FAQ

Proxy access and retention logs

Ollama's API has no authentication of its own, so the reverse proxy or gateway in front of it is where user identity appears. Keep access logs that show who called the API, when, and which model was used, along with a stated retention period. Confirm whether prompt bodies are logged at the proxy, because logging them creates a new personal data store. Retention periods belong to the data protection owner, not the engineers who configure the proxy.

Records of processing entry

Article 30 of the GDPR requires controllers to keep records of processing activities. Create an entry for the AI workflow that names the purpose, the categories of personal data in prompts, the recipients, the retention periods and a description of the security measures. The entry should state that inference runs on your own infrastructure. The data protection officer or privacy lead owns this record, and engineering supplies the technical details.

Article 32 security measures documentation

Article 32 requires controllers and processors to implement appropriate technical and organizational measures for security of processing. Document access control, encryption of storage and transport, patching cadence for Ollama releases, backup and logging choices, and the staff roles that operate them. This file explains how the controls match the risk of your data. The security lead owns it, and it should be reviewed when the Ollama version or the proxy design changes.

GDPR text

Transfer assessments for vendors and support

A transfer occurs when personal data is accessed or stored from a third country, including remote support sessions. Keep a written assessment for each vendor, subprocessor or support channel that could touch the server, the logs or the models, and record whether any of them is outside the EEA or subject to foreign access powers. Confirm with the vendor where support staff access systems from. The legal or procurement team keeps these assessments and reviews them when a vendor or contract changes.

EDPB Guidelines 05/2021

Configuring Ollama for EU personal data in prompts

This sequence sets up a self-hosted Ollama server so personal data in prompts stays inside EU infrastructure, with each control checked by a test before the next one starts. The output is a configured server, a proxy with logging and retention, a records of processing entry, and evidence that no request leaves the environment.

  1. Confirm EU hosting and access paths

    The compliance lead and platform team record where the server will run, which legal entity operates the hardware or cloud account, and every route an administrator or support engineer could use to reach it, including remote desktop, VPN, vendor support sessions and backups. Remote access from a third country counts as a transfer under the EDPB's Guidelines 05/2021, even when the data is only displayed on a screen, so each path must be listed. Done when the team has a signed-off map of hosting location, operators and access routes, and a decision on whether any third-country access is acceptable under Chapter V of the GDPR.

  2. Install Ollama and set bind and model paths

    The platform engineer installs Ollama on the approved host and sets OLLAMA_HOST and OLLAMA_MODELS deliberately instead of accepting defaults. By default Ollama listens on 127.0.0.1 port 11434 and stores models under the operating system's default path, so the team should decide the model directory on an encrypted volume they control and keep the bind address on loopback or a private interface reachable only by the proxy. Done when the service starts, ollama list reads from the chosen directory, and a listening-socket check shows the port bound only to the address chosen in the design.

  3. Set OLLAMA_NO_CLOUD to disable cloud features

    The platform engineer sets OLLAMA_NO_CLOUD=1 as an environment variable or in the server configuration file, so cloud features are off and prompts are not routed to ollama.com. The change should be stored in the service definition under version control so it survives restarts and upgrades. Done when the service is restarted, a test request for a locally installed model succeeds, and a test that attempts a cloud model returns an error rather than a result. Keep the configuration file as evidence for the records of processing and security measures.

  4. Place an authenticating reverse proxy in front

    The security engineer places Nginx or another reverse proxy in front of Ollama, because the local API has no authentication of its own. The proxy enforces user authentication, limits which routes are exposed, and writes access logs that record the user or client identity, timestamp and route, but should be configured to avoid logging full prompt bodies unless the team has a documented need. Log retention is set to a period the controller has approved and the logs are stored in the EU. Done when an unauthenticated request is refused, an authenticated request succeeds, and a sample log entry shows the expected fields without prompt content.

  5. Restrict network egress from the host

    The network team applies firewall rules so the Ollama host and the proxy can accept only the traffic they need and can open outbound connections only to approved destinations, such as package mirrors used during maintenance and the internal time and log services. Outbound access to model registries and cloud endpoints is blocked unless a specific, documented exception exists. Done when a firewall rule review lists the allowed destinations, and an outbound connection test to an external AI endpoint fails from the host.

  6. Document the records of processing entry

    The data protection officer or compliance lead adds an entry to the records of processing that names the purpose, categories of personal data in prompts, data subjects, recipients, retention for logs and any transfers, and the security measures in place. The GDPR's Article 30 duty and Article 32 security of processing still apply when a model runs locally, so the entry should link to the configuration, proxy settings and egress rules set up in earlier steps. Done when the entry is approved by the controller and cross-referenced to the evidence collected during the sequence. Ask the supervisory authority guidance or counsel whether the team's use also needs a data protection impact assessment.

  7. Test that no request leaves the environment

    The security engineer runs a verification pass that sends test prompts containing synthetic personal data through the proxy, then checks the Ollama logs, proxy logs, host network captures and firewall logs for any outbound connection carrying that data. The test should also confirm that the Ollama API responds without a cloud dependency when the external network is unavailable. Done when the test report shows zero outbound data flows for the test traffic, the results are stored with the configuration evidence, and the team schedules a retest after each Ollama upgrade, since releases change configuration and default behavior over time.

Remote support and cloud storage can still create transfers

Keeping Ollama on your own servers does not settle the transfer question on its own. EDPB Guidelines 05/2021 state that remote access from a third country is a transfer even when the person only views data on a screen for support or administration, and that storing data in a cloud outside the EEA is also a transfer. So a vendor engineer in another country who opens a session on your Ollama host, or a backup written to a bucket outside the EEA, can bring Chapter V of the GDPR into play. Before any support contract or hosting arrangement is signed, list every party that can reach the prompt store, logs, model host or backups, and record where each one sits and who can access from where.

The guidelines also address EU processors. Example 12 says that using an EU processor subject to third-country law with extraterritorial effect is not in itself a transfer, but complying with a third-country authority request would be one. Two statutes matter here. The US CLOUD Act provision at 18 U.S.C. 2713 requires providers to preserve or disclose data in their possession, custody or control whether it is inside or outside the United States. Article 48 of the GDPR says a third-country court order is recognized only where it rests on an international agreement, such as a mutual legal assistance treaty. Article 32 of the Data Act, which applies to non-personal data, asks providers to take measures against unlawful third-country access. Ask each vendor which of these laws reaches its staff and infrastructure, and what it does when such a request arrives.

For any US-based vendor, check whether it appears on the Data Privacy Framework List before relying on Commission Implementing Decision (EU) 2023/1795. An appeal against the General Court's September 2025 judgment is pending as Case C-703/25 P, so confirm the current status with counsel at the time of signing rather than assuming it holds. Where adequacy is unavailable, standard contractual clauses under Commission Implementing Decision (EU) 2021/914 and a transfer impact assessment become the route, and EDPB Recommendations 01/2020 warn that technical measures may not help when the provider must see data in the clear. Confirm vendor support models, subprocessor lists and key custody in writing, and keep the answers with your record of processing.

Questions buyers ask before setting up Ollama for GDPR

Does Ollama itself cost money to run for GDPR work?

Running Ollama on your own hardware is free of license fees: Ollama's pricing page states that running models on your own hardware is always unlimited. Paid plans apply only to cloud models: Pro at $20 per month ($200 per year), Max at $100 per month, Team at $500 per month and Enterprise at custom pricing. The MIT license covers the runtime itself. For a GDPR deployment, your real costs are the servers or cloud capacity inside the EU, the people who configure and document the setup, and the time your DPO and security team spend reviewing it. If you use cloud models, they are a separate processing relationship that needs its own transfer and processor review. Confirm the current terms on Ollama pricing before budgeting.

What drives the effort and cost of a GDPR-ready Ollama deployment?

The main drivers are the number of systems that will send prompts, where the hardware sits, and how much of the surrounding control set you must build. Expect the work to cover:

  • Hosting location and whether every component, including backups and logs, stays in the EEA
  • An authentication and logging layer in front of the unauthenticated local API
  • Retention settings for prompts, responses and access logs, and the records of processing that describe them
  • Turning off cloud features with OLLAMA_NO_CLOUD=1 or the server configuration file
  • Review of any third-country access, including support access by vendors

Each additional application, user group or region adds integration and documentation work. Ask any provider to price these items separately in the written scope.

How long does a GDPR-focused Ollama setup take?

The duration depends on scope. A single shared server with one application, a clear hosting location and existing identity and logging services will take less time than a multi-team platform that needs new SSO, a gateway, retention policies and a full set of records. No general timeline is supplied for this work, so ask for a duration in the written scope and check which dependencies it assumes, such as hardware delivery, access to your identity provider or approval cycles for the data protection impact assessment. Deployments are usually fixed-scope, so the agreed deliverables and dates should be written down before work starts.

What must our organization provide before a partner starts?

You need to supply decisions and access that only your organization can make. Typically that includes:

  • A named data protection officer or privacy lead who signs off the processing purpose, lawful basis and retention periods
  • A security team that owns network placement, identity integration, key management and monitoring
  • Hosting details: the data centers or cloud regions, the operators with access, and any sub-processors
  • Access to the systems the setup will connect to, such as your identity provider and log platform

Without these inputs, the records of processing and security measures under Article 32 will be incomplete, whatever the technical setup looks like.

Can our internal engineers set up GDPR-compliant Ollama themselves?

Yes, many teams can install and run Ollama internally, and the runtime itself is straightforward to deploy. The harder part is the compliance evidence: documenting where data flows, proving that cloud features are off, showing how access is controlled and logged, and maintaining records that a supervisory authority could review. If your team already runs identity, logging and backup services and has a privacy function that can own the records, building in-house is reasonable. If not, a partner can handle the implementation and documentation while your staff keep operational ownership. Either way, assign an owner for patching and model changes after go-live.

Is there a GDPR certificate for Ollama or for our deployment?

No. The GDPR requires no audit, attestation or certificate, and no one can issue a GDPR certificate that makes a deployment compliant. Certification under Article 42 is voluntary, is issued for at most three years by accredited certification bodies or supervisory authorities, and does not reduce the controller's or processor's responsibility. DeployOpen does not issue audit reports, attestations or certifications. What you can show is evidence: configuration records, hosting documentation, access and retention settings, and test results. Ask any vendor that claims a GDPR certificate which body issued it and what it covers.

Does the Digital Omnibus change the GDPR, so should we wait?

Not as of October 2026. The GDPR text has not been amended. The Omnibus IV proposal (COM(2025) 501, procedure 2025/0130(COD)) has a text agreed in negotiations on 26 June 2026 that is still awaiting Parliament's first-reading vote, and the Digital Omnibus proposal (COM(2025) 837, procedure 2025/0360(COD)) is awaiting committee decision. Proposals can change before adoption, so check the Legislative Observatory) before each review. Do not delay the controls that apply today, such as transfer analysis, retention limits and security of processing under Article 32.

How DeployOpen scopes and delivers GDPR-ready Ollama deployments

DeployOpen plans, implements, hardens and documents self-hosted Ollama inside your own infrastructure, so prompts that contain personal data stay where your controls say they should. We start from your data flows, hosting location and records of processing, then build and hand over the evidence your privacy and security teams need to review the deployment.

How we scope

  • We map which prompts, files and logs may contain personal data and where each one flows.
  • We confirm the hosting location, network path and any cloud features that must be turned off.
  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.

How we build

  • We configure Ollama to listen only on approved interfaces, with the API placed behind an authenticating proxy.
  • We set model storage, proxy access logs and retention periods to match the documented processing purpose.
  • We test the deployment for unintended outbound connections, exposed endpoints and data left in logs.

How we hand over

  • You receive configuration records, data flow diagrams and a summary of controls to attach to your records of processing.
  • We document the security measures under Article 32 so your team can review them against its own risk assessment.
  • We train your administrators on access changes, log review and version updates, and we agree which items remain your responsibility.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers after handover.
  • We can retest the deployment after Ollama releases, configuration changes or changes to the proxy.
  • We do not issue audit reports or certifications; we prepare the systems and evidence that your auditors or certification bodies review.

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.