MSBA-299 · Lesson 4 of 12 · 19 min

Domain review: the enterprise environment

▶ Video coming soon A video version of this lesson is on the way.

Priya had been dreading this one. On Thursday afternoon, November 12, after the Skerry working session, she stayed on the call with Wren and confessed that she had answered the licensing questions on the practice assessment by instinct and got most of them wrong. "Tidewater has one bill on the Team plan," she said. "I have never had to think about who consumes a licence." Wren pulled up her own notes from 2025. "Then we treat domain 2 as a new subject, not a review. It is small, but it is the part of the exam where experience as a developer does not help you."

Domain 2, Administer GitHub Enterprise environment, is weighted 10 to 15 percent. Its two objective groups are supporting GitHub Enterprise users and project contributors, and managing deployment and licensing. The first covers which problems administrators can solve and which need GitHub Support, generating support bundles and diagnostics, and recommending standards for development processes, workflows, branching, reviews and approvals. The second covers the four deployment scenarios, licensing and billing models, and monitoring licence use. MSBA-290 lessons 1, 10 and 11 and MSBA-291 lesson 10 taught this material.

Who fixes what

The first bullet asks you to identify issues that administrators can resolve and issues that need GitHub Support. The dividing line is control. If the problem is governed by something an owner can change, such as a role, a team, a policy, a ruleset, a token policy, an identity provider assignment or a runner group, it is the administrator's problem. If it lies in the service itself or in data only GitHub can reach, such as an outage, a platform bug, a billing error on GitHub's side, recovering an enterprise when every owner has lost access, or a change that requires GitHub staff, it goes to Support. On Enterprise Server the line moves: the customer runs the appliance, so storage, networking, backups and upgrades are the administrator's job, and Support helps diagnose problems the administrator cannot.

A decision flow. Start: a user reports a problem. First question: is it caused by a setting, role, policy, membership or identity provider assignment that an owner controls? Yes leads to the administrator fixing it and recording the change. No leads to a second question: is the deployment Enterprise Server and is the cause in the appliance, its storage, network or version? Yes leads to the administrator investigating, with diagnostics and a support bundle if Support is needed. No leads to opening a GitHub Support ticket with evidence such as timestamps, request IDs and, for Server, a support bundle.
Who fixes what. Most tickets that reach Support with no evidence come back with a request for it.
ProblemWho resolves itWhy
A developer cannot push to a protected branchAdministrator or repository adminA ruleset or branch protection is a setting owners control
A leaver still appears in an organization with personal accounts and SAMLAdministratorMembership is removed by an owner; SAML alone does not remove members
GitHub.com is slow for every customerGitHub, through its status pageA service incident is not an enterprise setting
All enterprise owners lost access after an identity provider changeGitHub Support, after the recovery codes have been triedOnly GitHub can restore access when no owner can sign in
An Enterprise Server appliance runs out of diskAdministratorThe customer runs the appliance and its storage
An Enterprise Server upgrade fails with an unexplained errorAdministrator with GitHub SupportSupport diagnoses from a support bundle; the administrator runs the fix

Support bundles and diagnostics

On Enterprise Server, two artefacts carry evidence to GitHub Support. A diagnostics file is a plain-text overview of the instance's settings and environment: licence details, version, architecture, host name and SSL settings, network and authentication settings, and counts of users and repositories. A support bundle is a compressed archive that contains a diagnostics file plus sanitized logs from many services, with tokens, keys and secrets removed. Site administrators and enterprise owners can provide them. Both can be downloaded from the Support section of the Management Console, or created over the administrative SSH connection: ghe-diagnostics produces the diagnostics file and ghe-support-bundle produces the bundle.

Generating diagnostics and support bundles on Enterprise Server over the administrative SSH port. Cluster and geo-replication setups use ghe-cluster-support-bundle instead.
# Diagnostics file for the ticket
ssh -p 122 admin@HOSTNAME -- 'ghe-diagnostics' > diagnostics.txt

# Standard support bundle (recent logs)
ssh -p 122 admin@HOSTNAME -- 'ghe-support-bundle -o' > support-bundle.tgz

# Extended bundle with a longer log window, uploaded directly
ssh -p 122 admin@HOSTNAME -- 'ghe-support-bundle -u -x'

The details that turn up in questions: a standard bundle covers the past two days of logs by default; an extended bundle covers the past eight days and can only be created over SSH, not from the Management Console; bundles include only logs that have not yet been rotated and compressed; and bundles can be uploaded through the link in a Support ticket, from the enterprise's licence settings, or directly from the appliance if it can reach GitHub's upload endpoints over HTTPS. If a problem began a week ago, a standard bundle will not contain it, which is the point of the extended option.

