tech#github#enterprise#data-residency#emu#copilot#governance

Data Residency, EMU, and Organization Design for GitHub Enterprise (2026)

Published 👁
Data Residency, EMU, and Organization Design for GitHub Enterprise (2026)

Why I wrote this article

This article began with a fresh look at how organizations use GitHub Copilot.

When Copilot is used with GitHub Enterprise Cloud and Enterprise Managed Users (EMU), it becomes more than a generative AI tool. It can support secure, well-governed work across an organization. Companies can use AI through accounts they manage while controlling access, policies, and where data is stored. To me, that puts it a step ahead of other generative AI tools.

Yet when I looked for recommended ways to set up GitHub Enterprise Cloud, I found surprisingly little information that brought the key decisions together. In particular:

This article gives a high-level overview of these questions, based on GitHub’s official documentation and centered on GitHub Enterprise Cloud. Think of it as a foundation for using Copilot in a well-governed environment.

💡 The previous article, “GitHub Products, Features, and Licensing: An Overview for 2026,” covers GitHub plans, pricing, and purchasing, including Free, Team, Enterprise, Copilot, and Advanced Security billing. This follow-up goes a step further and looks at recommended ways to set up and operate the Enterprise plan you choose.

Table of contents

Start with the big picture: the different forms of GitHub Enterprise

“GitHub Enterprise” can refer to several different offerings. Keeping this map in mind makes the rest of the discussion easier to follow.

Within GitHub Enterprise Cloud, Enterprise Managed Users (EMU) is an additional consideration for authentication and account management.

ConsiderationOptionsIn simple terms
HostingServer / CloudDo you operate it yourself or leave it to GitHub?
Data storage locationDefault (US) / Data ResidencyCan you choose the storage region?
Account managementPersonal accounts / Enterprise Managed UsersDo users bring their own GitHub accounts, or does the company provision them?

The key point is that these three decisions are not completely independent. Most notably, as discussed below, Data Residency requires EMU.

1. What is Data Residency?

By default, GitHub stores GitHub.com data in the United States. With GitHub Enterprise Cloud with data residency, a company can choose the region where its code and data are stored. The enterprise is hosted on a dedicated GHE.com subdomain.

Supported regions

According to the current official documentation, the available regions are:

📌 Note: Some readers may still think that a Japan region is not available. The current official documentation lists Japan as a supported region. However, in-region Copilot processing, discussed later, is not yet available in Japan. These are separate capabilities and should be evaluated separately. GitHub says it plans to add more regions in the future.

What changes when you use it?

Without Data Residency, meaning a standard enterprise on GitHub.com, code and data are generally stored in the United States. With Data Residency, GitHub clearly defines which data is stored within your selected region.

ItemWithout Data Residency (default)With Data Residency (GHE.com)
Access URLgithub.comSUBDOMAIN.ghe.com (dedicated subdomain)
Data storage locationUnited States by defaultWithin the selected region
Account managementPersonal accounts or EMUEMU required
CommunityConnected to the broader GitHub.com communityIsolated within the enterprise

What stays in the region, and what may leave it?

Data Residency does not mean that 100% of all data remains within the region. This distinction is important to understand accurately.

Stored within the region (explicitly stated by GitHub)

May be stored outside the region (explicitly stated by GitHub)

In short, Data Residency places code and user data in the selected region, while some telemetry, billing, and administrative data may still be handled outside it. Always compare this boundary carefully with your compliance requirements.

Be aware of URL and ecosystem differences

Because GHE.com uses a different URL structure from GitHub.com, existing automation and integrations may not work without changes. For example:

Before migrating, inventory any automation that depends on GitHub.com URLs and any workflows that assume Marketplace availability.

2. What are Enterprise Managed Users (EMU)?

Enterprise Managed Users (EMU) lets a company centrally manage the account lifecycle and authentication of its users through its IdP (identity provider).

How EMU differs from personal accounts

Before creating a GitHub Enterprise Cloud enterprise, you choose whether it will use personal accounts or EMU. The main differences are:

