SaaS · Compliance

SaaS Data Residency — A Field Guide

Data residency — keeping customer data within a specific geography — moves from ignorable to deal-blocking the moment you sell to regulated industries or foreign governments.

John Kihiu12 min read

Data residency is the requirement that data be stored and processed within a particular geographic region. For a small SaaS it is easy to ignore; the moment you sell to European enterprises, regulated industries, or governments, it becomes a hard requirement that can block deals outright. Understanding the drivers and the architectural options ahead of time is far cheaper than re-architecting under deal pressure.

Why it's required

Two forces drive residency requirements. Law: regulations in the EU and many other jurisdictions restrict where certain data may be stored or transferred, and some sectors (government, health, finance) impose strict localisation. And customer policy: large enterprises often mandate that their data stay in a specific region regardless of what the law strictly requires, as a matter of their own risk management. Either can be a non-negotiable gate on a contract.

The architectural spectrum

ApproachIsolationCost / complexity
Single region for allNone — simplestLowest, but excludes residency-sensitive customers
Multi-region, route by customerData stored in the customer's regionModerate — infra per region, shared codebase
Dedicated/isolated deploymentFull isolation per customer or regionHighest — near per-tenant infrastructure

Most SaaS that need residency land on the middle option: run infrastructure in several regions and route each customer's data to the correct one, sharing one codebase across them. Full isolation is reserved for the most demanding customers because it approaches running a separate deployment for each.

Design for it early

The expensive mistake is building single-region on the assumption residency will never matter, then having to re-architect when a large deal demands it. You do not need multi-region from day one, but design so that adding it later is a configuration and infrastructure exercise, not a rewrite — keep data-access paths region-aware and avoid hard-coding a single location. Residency is far cheaper to accommodate in the architecture than to bolt on.

Residency is more than storage location

Meeting a residency requirement means the data does not leave the region in processing, backups, logs, or third-party services either. A database in-region but backups or an analytics pipeline shipping data elsewhere still violates the requirement. Trace every path the data takes — storage, compute, backup, logging, subprocessors — not just where the primary database lives.

Data residency keeps customer data within a required geography, driven by law and enterprise policy, and it can gate real deals. Match the architecture to demand — single region until residency matters, then multi-region routing, with full isolation only for the strictest customers — and design region-awareness in early so you can meet the requirement everywhere the data flows, not just where it is stored.

John Kihiu
Acumatica ERP Developer · Laravel Engineer

Independent software engineer in Nairobi specialising in Acumatica customisations, Laravel backends, and tax fiscalisation integrations across East and Southern Africa.