<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Topics tagged with architecture]]></title><description><![CDATA[A list of topics that have been tagged with architecture]]></description><link>https://fusionauth.io/community/forum/tags/architecture</link><generator>RSS for Node</generator><lastBuildDate>Thu, 08 Oct 2026 01:07:53 GMT</lastBuildDate><atom:link href="https://fusionauth.io/community/forum/tags/architecture.rss" rel="self" type="application/rss+xml"/><pubDate>Invalid Date</pubDate><ttl>60</ttl><item><title><![CDATA[How to handle multi-region deployments with data residency requirements?]]></title><description><![CDATA[<p dir="auto">There are a few architectural approaches to consider for multi-region deployments with data residency requirements:</p>
Option 1: Global FusionAuth Instance with Regional Profile Services
<p dir="auto">You can deploy a single global FusionAuth instance in one region (e.g., US or Japan) and store email addresses and authentication credentials there, while keeping other personal data (like names) in regional profile services.</p>
<p dir="auto">In this model:</p>

FusionAuth handles authentication globally and issues access tokens
Services in each region validate the access token locally
User profile information is retrieved from the region-specific profile service instead of FusionAuth
Users maintain a single identity across all regions without re-authentication

<p dir="auto">This approach works well when:</p>

Email addresses and authentication credentials can be stored globally
Other personal identifiable information must remain in-region
You need seamless cross-region access without re-login

Option 2: Separate FusionAuth Instances per Region (Physical Isolation)
<p dir="auto">For strict data residency requirements, FusionAuth recommends <strong>physical isolation</strong> where each region gets its own completely separate FusionAuth instance with its own database and web server. This approach:</p>

Guarantees no possibility of data intermixing across geographies
Prevents downtime in one region from affecting others
Fully satisfies compliance requirements where data must remain in specific geographies
Works well for GDPR and other data sovereignty regulations

<p dir="auto"><strong>Tradeoffs</strong>: This is more expensive (servers scale linearly with regions), and cross-region reporting requires network calls. Users would also need separate accounts per region, which may not meet your "single identity" requirement.</p>
<p dir="auto">To maintain consistent configuration across these separate instances, you can use <strong>Terraform to sync application and tenant configurations</strong> between deployments while keeping user data isolated.</p>
Option 3: Identity Provider Hints
<p dir="auto">Another pattern involves using IdP hints to route users to region-specific authentication flows while maintaining a unified user experience. With <a href="https://fusionauth.io/docs/lifecycle/authenticate-users/identity-providers/#hints" rel="nofollow ugc">IdP hints</a>, you can bypass the login page and route users directly to the appropriate identity provider based on attributes like email address or domain. This can help direct users to region-specific instances based on their location or organization.</p>
Recommendations
<p dir="auto">Before finalizing your architecture, consider:</p>


<p dir="auto"><strong>Data classification</strong>: Clearly define which identity data must be region-specific vs. what can be stored globally. Under GDPR, email addresses and authentication credentials are considered personal data.</p>


<p dir="auto"><strong>Token validation</strong>: Ensure your regional services can validate JWT tokens efficiently. FusionAuth supports distributed token validation where services in any region can verify tokens locally without calling back to the authentication server. See the guidance on <a href="https://fusionauth.io/articles/tokens/tokens-microservices-boundaries" rel="nofollow ugc">JWT validation in microservices architectures</a>.</p>


<p dir="auto"><strong>Compliance review</strong>: Verify your chosen approach meets your specific regulatory requirements (GDPR, etc.). FusionAuth is designed with <a href="https://fusionauth.io/docs/reference/gdpr" rel="nofollow ugc">GDPR compliance</a> in mind and supports features like data export, deletion, and consent management.</p>


<p dir="auto"><strong>Cross-domain SSO</strong>: If using separate instances per region, note that FusionAuth supports <a href="https://fusionauth.io/blog/single-sign-on-sso-with-fusionauth" rel="nofollow ugc">cross-domain single sign-on</a> through OAuth/OIDC flows, though users would still need to authenticate to each regional instance separately unless you implement additional federation layers.</p>


<p dir="auto">This is a complex architectural decision that benefits from detailed discussion of your specific requirements.</p>
Related Documentation

<a href="https://fusionauth.io/docs/reference/gdpr" rel="nofollow ugc">GDPR Compliance in FusionAuth</a>
<a href="https://fusionauth.io/articles/ciam/developers-guide-to-gdpr" rel="nofollow ugc">GDPR Developer's Guide</a>
<a href="https://fusionauth.io/docs/lifecycle/authenticate-users/identity-providers/#hints" rel="nofollow ugc">Identity Provider Hints</a>
<a href="https://fusionauth.io/articles/tokens/tokens-microservices-boundaries" rel="nofollow ugc">JWT Validation at Microservices Boundaries</a>
<a href="https://fusionauth.io/blog/jwt-authorization-microservices-gateway" rel="nofollow ugc">JWT Authorization in a Microservices Gateway</a>
<a href="https://fusionauth.io/blog/single-sign-on-sso-with-fusionauth" rel="nofollow ugc">Single Sign-On with FusionAuth</a>
<a href="https://fusionauth.io/community/forum/topic/1137/multi-region-login">Multi-Region Login Community Discussion</a>
<a href="https://fusionauth.io/blog/authn-authz-deployment-models-cerbos-webinar" rel="nofollow ugc">Deployment Model Comparison</a>

]]></description><link>https://fusionauth.io/community/forum/topic/3170/how-to-handle-multi-region-deployments-with-data-residency-requirements</link><guid isPermaLink="true">https://fusionauth.io/community/forum/topic/3170/how-to-handle-multi-region-deployments-with-data-residency-requirements</guid><dc:creator><![CDATA[FASupportBot]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>