ConsiderationPersonal account modelEMU model
AccountA user’s own GitHub.com personal accountA managed account provisioned by the company through its IdP
AuthenticationSAML can optionally be linked to the personal accountTrue SSO through an IdP (SAML / OIDC) is required
ProvisioningNot available (SCIM grants access only)SCIM manages the accounts themselves
Username and emailThe user can change themControlled by the IdP; the user cannot change them
Public repositories / GistsCan be createdCannot be created
External collaborationSupportedLimited to the enterprise

Understand EMU’s strict constraints

EMU intentionally imposes strong restrictions to reduce the risk of information leakage.

For this reason, GitHub explicitly states that EMU is not necessarily the best choice for every customer. Organizations where contributing to open source or collaborating externally is part of everyday work may be better served by the personal account model.

Partner IdPs and the risks of mixing systems

EMU offers a paved-path integration with partner IdPs such as Entra ID, Okta, and PingFederate. GitHub’s recommendation is clear:

Use a single partner IdP for both authentication and provisioning.

Although it is possible to mix systems, such configurations can fall outside GitHub’s supported paths and require careful evaluation. In particular, mixing Okta and Entra ID across SSO and SCIM is explicitly unsupported and causes provisioning errors.

The relationship with Data Residency (important)

This relationship is easy to misunderstand:

In other words, EMU is a prerequisite for Data Residency, but the reverse is not true.

3. Organization design: GitHub’s recommendations

How you group repositories into Organizations within an enterprise is an architectural decision that can be difficult to change later. GitHub’s official documentation offers several principles.

Principle 1: Group Organizations by work or governance

There are two main models for structuring Organizations:

Principle 2: Create Organizations intentionally, and start with a few

In GitHub’s words, “Organizations are harder to delete than they are to create.” Creating too many without a clear purpose has drawbacks:

GitHub recommends starting with a small number and adding more as operational needs emerge. Enterprise account management supports policy enforcement, access management, and automation across multiple Organizations. You therefore do not need to force everything into one enormous Organization or split everything into fine-grained Organizations from the outset. GitHub also recommends periodically reviewing legacy Organizations.

Principle 3: Manage people through Teams, preferably synchronized with the IdP

Teams are the best way to scale access and permissions.

Principle 4: Collaborate in Organization-owned repositories

GitHub recommends collaborating in Organization-owned repositories rather than repositories owned by individuals. Organization-owned repositories provide more advanced security and management features, and access remains intact as team membership changes. An innersource model, which applies open source-style reuse inside the company, can also reduce duplicated work across teams.

4. Additional consideration: keeping Copilot within a region

This was the area I most wanted to clarify. For organizations that want to use AI without sending code or prompts outside their region, GitHub offers GitHub Copilot with data residency.

What does it provide?

For GitHub Enterprise Cloud with data residency, enabling the “Restrict Copilot to data residency compliant models” policy keeps Copilot’s inference processing and related data within the specified region.

As noted earlier, Copilot data is stored outside the region by default. Only after this policy is enabled do inference, prompts, responses, logs, and telemetry remain in-region.

Only the US and EU currently support in-region Copilot processing

This distinction matters: in-region Copilot processing currently supports only two regions, the US and EU.

GHE.com Data Residency itself supports the US, EU, Australia, and Japan. However, in-region Copilot inference is not yet available in Japan or Australia. GitHub says it plans to expand availability in the near future.

CapabilitySupported regions
GHE.com (in-region data storage)US / EU / Australia / Japan
In-region Copilot inference (compliant models)US / EU only

Other points to keep in mind

If you need an LLM hosted in Japan: BYOK and custom models

In-region Copilot processing is not yet available in Japan. However, organizations that need the inference model itself to run in Japan have another option: BYOK (Bring Your Own Key). For example, you can connect Copilot to an LLM deployed in a Japan region through Microsoft Foundry. Supported providers include Anthropic, AWS Bedrock, Google AI Studio, Microsoft Foundry, OpenAI, and xAI. Fine-tuned models are also supported. This feature is in public preview.