Enterprise Cloud has no appliance, so there is no support bundle. Evidence for a Cloud ticket is the time of the problem with its time zone, the affected enterprise, organization and repository, the request ID from an error page or API response, audit log entries and screenshots. Roderick Pemberton-Quaye, who ran Skerry's old Enterprise Server appliance until the store systems moved to Cloud, told Priya that the single most useful habit was attaching the bundle to the first message rather than waiting to be asked.

Standards for developers

Two bullets ask you to recommend developer process standards and to define standards for workflows, branching, reviews and approvals. These are judgement questions. The exam is looking for standards that are enforced by configuration rather than by hope: a default branch protected by a ruleset at the right level, required pull request reviews with an appropriate number of approvals, code owners for sensitive paths, required status checks, signed commits where the risk justifies them, templates for issues and pull requests, and a documented branching model such as short-lived feature branches merged into a protected main branch. Skerry put its standards in a governance repository with a one-page developer guide, then enforced the critical ones through an enterprise baseline ruleset and left the rest as guidance.

StandardHow it is enforcedLevel to set it
Every change to main goes through a pull requestRuleset requiring a pull requestEnterprise or organization, targeting default branches
At least one approval; two for sensitive codeRuleset approvals, and code owners for sensitive pathsOrganization ruleset by custom property, plus CODEOWNERS
Builds must pass before mergingRequired status checks or required workflowsOrganization ruleset
No force pushes to release branchesRuleset blocking force pushes and deletionOrganization ruleset on release branch patterns
Consistent issue and pull request descriptionsTemplates in the organization's .github repositoryOrganization

The four deployment scenarios

The second objective group begins with the four deployment scenarios the study guide names. Each answers two questions: who runs the platform, and who owns the accounts.

Four columns. Enterprise Cloud with managed users: GitHub runs it on GitHub.com; the identity provider owns accounts. Enterprise Cloud with data residency and managed users: GitHub runs it on a dedicated GHE.com subdomain in a chosen region; managed users are required. Enterprise Cloud with personal accounts: GitHub runs it on GitHub.com; people own accounts, optionally protected by SAML. Enterprise Server: the customer runs it in its own data centre or cloud; accounts are local, LDAP, SAML or CAS. A row beneath each column lists a typical fit: regulated company, data location requirement, open source or mixed community, air-gapped or on-premises requirement.
The four deployment scenarios in the July 2026 outline.
ScenarioRuns itAccountsChoose it when
Enterprise Cloud with managed usersGitHub, on GitHub.comOwned and provisioned by the identity providerCentral control of identity matters more than public collaboration
Enterprise Cloud with data residencyGitHub, on a GHE.com subdomain in a chosen regionManaged users, which are requiredCode and data must be stored in a particular region
Enterprise Cloud with personal accountsGitHub, on GitHub.comOwned by people; SAML optionalDevelopers work in public or with outside communities
Enterprise ServerThe customer, on its own infrastructureBuilt-in, LDAP, SAML or CASThe platform must run on premises or in an isolated network

Data residency deserves attention because the details are specific. Enterprises on GHE.com get their own subdomain, and the API is reached at an api. address on that subdomain rather than at api.github.com. Regions available in 2026 were the European Union (with Norway and Switzerland covered), Australia, the United States and Japan. Some features differ or arrive later on GHE.com, and integrations must be pointed at the right host names. Skerry planned a small separate GHE.com enterprise for a European franchise partner rather than moving its main enterprise, because only the partner's data had a location requirement.

Enterprise Server questions tend to be about responsibilities. The customer installs the appliance on a supported hypervisor or cloud, sizes its storage, configures backups with GitHub's backup utilities, applies patch releases and upgrades to new feature releases before the old ones leave support. Feature releases arrive several times a year, and each is supported for a limited period; GitHub Enterprise Server 3.22 became generally available in September 2026. GitHub Connect links a Server instance to Enterprise Cloud for features such as licence synchronization and access to actions from GitHub.com.

Licensing and billing models

A GitHub Enterprise licence is assigned per unique user, not per organization. One licence covers a person in any number of organizations on Cloud and, when licence use is synchronized from Server, on Server too, so that someone who uses both counts once. Broadly, anyone with access to the enterprise's private or internal resources consumes a licence: organization members and owners, outside collaborators on private or internal repositories in a personal account enterprise, and guest collaborators with managed users. Pending invitations do not consume a licence until accepted, and suspended managed users do not consume one.

GitHub sells licences in two models. Under volume licensing the customer commits to a number of licences for a term and pays for that number. Under usage-based billing the customer pays monthly for licences actually used; enterprises that started an Enterprise Cloud trial on or after August 1, 2024 are on it automatically. Usage-based billing separates consumed licences, those in use at a moment, from billable licences, the unique users who held a licence at any time in the billing cycle, with proration for people who join partway through.

Worked problem

Consumed or billable?

A usage-based enterprise starts November with 520 licensed users. On November 9 it provisions 60 more; on November 20 it suspends 25 leavers through SCIM. How many licences are consumed on November 30, and how many are billable for November?

