AI with EU Hosting: How to Check Your Stack
AI with EU hosting: I show you how to weigh server location, provider and running it yourself, and which questions to settle before you choose.
AI With EU Hosting: Which Stack Fits Your Business?
Which stack fits your business depends on who possesses or controls the data and who can run the system.
You want to use AI to sort documents. The console says Frankfurt. Now trace where the documents go when the model sorts them and who can access them.
Under the CLOUD Act, it matters whether a provider subject to US law possesses or controls the data. That can happen with an EU data center, too. An EU provider such as Mistral or a model on your own hardware can give you more control. With an EU provider, check which services it uses. On your own hardware, you run the system yourself.
I use four levels. The first two cover US providers, depending on whether they process data in the US or in an EU region. Then come EU providers and your own infrastructure. What fits each part of your system depends on what your customers require and who can run it.
Who Is This For?
This guide is written for CTOs, technical founders, and engineering leads who are making infrastructure decisions for AI-enabled products or internal tools in Europe. Specifically, if any of the following applies to you, this article is worth your time:
- You are building a SaaS product or internal tool that processes personal data under GDPR
- Your customers have asked about data residency or EU sovereignty, or you expect they will
- You are evaluating whether to use US-based cloud services or move to EU-hosted alternatives
- You want to understand the practical trade-offs, not just the legal theory
If you are in the DACH region (Germany, Austria, Switzerland), some sections will feel familiar. If you are outside DACH, the core framework still applies. I have noted where specific regulations are regional.
What to Settle Before You Choose
- Which data will the system process?
- What do your customers require about where data is stored?
- Which other service providers are involved?
- Who handles updates, backups and monitoring if you host it yourself?
- How could your stack move to different infrastructure later?
Trace the path of one document before you pick a stack. Where does it arrive, where is it stored and which service passes it to the model? Check the logs, too. They may contain data from the document. Use that map to check each service against your customers' requirements.
EU Hosting or Run It Yourself?
If you host it yourself, you handle updates, backups and security. If you rent servers, the data center operator stays involved.
I would try self-hosting with a real task. Have the model sort a typical document and see if you can work with the result. Then decide who installs updates and who restores a backup if something breaks. That gives you a clearer picture of what your team will have to run.
1. The CLOUD Act Misunderstanding
The assumption is common: if data sits physically in the EU, it is protected from US authorities. That is incorrect.
The CLOUD Act (Clarifying Lawful Overseas Use of Data Act, USA 2018) obligates providers subject to US law to disclose data. That holds even when the data is stored outside the United States. The US authority needs a court order, a warrant, or a subpoena for that (18 U.S.C. § 2703). The decisive question is not "where is the data center?" The decisive question is "does a provider subject to US law possess or control the data?"
A concrete example: Supabase operates a region in Frankfurt, technically on AWS (eu-central-1). Supabase projects therefore run on infrastructure owned by a US group. According to the DPA, the contracting party is Supabase Pte. Ltd. in Singapore. Data in Frankfurt is therefore potentially subject to the CLOUD Act, even if it never physically leaves the EU.
This applies to most of the services developers reach for by default: AWS, Google Cloud, Microsoft Azure, Vercel, Resend, and Stripe belong to US groups, and Supabase Cloud runs on AWS. All are potentially CLOUD Act-exposed. With Stripe, your contracting party in the EEA is the Irish Stripe Payments Europe Ltd., but the parent company is in the US.
What Standard Contractual Clauses (SCCs) Actually Do
SCCs are contractual commitments that EU customers agree with recipients in third countries, for example US providers. They are a recognized instrument under GDPR (Art. 46(2)(c)) and provide a legal framework for data transfers. The current version is set out in Implementing Decision 2021/914. What they do not do: they do not override the CLOUD Act. SCCs do not bind US authorities, because those authorities are not a party to the contract (EDPB Recommendations 01/2020).
SCCs reduce regulatory risk without eliminating it. Whether that is enough for your project is what this article helps you clarify.
What This Means for Your Decision
For projects without special data protection requirements, pragmatic use of US cloud services is defensible and economically rational. In my assessment, this is often not enough for projects with sensitive data (patient data, financial data, government data). The same goes for companies positioning sovereignty as a product feature. In the German healthcare sector, for example, § 393 SGB V sets its own requirements for cloud services, including a C5 attestation.
The rest of this article helps you determine which category your project belongs to, and what each option realistically costs.
2. The Four Sovereignty Levels
Not every stack needs the same level of sovereignty. A four-level framework gives you a practical starting point.
| Level | Name | Definition | Typical Examples |
|---|---|---|---|
| 0 | US-Native | US company, US region | AWS us-east-1, OpenAI API (US region) |
| 1 | US company, EU region | US company, EU data center | Supabase Frankfurt, Vercel (fra1), Resend |
| 2 | EU company, cloud | EU company, managed service | Hetzner, Scaleway, Pirsch Analytics |
| 3 | Self-hosted | Own infrastructure, own servers | Supabase self-host, GlitchTip, Garage |
Level 0 is the default developer path. Fast, inexpensive, well-documented. GDPR compliance requires a data processing agreement under Art. 28 GDPR. For the transfer itself you need either a provider certified under the EU-US Data Privacy Framework or SCCs. Whether the Data Privacy Framework will last is open: an appeal is pending at the Court of Justice.
Level 1 is the most common compromise. An EU data center feels reassuring, but it does not solve the CLOUD Act problem. For many projects, it is still sufficient. Check whether the EU region is actually active. Vercel Functions run in iad1 (US) by default and only move to fra1 (Frankfurt) once you configure it. Resend can send from Ireland, but your account data stays in the US.
Level 2 shrinks the attack surface, provided the subprocessors are not in US hands either. Hetzner is a German company. Scaleway is French. The direct lever through the CLOUD Act is much smaller. Two caveats remain: Hetzner also runs locations in the US and Singapore, and several EU providers use US hyperscalers as subprocessors. Whether that creates exposure in a given case is a legal question. The trade-off: fewer managed services, more operational work.
Level 3 provides maximum control. You operate the infrastructure yourself. At the application level, no platform provider has access to your data. If you rent servers, though, a data center operator still has physical access, usually as a processor. The trade-off: significant ops overhead and full responsibility for updates, backups, and security.
One thing worth noting: no real project runs at a single level. The most practical setups are hybrids: sensitive data at Level 2 or 3, non-critical services at Level 1.
3. The Five Questions That Determine Your Level
Before a concrete stack decision, five questions help. The answers determine which sovereignty level is actually necessary.
Question 1: Is data sovereignty a product feature or just a compliance cost? If your product is sold with the argument "your data stays in the EU under EU law," then sovereignty is a differentiating feature and must be technically enforced. If sovereignty is only an internal compliance matter, different standards apply.
Question 2: Do you have at least four hours per month for ops work? Self-hosting means applying updates, checking backups, patching security vulnerabilities, monitoring services. In my experience, four hours per month is the bare minimum for a simple self-hosted instance. Eight to fifteen hours is more realistic once multiple services are involved (my estimate). Anyone who does not have this capacity or does not want to build it should not treat self-hosting as a viable option.
Question 3: Do your customer contracts include data residency clauses? Certain industries (financial services, healthcare, the public sector) contractually require that data remains in defined regions or under defined legal frameworks. In German healthcare, the law adds its own limits (§ 393 SGB V). If your customers are demanding these clauses, it is not an optional differentiator. It is a minimum requirement.
Question 4: Are you processing data covered by specific regulations? Health data (Art. 9 GDPR, in Germany also § 393 SGB V), financial transaction data, data on minors, government data: these categories raise the required sovereignty level regardless of product strategy and customer preferences. National law and sector-specific rules can add requirements on top of GDPR in any member state.
Question 5: Can you justify US authority access to a customer if it happened? This question sounds abstract but has practical weight. If your answer to "we use US services with EU SCCs" is met with "we do not accept that" from a customer: do you have an alternative ready?
Anyone answering no to all five questions can stay at Level 1 and save considerably. Two or more yes answers warrant serious consideration of Level 2 or 3.
4. The Key Stack Components
Practically every AI stack consists of the same layers. Here are the most relevant components with options by sovereignty level.
| Component | Level 1 (US, EU region) | Level 2 (EU company) | Level 3 (Self-hosted) |
|---|---|---|---|
| Compute | Vercel, Render | Hetzner Cloud, Scaleway | Dedicated server (Hetzner) |
| Database | Supabase Frankfurt | Self-operated PostgreSQL on Hetzner Cloud | Supabase self-host, Postgres (Docker) |
| Auth | Supabase Auth | ZITADEL Cloud (CH, data on Google Cloud) | Supabase self-host, Ory Kratos |
| Storage | Supabase Storage | Hetzner Object Storage | Garage (S3-compatible) |
| LLM (app features) | OpenAI, Gemini | Mistral (FR) | Ollama (Llama 3.3, Mistral) |
| LLM (coding) | Claude, OpenAI models | Codestral (Mistral, see below) | local models (Ollama) |
| Analytics | Vercel Analytics | Pirsch (DE), Plausible (EE) | Plausible self-host |
| Error Tracking | Sentry Cloud | none | GlitchTip self-host |
| Resend, Postmark | Brevo (FR) | Postal (high effort) | |
| Payments | Stripe | Mollie, Adyen (both NL) | none |
A note on Hetzner for readers outside the DACH region: Hetzner is a major German cloud provider with data centers in Germany and Finland. It also runs locations in the US and Singapore. They are not as large as AWS or Google Cloud, but their infrastructure quality is solid and their pricing is competitive. As a German company, Hetzner gives US authorities a much smaller direct lever than a US provider. Whether its US locations change that for data stored in Germany is a legal question.
The Hard Constraints
In my experience, two areas cannot be solved sovereignly without trade-offs:
Coding assistance. For coding tasks I know of no EU provider that matches Claude (Anthropic, US) and the OpenAI models (OpenAI, US). Mistral offers its own coding model, Codestral. In my daily work, it does not match Claude for architecture work. Mistral and local models are useful for application features, but for complex architecture decisions and multi-step refactoring they are clearly weaker. Developers relying on AI assistance have a practical dependency on US services here (as of October 2026).
Payment processing. There are EU providers: Mollie and Adyen, both from the Netherlands, Adyen publicly listed. Braintree belongs to PayPal (US). For my needs, Stripe remains the pragmatic choice because of its feature breadth, reliability, and developer experience.
These constraints do not make a sovereign stack impossible. They mean being realistic: coding assistance runs through US services, payments through Stripe or an EU provider. All other critical components run through EU infrastructure.
5. Three Reference Scenarios
Abstract architecture principles help little without concrete cost frameworks. The following three scenarios show typical patterns. Only the linked list prices are sourced, excluding VAT, as of 25 October 2026. All cost and hour ranges are my estimates, without variable LLM usage. Once your stack is in place, the next challenge is building on it reliably, which I cover in detail in Harness Design: Keeping AI Coding Agents Productive.
Scenario A: Sovereignty as a Product Feature
Who chooses this: SaaS products selling to regulated industries or public sector buyers in Europe who require EU-only infrastructure. Sovereignty is not an optional feature, it is a purchase prerequisite.
Stack profile: Hetzner Cloud compute, self-operated PostgreSQL on Hetzner Cloud or Supabase self-hosted, Pirsch Analytics, Brevo for email, Mistral for LLM app features. Compute and data sit with EU companies. You still check the subprocessors of Brevo and Mistral one by one.
Monthly infrastructure cost: EUR 80 to EUR 180, depending on traffic and data volume. Hetzner Cloud servers start at EUR 5.99 per month, the rest depends on the number and size of servers.
Ops overhead: 8 to 15 hours per month. Updates, backups, monitoring, occasional configuration adjustments.
Trade-offs:
- Advantage: Clear sales differentiation, lower CLOUD Act exposure for customer data, as far as the subprocessors are not US companies either.
- Disadvantage: Less managed-service convenience compared to US providers, slightly more setup work. LLM quality for complex reasoning tasks below US frontier models.
When it pays off: From the first customer who specifies "EU-only" as a condition.
Scenario B: Maximum Control
Who chooses this: Projects with the strictest data protection requirements: health data, government data, or projects where third-party dependencies must be structurally avoided. Also relevant for companies whose internal security teams will not accept external cloud risk.
Stack profile: Hetzner dedicated server, Supabase self-hosted (PostgreSQL + Auth + Storage), Plausible self-hosted, GlitchTip, Garage for S3-compatible object storage, Postal for email (with full awareness of the consequences), Ollama for LLM inference on own hardware.
Monthly infrastructure cost: The main cost driver is the GPU server for Ollama inference. Hetzner lists the GEX45 with 24 GB VRAM from EUR 214 per month plus EUR 209 setup. That puts you at EUR 250 to EUR 600 per month. For 70B models, 24 GB is not enough: Llama 3.3 70B is already a 43 GB download on Ollama. The next tier is the GEX63 with 96 GB from EUR 999 per month plus EUR 999 setup. That server alone costs more than the whole range of the smaller setup.
Ops overhead: 20 to 30 hours per month. I would not plan for less. Self-hosting multiple services means: reviewing and applying security patches, verifying backup consistency, testing services after updates, evaluating monitoring alerts. Anyone who does not budget for this has a security problem, not a sovereignty project.
Trade-offs:
- Advantage: Maximum data sovereignty, no external dependencies for core services, full transparency over all data flows.
- Disadvantage: Significant ops overhead, LLM quality clearly below US frontier models, email deliverability is its own project (IP warming, DKIM/DMARC, blacklist management).
When it pays off: With genuine regulatory necessity or when an internal security team categorically rejects external cloud.
Scenario C: Pragmatic Hybrid
Who chooses this: Projects without a specific sovereignty requirement, but with awareness of the topic. The goal is a good cost-risk ratio without ops overhead.
Stack profile: Vercel for compute (US company, Functions configured for fra1), Supabase Frankfurt for database and auth (on AWS, EU region, SCCs in the DPA). Add OpenAI or Anthropic for LLM features, Resend for email (sending from Ireland, account data in the US), Sentry Cloud for error tracking. Pirsch or Plausible instead of Google Analytics.
Monthly infrastructure cost: The paid entry plans cost USD 20 per seat at Vercel, USD 25 at Supabase, USD 20 at Resend, and USD 26 to 29 at Sentry, about USD 91 to 94 per month plus VAT in total. With Sentry's free plan it is USD 65. Analytics and LLM usage come on top. My range without LLM usage: EUR 60 to EUR 160.
Ops overhead: 3 to 5 hours per month, mostly monitoring and dependency updates.
Trade-offs:
- Advantage: Little overhead, good developer experience, quick time to market.
- Disadvantage: Potential CLOUD Act exposure for all US services, mitigated only by contract (DPF or SCCs). In my assessment, usually not suitable for regulated industries.
When it pays off: Almost always when no concrete requirements rule it out. Sovereignty on principle without a real requirement is not a good argument for the four to ten times higher ops overhead of Scenario B.
6. The Cost Picture
Infrastructure costs are the visible part of the price. The actual cost driver is ops time.
Opportunity cost of ops work. A developer or founder spending 20 hours per month on server administration loses those hours for product development, customer conversations, or sales. At a conservative EUR 50 per hour, 20 hours equals EUR 1,000 per month, not as an expense, but as lost capacity.
This means the break-even for self-hosting is not "saves me EUR 100 in Supabase costs per month." It is "saves me more than EUR 1,000 in opportunity costs per month." That is rarely the case, except for projects with very high data volumes or very specific requirements.
When self-hosting actually makes financial sense:
| Condition | If true |
|---|---|
| Cloud costs exceed EUR 500/month (my rule of thumb) | Self-hosting is worth evaluating economically |
| Internal ops capacity exists (no opportunity cost problem) | The overhead is not a cost driver |
| Regulatory obligation (no choice) | ROI is irrelevant |
| Sovereignty is a purchase prerequisite for customers | Self-hosting is a sales argument |
For most early-stage projects, none of these conditions apply. Scenario C is then the right choice, with awareness that migration to Level 2 or 3 is possible as requirements evolve.
Plan the migration path. A common mistake: building on US cloud services without a data layer abstraction. When a regulated customer arrives three years later demanding sovereignty, migration becomes expensive. The pragmatic approach: abstract database access through a repository pattern from the start. In my experience, migration from Supabase Cloud to self-operated PostgreSQL on Hetzner Cloud then takes days, not months.
7. The Five Most Common Misconceptions
Misconception 1: "EU region = CLOUD Act protection"
As covered in the introduction: no. The CLOUD Act asks whether a provider subject to US law possesses or controls the data, not where the server is. AWS Frankfurt, Google Europe, Supabase Frankfurt: all run on US-group infrastructure, all are potentially CLOUD Act-exposed. Lowering the risk substantially requires EU companies without US subprocessors (Level 2) or self-hosting (Level 3).
Misconception 2: "Self-hosting saves money"
Rarely. Managed services cost monthly fees, but those fees include operations by specialized teams. Self-hosting saves the managed service fee and trades it for your own ops time. My rule of thumb: for projects with less than EUR 500 in monthly cloud costs, self-hosting is almost never cheaper, if you count your own time honestly.
Misconception 3: "MinIO is the standard for self-hosted S3 storage"
MinIO was long the first choice for S3-compatible object storage in self-hosted setups. Its GitHub repository has been archived since 25 April 2026 and states that it is no longer maintained. The more recommended option for new self-hosted projects is Garage, a resource-efficient, S3-compatible object storage with an active development community. If you run MinIO from that repository, you will not get updates there anymore and should plan the migration. For new setups, Garage is the better choice.
Misconception 4: "Claude is easily replaced by Mistral"
For application features (document analysis, text generation, classification), Mistral Large (currently Mistral Large 4) is a good EU alternative. Quality is sufficient for most use cases, and Mistral is a French company. Mistral stores data in the EU by default. Via its US endpoint and for some features, data can also leave the EU according to Mistral; the locations are listed among its subprocessors.
For coding assistance the situation is different. I use AI coding agents in production and have worked with various models. For complex architecture decisions, code review, and multi-step refactoring, I currently notice a clear gap. Mistral and local models fall behind Claude and the OpenAI models. This is not a marketing judgment, it is an observation from my daily work across 10,000+ sessions, including 1,900+ orchestrated multi-agent sessions. The gap is closing, but in October 2026 it is still real.
Misconception 5: "Self-hosted email is practical"
Running transactional email (password resets, confirmation links, invoice delivery) through your own mail servers is technically possible and operationally demanding. The challenge is not the software. It is reputation.
IP warming (new IP addresses must be gradually built up), DKIM/DMARC/SPF configuration, blacklist monitoring, bounce management: this is a discipline of its own. A single mistake (too many emails too quickly, a wrong header, a domain on a blacklist) causes deliverability problems that can take days to resolve.
For projects with high sovereignty requirements, Brevo (formerly Sendinblue, a French company) is the pragmatic solution, with professional transactional email infrastructure. How low its CLOUD Act exposure is depends on its subprocessors. Check them and the data storage details before you sign. If you want full control, you can self-host Postal, but only with full awareness of the operational burden.
8. Decision Checklist and Next Steps
Before making a stack decision, work through these questions:
- Sovereignty as a product feature: Are you selling to regulated industries or public sector buyers who require EU-only infrastructure?
- Ops capacity: Do you have the internal capacity and willingness to spend 8 to 30 hours per month on server administration (from the scenarios above)?
- Contractual obligations: Do existing or expected customers have data residency clauses in their contracts?
- Regulation: Are you processing health data, financial data, or data subject to specific sector regulation?
- Migration readiness: Is your current stack structured so that a later migration to EU infrastructure would be feasible within a reasonable timeframe?
Two or more yes answers mean Level 2 or 3 should be actively evaluated, not just theoretically considered. One or no yes answers mean Scenario C is the right starting point, with a conscious decision to use the DPF or SCCs as the transfer mechanism.
This guide is not legal advice. The legal points are my assessment of the risks. Check your case with a qualified professional before you commit.
Your Next Step
If you want to work through the requirements for your AI stack, get in touch. For projects moving from a validated stack toward production, the process is described in From 250+ Prototypes to Product.
If you're looking at a workflow that handles documents, see the examples under Automation for your business. I explain how I guide coding agents with context and checks in Harness Design for AI Coding Agents.
For an example of swapping out the AI while keeping the infrastructure, see From OpenClaw to Hermes Agent.
Common questions
What does AI with EU hosting mean?
I sort stacks into four levels: a US provider in the US, a US provider with an EU region, an EU provider and your own infrastructure. So check the provider and the service providers involved, not just the location.
Does a server in the EU protect against the CLOUD Act?
The location alone does not give you that protection. The CLOUD Act also covers data outside the US if a provider subject to US law possesses or controls it.
What do I need to plan for with self-hosted AI?
You take on updates, backups and security. Settle who handles these tasks before you choose.
Which questions should I answer before choosing a stack?
Settle which data you process, what your customers require and how much capacity you have for operations. Also check whether you can switch infrastructure later.