# Data residency for a one-person SaaS, layer by layer

> How a solo SaaS founder audits where customer bytes actually live across all seven stack layers: model inference, prompt logs, primary database, backups, transactional email, error tracking, and product analytics.

By Founder2 Editorial, The Founder2 journal. Published 2026-11-22. Topic: Building a SaaS. Canonical: https://tryfounder2.com/blog/eu-data-residency-solo-saas-by-layer

## Key takeaways

- Saying 'we are hosted in Frankfurt' covers only Layer 3 (your app database); customer bytes still leak out of region through model inference, prompt logs, backups, email, Sentry traces, and analytics.
- Always verify fail-closed routing for AI inference: if an EU inference endpoint is busy, a fallback to a US provider breaks regional residency silently.
- Both Sentry (de.sentry.io) and PostHog (eu.posthog.com) offer dedicated EU ingestion endpoints, but you must select them at project creation because data does not migrate automatically.
- Write a single seven-row subprocessor table naming where requests process, where records rest, and what is explicitly excluded from regional guarantees.

True data residency for a one-person SaaS requires pinning all **seven layers** where customer bytes actually travel: model inference, prompt and evaluation logs, primary database, backups and object storage, transactional email, error tracking, and product analytics. Hosting your Next.js app and Postgres database in Frankfurt only covers one layer; if your AI agent routes prompts to a US model API, sends stack traces to a US error tracker, and streams session replays to a US analytics cluster, your customer data crosses the Atlantic on every request.

As an Irish company building Founder2 in Waterford, we run into this gap constantly when evaluating AI agents and SaaS tools. Marketing pages collapse three separate legal and technical questions into a single green checkmark.

## What "EU-hosted" marketing claims usually hide

> **Separate availability, storage, and inference** Being available in the EU is not EU data residency. Having an EU database is not EU model inference. And having an EU inference endpoint is not guaranteed residency if the router silently fails over to a US cluster when EU GPUs hit capacity.

When a SaaS vendor tells a buyer "we support EU residency," three hidden exceptions explain almost every surprise discovered later during a customer security review:

1. **Application storage vs. AI inference.** Your workspace rows sit in Dublin, while every chat prompt, Stripe summary, and GitHub snippet travels to US inference GPUs. Even worse, several major consumer-agent offerings explicitly exclude their newest agent modes from enterprise EU residency guarantees.
2. **Primary cluster vs. global fallback.** A model router configured with "prefer EU" silently sends your customer's financial data to a US provider whenever the European cluster returns a 429 rate limit. Real residency **fails closed** (returns an error or retries another verified EU endpoint) instead of failing over globally.
3. **Core data vs. telemetry and support.** A vendor keeps Postgres in Europe while shipping unredacted request bodies to US Sentry, US PostHog, and US email relays.

Do not guess about your own stack or any third-party agent you adopt. Open each vendor's Data Processing Addendum (DPA) and regional architecture page and verify where data is processed, where it rests, and what is excluded.

## The seven layers where customer bytes travel

**The seven infrastructure layers of a modern solo SaaS, and the default cross-border leak in each.**

|  | Stack layer | Typical silent US leak | EU-pinned configuration |
| --- | --- | --- | --- |
| 1. Model inference | Global API keys route to US GPU clusters or fall back silently on capacity spikes. | EU-pinned endpoints (OpenRouter EU routing, Bedrock EU, Vertex EU) with fail-closed behavior. |
| 2. Prompt & agent logs | Observability/eval tools store full user prompts and tool outputs in US S3 buckets. | Zero Data Retention (ZDR) at model providers + EU-hosted log storage with PII scrubbing. |
| 3. Primary database | Read replicas, control planes, or auth metadata hosted in us-east-1. | EU region (for example, Frankfurt, Dublin, Paris) for both compute and auth metadata. |
| 4. Backups & object storage | Automated snapshots or uploaded customer PDFs replicated to global CDN/multi-region buckets. | Bucket lifecycle locked to single EU region; verify snapshot replication targets. |
| 5. Transactional email | Support replies, password resets, and billing receipts transit US mail relays. | EU sending endpoint (for example, Postmark EU or SES eu-west-1) with minimal body PII. |
| 6. Error tracking | Stack traces capture HTTP request payloads, session cookies, and user emails in US Sentry. | Sentry EU ingestion (de.sentry.io) plus sendDefaultPii: false and body scrubbing. |
| 7. Product analytics | Session replays and event properties land on US analytics servers. | PostHog EU Cloud (eu.posthog.com) or self-hosted EU instance with input masking. |

_Always inspect each vendor's DPA and regional exclusions before making contractual residency promises to enterprise buyers._

Audit your solo SaaS from top to bottom across these seven layers before putting a residency sentence on your privacy page or answering a European B2B buyer.

### Layer 1: Model inference

Every time your app calls an LLM, you send raw context over HTTPS. Verify both the **endpoint region** and the **provider's Zero Data Retention (ZDR) status**.

- **Hosted commercial APIs:** Check whether the provider supports strict EU inference pins (for instance, Amazon Bedrock EU cross-region profiles, Google Cloud Vertex AI EU endpoints, or OpenAI/Anthropic regional agreements where eligible). Note that standard consumer/API defaults frequently route to US or global pools; check our [dated EU residency comparison](/blog/grok-bot-chatgpt-dots-eu-resident-alternative) for how Grok Bot and ChatGPT dots handle this boundary.
- **Model routers:** If you route open-weight or multi-provider models through OpenRouter, EU in-region routing (available on Business/Enterprise tiers) decrypts payloads in Europe, routes strictly to European provider endpoints, and **fails closed** rather than falling back to non-EU hosts.
- **Self-hosted or regional labs:** Running dedicated open-weight inference inside an EU datacenter (as Leemer Labs does in Ireland for internal workloads) removes cross-vendor ambiguity completely.

