When GitLab high availability is worth building and what makes it hard
Most engineering organizations that depend on GitLab for source control, merge requests and CI/CD eventually face one question: is a single-node installation still enough, or has the cost of an outage grown past what one server can safely carry? GitLab's reference architectures run from 1,000 users at 20 API requests per second to 50,000 users at 1,000 requests per second, and the documentation generally recommends a high availability strategy for 3,000 or more users. Treat that figure as a starting point for the conversation, not a verdict. The better inputs are how many developers are blocked when GitLab stops, how long a pipeline outage stalls releases, and whether your recovery targets are written down anywhere. Confirm the reference architecture that matches your user count and peak API load before you size anything.
High availability in GitLab is not one setting. It is a set of stateful services, each with its own failover behavior, plus load balancing in front of them. The reference design pairs Gitaly Cluster with Praefect for repository storage, PostgreSQL managed by Patroni, Redis under Sentinel, and Consul for service discovery, with the application nodes behind a load balancer. Each layer fails differently. Praefect has to keep replicas consistent, Patroni has to elect a new primary without split-brain, and Redis Sentinel has to promote a replica that the application reconnects to. A design is only as strong as its weakest tier, and a failover that works on one component can still leave users with lost writes or stuck jobs if another tier is not tested together with it.
The hard part is verification and operations, not the diagram. Ask your team or a partner to show, for each tier, the failure they tested, the time it took to recover and what users saw during the switch. Backups sit underneath all of it: replication copies a mistake as faithfully as it copies data, so high availability must be paired with tested restores, and secrets and configuration files need to be saved separately from the data. Upgrades add another constraint because required upgrade stops and zero-downtime steps have to be rehearsed on the HA topology itself. Before committing, confirm who owns each tier after go-live, what your recovery time and recovery point targets are, and whether a single-site design plus a backup strategy meets them more cheaply than a full multi-node build.
Which GitLab components need redundancy
A GitLab high availability design is only as strong as its weakest tier. Repository storage, the database, the Redis cache and queues, service discovery and the load balancer each need a redundant pair, while the application nodes must be able to fail and be replaced without losing data. Check each card against the reference architecture you plan to build.
Repository storage with Gitaly Cluster
Gitaly holds the Git repositories themselves, so a single Gitaly node that fails makes every project it hosts unavailable for clone, push and merge. Gitaly Cluster places repository copies on several nodes and uses Praefect as the routing layer that tracks which replica is current. Confirm the replication factor and node count against the reference architecture for your user count, and test a node loss before go-live.
- Users for HA guidance
- 3,000
Database with PostgreSQL and Patroni
PostgreSQL stores users, projects, merge requests, issues and CI metadata. A single database server is the most common hidden single point of failure, because every web request and background job depends on it. Patroni manages a primary and standby pair with automatic failover, and the application must reach the current primary through a stable endpoint. Ask who owns failover testing and how long a failover is expected to take in your environment.
Reference architecturesCache and queues with Redis Sentinel
Redis holds session data, cache entries and the job queues that Sidekiq processes. If it fails without a replica, background jobs stop and users see errors even when Git and the database are healthy. Redis Sentinel watches the primary and promotes a replica when needed. Confirm that the application is configured to use the Sentinel-aware endpoints, not a fixed IP address for the primary.
Reference architecturesService discovery with Consul
Consul records which PostgreSQL, Redis and Gitaly nodes are healthy and where each service is reachable, so the application and the load balancer do not depend on hardcoded addresses. A single Consul server can become the point that blocks failover decisions. Confirm the number of Consul servers recommended for your chosen reference architecture and check that the quorum survives the loss of one site or rack.
Reference architecturesLoad balancer in front of application nodes
Every browser, Git client, runner and API call enters GitLab through the load balancer. If that one device or virtual IP fails, the instance is unreachable even when every backend node is healthy. Use a redundant pair with a floating address or a managed balancer, and confirm that it health-checks the GitLab application endpoints and removes unhealthy nodes from rotation.
Reference architecturesStateless application nodes
Rails and Sidekiq application nodes hold no repository or database state of their own, so several of them can run behind the load balancer and any one can be rebuilt. The risk is not the node itself but local state that creates drift, such as differing gitlab.rb files, secrets or software versions between nodes. Keep configuration and secrets identical across nodes, and plan rolling upgrades that follow the required upgrade stops.
Reference architecturesHow the HA components connect
The diagram starts with users and CI runners reaching a load balancer in the user network, which crosses a trust boundary into the internal service network. Stateless GitLab application nodes sit behind it and handle every request. They read and write Git data through Praefect, which distributes it across Gitaly Cluster nodes, and they use the Patroni-managed PostgreSQL cluster, Redis Sentinel and Consul for state and service discovery. Check that every stateful tier has its own replicas, that the boundary is enforced by firewall rules, and that Consul and Sentinel can reach their peers during a node failure.
Request path and stateful tiers in a multi-node GitLab HA layout.
Choosing the HA architecture and where it runs
This table compares the main layout decisions for self-managed GitLab high availability, from staying on one node to a Geo secondary. Read each row for when the option fits and what it asks of your operations team, especially patching, skills and who owns failover. The main takeaway is that the reference architecture for your user count sets the baseline, and the layout choices mostly decide who operates the stateful services.
| Decision | When it fits | Operational cost and ownership |
|---|---|---|
| Single node versus reference architecture | A single node suits small teams with modest load and tolerance for downtime during maintenance or failure. GitLab recommends a high availability strategy for 3,000 or more users. | A single node has one failure domain, so upgrades and restores take the whole instance down. A reference architecture adds nodes you must patch, monitor and test together. |
| Linux package versus Helm chart or Operator | The Linux package is documented as the most mature and scalable method and bundles PostgreSQL, Redis and Sidekiq. Choose Kubernetes only if your platform team already runs and supports clusters. | The Linux package keeps the layout on VMs your team can patch with standard tooling. Kubernetes shifts work to cluster upgrades, storage classes and chart version alignment. |
| All-VM layout versus Cloud Native Hybrid | All-VM suits teams without Kubernetes operations, or where Gitaly, PostgreSQL and Redis need direct host control. Cloud Native Hybrid suits teams that already run Kubernetes for stateless workloads. | Cloud Native Hybrid runs stateless components on Kubernetes while stateful services stay on VMs or managed services, so you operate both platforms. Confirm the exact supported layout in the reference architecture docs before you commit. |
| In-site HA versus Geo secondary | In-site HA protects against node or component failure within one location. A Geo secondary in another region, available in Premium and Ultimate, serves disaster recovery and warm standby. | In-site HA is an operations task for your team. Geo adds a second full site to patch and test, and failover and promotion steps must be rehearsed by named people. |
| Self-managed PostgreSQL with Patroni versus approved external database | Self-managed Patroni fits teams with database operators who can run failover and replication. An external database fits when your database standards already cover availability, backups and access control. | With Patroni, your team owns failover behavior, replication lag and PostgreSQL version upgrades. With an external database, confirm supported versions, connection settings and who handles failover with the database owner. |
| Redis Sentinel and Consul in-site | Redis Sentinel and Consul are part of the documented HA pattern for reference architectures at scale, so they belong in your design from the start. | Each adds quorum and failover behavior to monitor and test. Plan for node counts, certificate handling and an on-call owner for split-brain or leader election incidents. |
| Gitaly Cluster with Praefect | Gitaly Cluster with Praefect fits instances where repository storage must survive a node loss without a single Gitaly host. Smaller instances rarely need this layer. | Praefect and its storage nodes add a component to upgrade and back up in a consistent order. Confirm recovery steps for repository replicas with your backup procedure before go-live. |
| Patch cadence across all layouts | Every option requires the same monthly minor release and upgrade stop planning, applied to each component. | Required upgrade stops at x.2, x.5, x.8 and x.11 apply to the whole instance. Multi-node layouts need a rehearsed sequence and a maintenance window owner, so ask any partner for a written upgrade runbook. |
Building GitLab HA in sequence
This sequence turns a single GitLab instance into a high availability setup where each shared service is built, tested and handed off before the next layer depends on it. The result is a multi-node deployment that a reviewer can trace component by component, from the network up to backups and upgrades.
Confirm user count and API load
Start by sizing the deployment against GitLab's reference architectures, which range from 1,000 users at 20 API requests per second to 50,000 users at 1,000 requests per second. The docs generally recommend a high availability strategy at 3,000 or more users, so the sizing decision determines whether every layer in this sequence is needed. Your engineering lead and the platform owner should agree on the user count, peak API load, and expected growth, and record the chosen reference architecture in writing. Done means a signed-off sizing sheet that names the reference architecture and the node count it implies. Ask your DeployOpen contact or GitLab to confirm the current sizing table for your version before you buy hardware.
Provision network and load balancer
Build the network segments, DNS records, certificates and load balancer that sit in front of the GitLab application nodes. Keep the application, database, cache and Gitaly tiers on separate subnets so that access rules can be written per tier. Confirm that the load balancer health checks the GitLab readiness endpoints and that session and sticky routing behave as your reference architecture expects. Done means every node can resolve and reach its peers on the required ports, and the load balancer returns a health response from a test backend. Check firewall rules against the reference architecture port list before opening anything wider.
Build Consul and the PostgreSQL cluster
Deploy the Consul servers first, because Patroni and the GitLab nodes use it for service discovery and leader lookups. Then build the PostgreSQL cluster with Patroni, set replication and failover behavior, and point the GitLab application nodes at the Patroni-managed write endpoint. Your database administrator should own this step, since failover settings and replication lag limits affect data safety. Done means Consul reports a healthy quorum, Patroni shows one leader and the expected replicas, and a manual switchover completes without application errors. Run the switchover test before going further, and record the observed failover time.
Deploy Redis Sentinel
Install the Redis nodes with Sentinel so that a primary failure triggers an automatic promotion without manual steps. Configure the GitLab nodes to connect through Sentinel rather than to a fixed Redis address, and confirm the Sentinel quorum settings match the number of Sentinel processes. Keep Redis on virtual machines or a managed service, because the reference architectures do not support running stateful components such as Redis inside Kubernetes. Done means a test failover of the Redis primary completes and the GitLab nodes reconnect without a restart. Verify with a read and write from a GitLab node after the failover.
Build the Gitaly Cluster with Praefect
Deploy the Gitaly storage nodes and the Praefect proxy that routes repository requests and tracks replica health. Set the replication factor and the virtual storage name in the Praefect configuration, then point GitLab at Praefect rather than at individual Gitaly nodes. Confirm that the Praefect database is reachable and that repositories are created with replicas on more than one storage node. Done means a new test project is created through GitLab, a push succeeds, and Praefect reports the expected replicas as healthy. Also simulate one storage node going offline and confirm reads and writes continue. Review the Praefect documentation for the exact replication and failover behavior of your version.
Install the GitLab application nodes
Install the GitLab application nodes using the method your team has chosen, typically the Linux package with the bundled services turned off where the external PostgreSQL, Redis and Gitaly services replace them. Set the external URL, the shared secrets, and the connection details for Patroni, Sentinel, Praefect and object storage in the gitlab.rb configuration file. Copy the secrets file to every application node so that encrypted data and tokens behave the same across the fleet. Done means each application node passes the GitLab health checks, the sign-in page loads through the load balancer, and a sample CI job can be queued. Check that each node reports the same version before you open the instance to users.
Configure backups and the upgrade process
Set up backups with the gitlab-backup tool and save the secrets and configuration files separately, since the backup archive does not replace them. For large instances, plan PostgreSQL and object storage backups alongside the application backup, and assign an owner for each. Write the upgrade runbook around GitLab's required upgrade stops and the zero-downtime process for multi-node setups, and rehearse it on a non-production copy. Done means a restore test completes on a separate environment, the restored instance passes basic repository and CI checks, and the upgrade runbook has been walked through once with a named approver. Ask your support provider to confirm how restore tests and upgrade rehearsals are scheduled and billed.
How HA differs across VMs, Cloud Native Hybrid and air-gapped networks
The all-VM layout is the most conventional route to high availability. The Linux package bundles PostgreSQL, Redis and Sidekiq, and GitLab describes it as the most mature and scalable installation method. For high availability, the reference architectures for 3,000 users and up use separate node groups: Gitaly Cluster with Praefect for repository storage, PostgreSQL with Patroni, Redis Sentinel, Consul for service discovery, and a load balancer in front of the application nodes. Every stateful component runs on machines you size, patch and back up yourself.
- Node groups: Application, Gitaly, database, Redis and Consul nodes are separate machines, each sized by the reference architecture you select.
- Failover paths: Patroni handles database leader election and Sentinel handles Redis failover, so you need to test both paths, not only their installation.
- Upgrade rhythm: Multi-node upgrades follow the zero-downtime procedure, and you must still stop at the required upgrade versions.
- Backups: Back up the database, repositories and object storage on a schedule, and save the secrets and configuration files separately.
Confirm with your platform team that you have enough virtual machines, load balancer capacity and on-call coverage for every node group before you commit to this layout.
The Cloud Native Hybrid architecture runs stateless components, such as the web, API and Git services, on Kubernetes, and keeps stateful services on virtual machines or managed services. GitLab's reference architecture documentation states that running PostgreSQL and Redis inside Kubernetes is not supported. This split lets you use your existing cluster operations for the application tier while the data tier follows database and cache practices that your team already runs.
- Stateless tier: GitLab's web, API and Git components scale through Kubernetes deployments managed with the official Helm chart or the GitLab Operator.
- External data services: PostgreSQL, Redis and Gitaly run outside the cluster, either on VMs you manage or on managed services that GitLab supports for your version.
- Network paths: Pods must reach the external database, cache and Gitaly endpoints reliably, which makes firewall rules and DNS a core part of the design.
- Ownership split: Two operating models run side by side, so define which team patches the cluster and which team patches the data tier.
- Backups: Data backups live with the external services, while cluster state and Helm values must be version controlled.
Confirm that GitLab supports your chosen managed database and cache services for your target version, and that your cluster team agrees to own the boundary.
An air-gapped high availability layout uses the same reference architecture logic as a connected deployment, but every package, image and dependency must reach the isolated network before installation or patching. GitLab documents offline environments and separate guidance for running its security scanners and GitLab Duo Self-Hosted offline. Because there is no public internet access, internal mirrors and a controlled transfer process become part of the high availability design, not an afterthought.
- Offline packages: Stage the Linux packages, container images and runner binaries in an internal repository before each upgrade window.
- Internal mirrors: Provide internal package and container registries so that nodes never need outside access during install or failover.
- Scanner data: Plan how vulnerability and security scanner data gets refreshed into the isolated network.
- Upgrade staging: Each required upgrade stop needs its own offline bundle, so keep a transfer log and checksum for every release you stage.
- Licensing: Confirm how license activation works on an isolated instance before the cluster goes live.
Confirm with GitLab's offline documentation and your security team which scanner and AI features you need offline, and how fast your change process can move new packages across the boundary.
Securing the HA control plane and its secrets
A high availability GitLab deployment has more nodes, more credentials and more network paths than a single server, and each one is a place where trust can leak. The cards below cover the shared secrets every node depends on, the paths between tiers, the accounts that reach the data stores, and the admin endpoints of Consul and Redis. Roll these out in stages so each change can be tested before the next one lands.
Protect the shared gitlab-secrets file
Every GitLab node must hold the same gitlab-secrets.json file, because it contains the keys used to encrypt database fields and sign tokens. If a node is rebuilt with a different copy, users can lose access to encrypted data and sessions break. Store the file in your secrets manager or encrypted backup, restrict read access to the configuration tooling, and confirm that a new node receives the identical file before it joins the cluster. Treat it with the same care as the database password.
Keep configuration files consistent and private
gitlab.rb and related configuration files define which role each node plays, the addresses of its peers and the credentials it uses. Manage them from one version-controlled source so that a change on one node cannot silently drift from the others. Restrict file permissions on the hosts, and keep plain-text passwords out of the repository by pulling them from a secrets store at deploy time. Record who approved each change.
Restrict network paths between tiers
A reference architecture separates load balancers, application nodes, Gitaly, PostgreSQL, Redis and Consul. Allow each tier to talk only to the ports and peers it needs, so that a compromised Runner network or a workstation cannot reach the database or the Gitaly storage directly. Confirm the exact port list for your chosen layout in the reference architecture documentation, and test each rule from both the allowed and the blocked side.
Scope Praefect and database service accounts
Praefect, PostgreSQL and Patroni each use credentials that can change repository placement or read all data. Create separate database roles for the application, for replication and for administration, and give each only the privileges it needs. Rotate the passwords on a schedule and after staff changes, and log administrative logins. Review who holds the Praefect token and where it is stored, since that token controls access to the storage cluster.
Lock down Consul and Redis endpoints
Consul coordinates failover and Redis Sentinel tracks the primary, so an unauthorized client on either service can disrupt the cluster or read cached session data. Enable access control on the Consul agents, bind their services to internal interfaces, and require authentication for Redis clients. Do not expose the Sentinel or Consul ports to the user-facing network. Confirm the authentication settings your GitLab version supports before you enable them.
Roll out hardening in stages
GitLab's hardening guidance is a work in progress and recommends gradual rollout. Apply one group of settings at a time to a staging copy of your HA environment, run your backup and failover tests after each change, and keep a record of the previous values. Schedule the production rollout inside a maintenance window and verify that Praefect, Patroni and Sentinel still report healthy nodes before moving on.
Testing that HA works and fails safely
The point of this section is that a high availability design is unproven until it has survived load and failure in a test environment that matches production. Start with load testing at the target API request rate for your user count. The reference architectures are sized in API requests per second, and the range runs from 20 requests per second at 1,000 users to 1,000 requests per second at 50,000 users, so confirm which row you designed for and drive that rate, plus a margin you agree in advance, through the load balancer for a sustained period. Record latency, error rates and the saturation of each Gitaly node, PostgreSQL connection pool and Redis instance. If the load test already produces errors before any failure is injected, the design is undersized and failover testing will not be meaningful yet.
Next, force a failure in each stateful tier and observe the result. Stop one Gitaly node in the Gitaly Cluster, promote a new PostgreSQL primary through Patroni by taking the current leader offline, stop the Redis master that Sentinel monitors, and take one load balancer member out of rotation. For each test, confirm that Praefect routes repository traffic to healthy storage, that Patroni completes the leader election, that Sentinel fails over Redis, and that the load balancer stops sending traffic to the removed node. During each test, verify that a clone and push succeed, that a merge request can be created and merged, that a CI job can be queued and run on a Runner, and that web and API sessions survive. Write down the time each step takes, since that is the measured recovery behavior you will report to the business. Run the tests with the monitoring and alerting you will use in production, because a failover that nobody is alerted to is still an outage.
A failed test looks like a repository that becomes read-only without an alert, a PostgreSQL failover that leaves the application pointing at the old primary, a Redis failover that breaks sessions, or a push that succeeds on one node but is not replicated. Treat any of these as a blocker for cutover, and fix the gap before retesting from a clean state. Also confirm that a restore from a GitLab backup and restore succeeds on a separate environment, including the secrets and configuration files that the backup procedure does not cover by itself. Ask your implementation partner or internal team to document the test results, the open gaps, the owner and the date for each fix, and the retest that closes it. High availability protects against component failure, not against data corruption or deletion, so the restore test is the evidence that the design fails safely.
What drives HA effort and how to keep it down
This table lists the factors that most change the work and duration of a GitLab high availability build, with the effect of each and what to do about it. Read each row as a scope decision: the sooner a driver is fixed in writing, the less it moves the quote and the timeline.
| Driver | Why it changes effort | How to keep it down |
|---|---|---|
| User count and API load | Reference architectures scale from 1,000 users at 20 API requests per second to 50,000 users at 1,000 requests per second, and the docs generally recommend HA from 3,000 users. Each step up adds nodes per component and more load testing. | Confirm the user count and peak API rate before design. Ask whether the sizing is for named users or concurrent activity, and size to a documented reference architecture instead of a custom one. |
| Repository volume and storage layout | Large repository sets raise the size of the Gitaly Cluster with Praefect layout, storage replication, and the time needed for backup and restore tests. | Measure total repository size and largest repositories during scoping. Agree on storage tiers and retention in writing, and keep a single storage standard across nodes. |
| Integrations and runners | Each webhook, chat hook, artifact store, or external CI runner pool adds network paths, credentials and failure modes that must be tested under HA failover. | List every integration and runner pool in the scope document. Defer nonessential integrations to a later phase and standardize runner versions to match GitLab. |
| Identity integration | LDAP, SAML, OmniAuth, Kerberos, smart card or SCIM each need configuration on every node, and failover must keep sign-in working during a directory or identity provider outage. | Pick one primary identity method for the first build. Confirm with your identity team which providers and group mappings are in scope before design starts. |
| Air-gapped or regulated constraints | Offline installs require package and image transfer, internal mirrors and manual patch cycles. Regulated environments add evidence requirements for configuration and change control. | Decide early whether the environment is air-gapped. Ask the partner to document the offline update path and evidence set as part of the fixed scope. |
| Geo scope | A Geo secondary site in another region adds replication design, failover runbooks and separate testing. Geo is available in Premium and Ultimate for self-managed GitLab, and it is distinct from in-site HA. | Separate in-site HA from disaster recovery in the scope. If Geo is needed, agree on the replicated scope and failover tests as a separate work package. |
| In-house skills in PostgreSQL, Kubernetes and Linux | Patroni, Redis Sentinel, Consul and Gitaly Cluster require operators who can troubleshoot failover. Stateful services on Kubernetes are not supported by the reference architectures, which shifts work to VMs or managed services. | Inventory skills before choosing a deployment model. Standardize on one model, such as Linux package nodes or Cloud Native Hybrid, and ask for operator training and runbooks in the quote. |
What to monitor, back up and document after HA is live
A highly available GitLab instance stays available only if someone watches each tier, proves backups restore, and keeps upgrades on a supported path. The cards below name the artifact each item should produce and the team that should own it, so responsibilities are clear before the first incident.
Tier-level monitoring and alert ownership
Monitor each tier separately: load balancer health, the GitLab application nodes, Gitaly Cluster storage nodes and Praefect, the PostgreSQL primary and replicas managed by Patroni, Redis Sentinel, and Consul. Record which alerts page someone and which only open a ticket. Hand over an alert inventory with thresholds and an owner for each alert. The platform team typically owns it, with the application team consulted on user-facing signals.
Failover event logging and review
Each automatic failover, such as a Patroni leader change or a Praefect node being removed from rotation, should leave a traceable record. Review these events weekly for repeats, because a node that fails over often is a capacity or disk problem that high availability hides. Hand over a failover log template and a review cadence. The on-call lead owns the log and the platform manager owns the review.
PostgreSQL and repository backup schedule
Back up PostgreSQL and repository data on separate schedules, and confirm that the gitlab-backup tool captures what you expect in a multi-node layout. The secrets and configuration files, such as gitlab-secrets.json and gitlab.rb, must be saved separately because a backup cannot be restored without them. Hand over a backup matrix listing each data type, its location and its retention. The infrastructure team owns the schedule and the security team approves retention.
Backup and restore docsTested restore path and rebuild runbook
A backup that has never been restored is an assumption, not a recovery plan. Run restore tests on a separate environment at a set interval, time them, and record which steps needed manual work. The rebuild runbook should cover replacing a lost Gitaly or database node and reattaching it to the cluster. Hand over a restore test report and a rebuild runbook. The platform team owns both, and an independent reviewer should sign off the first full test.
Upgrade plan through required stops
Multi-node GitLab upgrades must pass through required upgrade stops, which since GitLab 17.5 fall at x.2, x.5, x.8 and x.11, such as 18.2, 18.5, 18.8 and 18.11. Plan each upgrade against the upgrade path documentation, check the zero-downtime steps for every component, and schedule the work around the monthly minor release. Security patches are backported to the previous two monthly releases, so a lagging instance can fall behind on fixes. Hand over an upgrade calendar mapped to upgrade stops. The platform team owns the calendar and the change board approves each step.
Upgrade paths docsRunner version alignment
GitLab Runner should keep the same major and minor version as the GitLab instance, and runners on Kubernetes, Docker and autoscaling hosts often drift apart because they are updated by different people. Check runner versions after each GitLab upgrade and before retiring old runner hosts. Hand over a runner inventory with versions, executors and owners. The DevOps team owns the inventory, and each runner group has a named owner for updates.
GitLab Runner docsQuestions teams ask before building GitLab HA
How much does a GitLab high availability build cost?
No supplied figure sets the cost of an HA build, so the answer depends on what you buy and who builds it. The main cost components are the servers and storage for each reference architecture tier, load balancers, the design and build effort, testing of failover, and ongoing administration. Some are one-time (design, build, initial tests) and others recur (cloud or data center capacity, licenses, upgrades, backup storage, and staff time). The cost rises with user count and API load, because the reference architectures scale from 1,000 users to 50,000 users. Ask any partner for a quote built from a written scope that lists each node, the component versions, the backup and restore tests, and who performs the upgrades. Your GitLab tier also changes the license line item: Free is 0 dollars, Premium is 29 US dollars per user per month billed annually according to the GitLab pricing page, and Ultimate is custom priced.
How long does it take to build GitLab HA?
The timeline depends on the reference architecture you choose, the number of stateful services you must build from scratch, and how much of the environment already exists. Work that usually extends schedules includes provisioning the database, Redis, Gitaly Cluster and Consul nodes, integrating your identity provider, configuring TLS and load balancing, and running failover tests. Scope gets agreed in writing before work starts, so ask for a milestone plan that separates design, build, cutover and acceptance testing. No supplied fact gives a duration, so confirm the schedule with the partner or your own team against your environment, and make sure the plan includes a failover test and a backup restore test before go-live.
Can our team build GitLab HA without a partner?
Yes, if your team has the skills across several areas at once. You need people who can run PostgreSQL with Patroni, Redis Sentinel, Consul, Gitaly Cluster with Praefect, load balancing, and the Linux package or deployment method you choose. The GitLab reference architectures document the components and their sizing, so start there. Plan for an upgrade path too, because GitLab requires upgrade stops at versions x.2, x.5, x.8 and x.11, and every node must follow the same sequence. Assess honestly whether your team can staff this alongside its normal duties, and whether it can rehearse failure scenarios on a non-production copy.
Does high availability replace GitLab backups?
No. High availability keeps GitLab running when a node, service or zone fails, but it does not protect you from deleted repositories, corrupted data, a bad upgrade or a ransomware event, because those problems replicate across nodes. You still need a backup strategy that covers the gitlab-backup output, the secrets and configuration files (such as gitlab-secrets.json and gitlab.rb), and object storage data, and that is tested by restoring it. Confirm the backup approach with your team and review the GitLab backup and restore documentation before you sign off on the architecture.
Do we need GitLab Geo as well as HA?
Only if you need a second site that can take over if your primary region fails. HA works within one site and protects against component failures. Geo is a separate capability, available in Premium and Ultimate for self-managed GitLab, that provides a warm-standby secondary site in another region, continuously synchronized for disaster recovery according to the GitLab Geo documentation. Geo adds a second environment to build, license, monitor and test, and it changes the failover procedure. Decide based on your recovery time and recovery point requirements, which you should set with your business continuity owners before comparing options.
Is Cloud Native Hybrid required for GitLab HA?
No. Cloud Native Hybrid is one supported layout, not a requirement. It runs stateless components on Kubernetes while stateful services run on VMs or managed services, because the GitLab reference architectures state that running stateful components such as PostgreSQL and Redis inside Kubernetes is not supported. Your choice depends on your platform team's Kubernetes skills, your hosting standards, and whether you want to run the Linux package on virtual machines. Confirm the exact layout for your user count in the current reference architecture documentation before you commit to a design.
What does the work need from our team?
Plan for named people in several roles. You need an infrastructure owner who provides virtual machines or Kubernetes capacity, network and DNS changes, storage, and firewall rules. You need an identity owner for SSO and group mapping, a security contact for TLS certificates and hardening decisions, and an administrator who will run upgrades and backups after go-live. Your team also needs to approve test windows, provide access to the non-production environment, and sign off on the failover and restore test results. Ask any partner to list these responsibilities in the written scope so that gaps are visible before work starts.
How DeployOpen scopes, builds and hands over GitLab HA
DeployOpen plans and implements self-managed GitLab high availability inside your own cloud accounts, data centers or air-gapped networks. Engagements are fixed-scope, with the architecture, deliverables and timeline agreed in writing before work begins.
How we scope
- Confirm user count, API request load and growth to choose a reference architecture for your environment
- Record which components run on VMs, which run on Kubernetes and which use managed services
- Agree in writing the failover tests, documentation and handover items included in the fixed scope
How we build
- Deploy Gitaly Cluster with Praefect, PostgreSQL with Patroni, Redis Sentinel, Consul and the load balancer tiers
- Configure backups, secrets handling and object storage for each stateful component
- Test node failures and failovers, then document the results against the agreed acceptance criteria
How we hand over
- Deliver architecture diagrams, runbooks for failover, backup restore and upgrade stops
- Train your platform and operations staff on monitoring, alerting and routine maintenance tasks
- Provide a list of open decisions, such as Geo or Cloud Native Hybrid, for your team to review
How we support
- Offer ongoing support, upgrades and continuous testing as a retainer after handover
- Plan minor and patch upgrades around the required upgrade stops and your change windows
- Retest high availability behavior after upgrades, configuration changes or infrastructure moves