There is an important distinction, however: BYOK has two different data flows. GitHub uses the same broad name for two mechanisms with different characteristics.

MechanismWhere the key is storedGitHub Copilot API (proxy)Primary use
Local BYOKOn the client (stored locally)Not used (removes the Copilot API dependency)Configured directly by individuals in their clients, including air-gapped environments
Enterprise BYOK (Custom models)Server-side (Enterprise / Organization settings)Used (the Copilot API delivers the model)Centrally managed by administrators across the organization

⚠️ This is not an official Data Residency capability. BYOK lets you choose the model used for inference; it does not constrain all Copilot data, including telemetry, to a particular region. Evaluate the model’s location and the location of Copilot data as separate concerns. Because Enterprise BYOK uses GitHub’s Copilot API, whether that proxy is in the request path may be significant for your compliance requirements.

5. Additional references for tightly restricted networks

Organizations that tightly restrict external connections through firewalls or DNS filtering must add the domains and IP addresses used by GitHub services to an allowlist. The exact entries vary by environment and version, so this article does not reproduce them. GitHub provides official references instead.

Copilot is not the only service that may require an allowlist. GitHub provides references for the platform and individual products, with the Meta API as the primary source.

GitHub-wide references

Product- and environment-specific references

How the references relate

Meta API (api.github.com/meta) <- source of all IP range data
   |- Copilot allowlist reference <- Copilot-specific presentation
   |- Actions runner IP ranges
   |- Domain allowlists for restricted networks
   `- GHE.com uses separate ranges (Network details for GHE.com)

⚠️ These pages state that the lists are not exhaustive, discourage relying on hard-coded IP addresses, and recommend regular monitoring. When possible, build an operating process that retrieves and applies updates from the Meta API instead of maintaining static IP entries.

6. How to choose

With so many considerations, it helps to work backward from your requirements.

RequirementGeneral direction
Store code and user data in a specific regionGitHub Enterprise Cloud with data residency (GHE.com)
Store data in JapanThe Japan region for Data Residency
Keep Copilot inference from leaving the selected regionCopilot data residency (currently US / EU only; Japan is not yet supported)
Use an LLM hosted in Japan for Copilot inferenceBYOK with Microsoft Foundry in a Japan region. Local BYOK does not use the Copilot API
Provision company-managed accounts instead of asking employees to use personal accountsEnterprise Managed Users (EMU)
Support routine contributions to external open source projects and external collaborationThe personal account model, because EMU restrictions may interfere with this work
Isolate repositories by policy or sensitivitySeparate Organizations by governance boundary
Start smallBegin with a few Organizations and add more as needed
Scale access managementCenter access on Teams and synchronize them with IdP groups
Tightly restrict external connections with firewalls or DNSAdd destinations to an allowlist. The Meta API is the primary source; use the Copilot allowlist reference for Copilot and the separate ranges for GHE.com

Adopting Data Residency means EMU is required, and EMU restricts public repositories and external collaboration. Evaluate the benefits of keeping data in-region together with the resulting constraints on the developer experience.

Summary

GitHub Enterprise design becomes easier to reason about when divided into three layers:

  1. Where data is stored (Data Residency): The default is the United States. GHE.com lets you choose the US, EU, Australia, or Japan, although some telemetry, billing, and other information may still be handled outside the selected region
  2. Who manages identities (EMU): Choose between company-provisioned accounts through an IdP and the personal account model. Data Residency requires EMU, and EMU places strict limits on public and external collaboration
  3. How work is grouped (Organizations): Group by work or governance, start intentionally with a small number, and manage people through Teams synchronized with the IdP

AI adds another layer: in-region Copilot processing, currently available only in the US and EU. Its regional coverage differs from GHE.com Data Residency. You can store data in Japan, but at present that does not mean Copilot inference can also remain entirely within Japan.

The most reliable approach is to list your compliance, developer experience, and AI requirements, then design the three layers together with the separate Copilot layer.

Official sources