High-level requirements & constraints
- Prevent unlawful cross-border transfers (EU, US, APAC local laws)
- Support DSARs (access/erasure) and provide tamper-evident audit evidence
- Minimize operational friction for global product teams
Architecture (regional zones + control plane)
- Regional data zones (EU, US, APAC) hosting PHI/PII in-region (IaaS MSP regions or local data centers).
- Global control plane for metadata, feature flags, and orchestration hosted in contractually-agreed locations; metadata is minimized and pseudonymized.
- Service mesh + API gateway enforces regional routing policies; no direct datastore replication across regions without explicit, auditable approvals.
- Event-driven replication uses region-to-region queues only after policy checks and crypto-wrap (see keys).
Technical controls
- Network: VPCs with explicit egress deny-by-default, region ACLs, private endpoints.
- Data classification engine tags records as GDPR/HIPAA-sensitive at ingest.
- Data access: Attribute-based access control (ABAC) with attributes for regulatory region; enforced in the service mesh and IAM.
- Monitoring/audit: Immutable, append-only audit logs shipped to regional WORM stores and a centralized searchable index of metadata-only logs for global SOC; all logs signed and stored with retention policies per law.
Regional key scoping & crypto
- Customer and region-scoped envelope keys in a hierarchical KMS model:
- Root CMK in hardware-backed KMS per-region (HSM-backed, e.g., Cloud HSM or on-prem HSM).
- Tenant-region data keys encrypted by regional CMK; cross-region export requires dual-approval and explicit rewraping into destination CMK.
- Bring-Your-Own-Key (BYOK) / Hold-Your-Keys options for high-compliance customers.
- Keys never leave their region in normal operations; key transfer is logged, requires governance ticket, and is only allowed when legal basis exists.
Pseudonymization trade-offs
- Use strong reversible pseudonymization (tokenization + region-scoped keys) to enable DSAR linkage while keeping identifiers protected.
- Trade-offs:
- Reversible tokens allow subject access/erasure without full plaintext replication but require strict key governance.
- Irreversible hashing improves protection but complicates DSAR fulfillment and patient care needs.
- Recommend hybrid: store core identifiers reversible in-region; analytics use irreversible hashed identifiers or differential privacy outputs when exported.
DSAR & audit flows
- DSAR workflow: authenticated request -> policy engine validates jurisdiction -> orchestrator locates records in-region -> if identifiers are pseudonymized, orchestrator requests rewrap/decrypt via regional KMS under audit -> deliver or delete with cryptographic proof.
- Audit evidence: signed manifests (hashes + timestamps) proving data location, processing steps, key IDs used, and approvals; logs stored WORM and surfaced to compliance via secure dashboards.
Governance model
- Data Protection Committee (Legal, Privacy, Security, Product, Ops) approves cross-border transfers.
- Formal Transfer Approval Workflow: business case + DPIA + legal opinion -> technical review -> key rewrap tickets -> automated enforcement by policy engine.
- Policies: Data residency, KMS operations, DSAR SLA, incident response playbooks, retention/disposal.
- Regular audits, DR tests, and tabletop exercises; continuous compliance via automated controls and CI/CD gating.
Phased migration plan for existing data
- Assessment (0–2 months): Inventory data, classify by jurisdiction/tenant, map current locations, risk scoring.
- “Do no harm” sync (2–6 months): Implement read-only regional aliases and start tagging; route new writes to correct region. Stop new cross-region writes.
- Rehome critical records (6–12 months): For high-risk PHI, perform in-region re-encryption and cutover using blue/green migration; maintain audit trail.
- Bulk migration (12–18 months): Migrate remaining data in batches, verify integrity (hashes), and decommission old stores; provide DSAR reconciliation.
- Hardening & validation (18–24 months): Pen tests, compliance audits, remove fallback cross-region paths. Operationalize BYOK and customer-visible controls.
Key trade-offs & risks
- Operational complexity vs. legal safety: regional keys and zones add ops overhead but reduce legal exposure.
- DSAR speed vs. security: reversible pseudonymization enables fast DSARs but centralizes trust in KMS and governance.
- Cost vs. sovereignty: local hosting and HSMs increase cost; mitigate via tiered storage and policy-driven archival.
This design balances technical enforcement (policy engine, ABAC, region-scoped KMS), governance (transfer workflows, DPIAs), and practical migration steps to ensure lawful residency, DSARability, and auditable evidence.