Show solution
  1. Consumed at month end: 520 + 60 - 25 = 555.
  2. Billable for the cycle: every unique user who held a licence during November, 520 + 60 = 580.
  3. The 60 added on November 9 are prorated for the part of the month they held a licence.
  4. The 25 suspended leavers drop off the December bill.

Answer: 555 consumed on November 30; 580 billable for November, with the additions prorated.

Several products sit on top of licences. GitHub Secret Protection and GitHub Code Security, the two products that replaced the single Advanced Security licence in April 2025, are billed per active committer: a person who committed to a repository with the product enabled during the period, counted once however many repositories they touch. Actions minutes and storage beyond the included allowance, larger runners, Codespaces, Packages storage and transfer, and Git LFS are metered. Copilot is billed per seat or, for some GitHub Enterprise customers since October 2026, included with the licence and metered against an enterprise budget. Enterprises that buy GitHub Enterprise bundled with Visual Studio subscriptions keep those bundled licences on a volume agreement and should match subscribers to their accounts before adding people to Server.

Monitoring licence use

The last bullet asks you to monitor licence usage and consumption. The enterprise's licensing settings show consumed licences and offer a downloadable list of who holds one and why, including whether they are a member, an outside collaborator or a Server user synchronized through GitHub Connect. Lorcan Adeyemi-Brooke, Skerry's finance partner, reviewed that list monthly with a billing manager. The dormant users report adds the activity view: accounts with no recent activity, which in a personal account enterprise are candidates for removal and in a managed user enterprise usually mean the identity provider still assigns GitHub to someone who no longer needs it. Lesson 8 returns to usage reports for metered products.

Keeping Enterprise Server healthy

Because the customer runs Enterprise Server, several routine duties fall to administrators and appear in questions about who does what. Backups are taken with GitHub's backup utilities on a separate host, on a schedule, and restores are tested. Patch releases fix bugs and security issues within a feature release and should be applied promptly; some can be applied as hotpatches without a long maintenance window. Upgrades to a new feature release need a maintenance window, a fresh backup and a check that the target version is a supported upgrade path from the current one. Monitoring covers disk, memory, CPU and replication, and high availability uses a replica appliance that can be promoted. When the exam asks for the first step before an upgrade, the answer is almost always a verified backup.

Evidence for a Cloud ticketWhy Support needs it
Exact time with time zoneLets GitHub find the event in its logs
Enterprise, organization and repository namesNarrows the search to the right tenant
Request ID from the error page or API responseIdentifies the single failed request
Relevant audit log entriesShows what changed before the problem
Steps already triedAvoids a round of basic questions

Common mistakes

  • MistakeOpening a Support ticket for a problem caused by a ruleset or a team.

    InsteadCheck settings, roles and policies first; Support handles the service, not your configuration.

  • MistakeUsing a standard support bundle for a problem that started a week ago.

    InsteadCreate an extended bundle over SSH; it covers eight days instead of two.

  • MistakeAssuming data residency works with personal accounts.

    InsteadGHE.com data residency requires managed users.

  • MistakeCounting licences per organization.

    InsteadLicences are per unique user across the enterprise, and across Server with licence sync.

  • MistakeExpecting someone removed mid-month to vanish from that month's bill.

    InsteadThey remain billable for the cycle and drop off the next one.

Summary and key terms

  • Administrators fix what settings, roles, policies and memberships control; GitHub Support handles the service and cases only GitHub can reach.
  • On Server, diagnostics and support bundles come from the Management Console or ghe-diagnostics and ghe-support-bundle; extended bundles cover eight days and need SSH.
  • Developer standards should be enforced by rulesets, code owners, required checks and templates at the right level.
  • The four scenarios: Cloud with managed users, Cloud with data residency (managed users required), Cloud with personal accounts, and Server.
  • Licences are per unique user; usage-based billing separates consumed from billable licences; security products are billed per active committer.
Support bundle
A sanitized archive of Enterprise Server logs and diagnostics for GitHub Support.
Diagnostics file
A plain-text summary of an Enterprise Server instance's configuration and environment.
Data residency
Enterprise Cloud on a GHE.com subdomain with data stored in a chosen region.
GitHub Connect
The link between Enterprise Server and Enterprise Cloud that enables licence sync and other shared features.
Billable licence
A unique licence used at any time during a billing cycle.
Active committer
A person who committed to a repository with a security product enabled during the period.

Practice problems

Work each problem on paper first, then reveal the answer to check.

  1. How many days of logs does an extended support bundle cover, and how is it created?

    Show answer

    Eight days; over the administrative SSH connection with the extended option, not from the Management Console.

  2. Which deployment scenario requires managed users?

    Show answer

    Enterprise Cloud with data residency on GHE.com.

  3. Do pending invitations consume a licence?

    Show answer

    No, not until they are accepted.

Lesson quiz · 5 questions

Score 60% or more to complete this lesson.

Take the quiz