### Layer 2: Prompt, tool-call, and agent logs

Founders routinely fix Layer 1 and leak the exact same prompts in Layer 2. LLM observability tools, eval pipelines, and hosted sandbox VMs capture full prompts, tool arguments, and retrieved documents for debugging.

Keep prompt logging disabled by default on customer workspaces, store operational job traces in your primary EU database with strict retention TTLs (such as 30 days), and scrub authorization headers or PII before writing diagnostic logs.

### Layer 3: Primary database and auth control plane

Put your Postgres database, Redis queues, and authentication session store in the same European region (commonly `eu-central-1` Frankfurt or `eu-west-1` Dublin) to minimize latency and keep personal identifiers together. Watch out for managed auth or edge middleware services whose global control planes replicate user emails or JWT metadata to US PoPs outside the region you selected for your database.

### Layer 4: Backups, snapshots, and object storage

Database backups, WAL archives, and S3-compatible uploads (PDF invoices, CSV exports, screenshots) often default to multi-region replication or vendor-managed disaster recovery buckets outside your primary region. Lock S3 buckets to a single EU region, encrypt objects at rest, and confirm in your provider's dashboard where automated snapshots are stored. For sensitive local evidence on desktop, keeping raw PDF/screenshot parsing on-device (as Founder2's Mac preview does with local Vision OCR and PDFKit, sending only reviewed metric rows) avoids uploading raw documents at all.

### Layer 5: Transactional email and inbound webhooks

Password resets, weekly summaries, and support notifications frequently contain customer names, invoice totals, or links. Choose an email provider with an explicit EU data-processing endpoint (for example, Amazon SES in `eu-west-1` or Postmark's EU cluster), and omit confidential workspace figures from email bodies whenever a link back into the authenticated workspace works instead.

### Layer 6: Error tracking (Sentry)

Error trackers are notorious PII leaks because default SDK configurations attach HTTP headers, cookies, user emails, and local stack variables to crash reports.

- Create your Sentry organization explicitly on the **EU region** (`de.sentry.io`); you cannot move an existing US Sentry org cleanly without recreating projects.
- Set `sendDefaultPii: false` in your SDK init and configure `beforeSend` scrubbing to strip request bodies, tokens, and email fields before leaving your server.

### Layer 7: Product analytics (PostHog)

Just like Sentry, PostHog separates **US Cloud** (`us.posthog.com`) from **EU Cloud** (`eu.posthog.com`, hosted in Frankfurt). Select EU Cloud when creating the organization, enable session-replay input masking on every form and workspace editor, and send internal workspace UUIDs rather than raw customer names or revenue strings as event properties.

## Building a one-page subprocessor map

- **7 layers** Full stack audit (Inference, logs, DB, backups, email, errors, analytics.)
- **3 checks** Per vendor DPA (Processing location, storage location, explicit exclusions.)
- **Fail closed** Inference rule (Reject requests rather than falling back outside the EU.)
- **0 guesses** Buyer trust (Publish exact endpoints and exclusions rather than vague badges.)

Once you audit all seven layers, publish a clean, dated table on your privacy or trust page instead of vague compliance slogans. For each vendor, list four columns: **Vendor**, **Layer & Purpose**, **Processing / Storage Region**, and **DPA / Exclusion Notes**.

Honesty beats perfection for a solo founder. If your Stripe billing integration obviously talks to Stripe's global payment network, or if a specific optional feature uses a US-only provider, state it plainly and let the customer decide. If you need custom EU deployment, dedicated endpoints, or help locking down an agent stack, see our [Bespoke deployment options](/bespoke).

## Questions people ask

### Does hosting my database in Frankfurt make my SaaS GDPR or EU-resident?

No. Hosting Postgres in Frankfurt only covers your primary database layer. If your application sends unredacted prompts to US AI APIs, streams stack traces to US Sentry, or tracks events in US PostHog, customer personal data still leaves the EU on every request.

### What does fail-closed EU inference routing mean?

Fail-closed routing means that if an EU-located model endpoint is overloaded or unreachable, the request returns an error rather than silently falling back to a US or global GPU cluster. Without fail-closed enforcement, peak traffic hours routinely break regional residency promises.

### Can I move an existing Sentry or PostHog project from the US to the EU?

In most cases, no automatic migration moves historical data cleanly between US and EU control planes. Both Sentry (de.sentry.io) and PostHog (eu.posthog.com) require selecting the EU region when creating the organization and pointing your SDK ingestion keys to the EU endpoint.

### What belongs in a solo SaaS subprocessor table?

List every third-party service touching customer bytes across all seven stack layers, naming the vendor, the exact task, the confirmed processing and storage region, and any exclusions in their DPA (such as global payment processing, abuse monitoring, or US-only fallback tools).

### How do I keep sensitive customer files out of cloud logs altogether?

Process raw uploads locally or transiently whenever possible, strip PII and auth headers in SDK hooks like Sentry's beforeSend, turn off third-party prompt retention via Zero Data Retention (ZDR) agreements, and keep agent VMs isolated behind a credential broker so tokens never appear in model prompts.

## Sources

Checked 2026-11-22.

- [Grok Bot, ChatGPT dots, and what an EU-resident co-founder changes](https://tryfounder2.com/blog/grok-bot-chatgpt-dots-eu-resident-alternative)
- [Founder2 Bespoke & EU deployment options](https://tryfounder2.com/bespoke)
- [PostHog Docs: EU Cloud hosting](https://posthog.com/docs/privacy/data-storage)
- [Sentry Docs: Data storage regions](https://docs.sentry.io/product/security/data-storage/)
- [OpenRouter Docs: Provider routing & ZDR](https://openrouter.ai/docs)
