Self-hosted Gitea vs managed Gitea

Choose self-hosted Gitea when code, CI logs and audit data must stay in your own accounts or networks and your team can run upgrades and backups. Choose managed Gitea when you want the provider to run the service and you accept its data location, upgrade schedule and feature terms.

On this page

Self-hosted Gitea vs managed Gitea: which model fits your data and control needs

Self-hosted Gitea fits a team that must keep source code, CI logs and packages inside infrastructure it controls, and that has people to run upgrades, backups and patching. Gitea Cloud, the managed service offered alongside self-hosted installs according to the Gitea documentation, fits a team that wants the same Git, code review and package features without operating the server, and whose data rules accept a provider-run location. Self-hosting is the better choice when a regulator, customer contract or internal policy names the hosting location, requires air-gapped operation, or requires direct control over the database, backups and access logs. A managed service is the better choice when the provider's contract meets those requirements and the team has no capacity to patch a Git server on schedule.

Gitea is MIT licensed and written in Go. It runs on Linux, macOS and Windows and supports MySQL, PostgreSQL, SQLite and MSSQL, so a self-hosted install can sit on the database and storage platform your team already operates. Source code, CI logs and packages all land in that footprint, so map each one before you pick a model. CI logs deserve a specific check: build output can echo tokens or internal hostnames, and Gitea Actions is designed to be compatible with GitHub Actions, so workflows that print secrets carry the same exposure under either model. For a managed option, confirm where logs are stored, how long they are kept, who can read them and whether you can export them on exit. For a self-hosted option, confirm who holds the database credentials, where backups are written and how long a test restore takes.

DeployOpen works on self-hosted Gitea installs inside the client's own infrastructure: their cloud accounts, data centers or air-gapped networks. DeployOpen does not sell or resell Gitea Cloud. For self-hosted installs, its work can cover planning, installation, hardening, backup setup and documentation of the upgrade path, with scope, deliverables and timelines agreed in writing before work starts. Upgrades are the point to plan for early. Gitea v28.0.0 was released on September 29, 2026 and v28.1.0 on October 6, 2026. A self-hosted team chooses its own window for those releases, while a managed service runs on the provider's schedule and notice terms. Ask any managed vendor how it notifies customers before upgrades and what happens to your repositories, packages and logs when the contract ends.

How self-hosted and managed Gitea compare on licensing, features and databases

This table compares the licensing, editions, hosted availability, databases, registries, built-in CI and release line for self-hosted Gitea and Gitea Cloud. Read the self-hosted column as facts about the software, and the managed column as a list of questions to put to the provider, since plan details are set by the service. The main takeaway: the MIT license and the full database and registry list apply to what you run yourself, while Enterprise features and data location depend on the plan you buy.

FactorSelf-hosted GiteaGitea Cloud (managed)
LicenseMIT licensed community edition, written in GoCheck the service agreement for terms covering the hosted service, separate from the software license
EditionsCommunity edition, plus Gitea Enterprise from CommitGo, Inc.Confirm which edition the plan provides and how it is priced
Enterprise featuresSAML 2.0 service provider, audit logging, branch protection inheritance, IP allowlisting, mandatory 2FA, dependency scanningConfirm which of these features the plan exposes and whether they cost extra
Hosted availabilityYou install and operate the instance yourself in your own infrastructureOffered as Gitea Cloud, alongside self-hosted installs. Confirm hosting region and data residency
DatabasesMySQL, PostgreSQL, SQLite and MSSQLConfirm which database engines the plan runs and whether you can choose one
Package registriesMore than 20 types, including npm, PyPI, Maven, container images and Helm chartsConfirm which registry types the plan enables and any storage or usage limits
Built-in CIGitea Actions, designed to be compatible with GitHub ActionsConfirm whether runners are provided or you bring your own, and where jobs execute
Release linev1.27.3 (August 29, 2026), v28.0.0 (September 29, 2026), v28.1.0 (October 6, 2026)Confirm which release the provider runs and how upgrades are scheduled

Who controls data location, access and audit evidence in each model

Data location, identity, logging, administration and compliance evidence each decide what your team can prove to an auditor, and the two models place those controls in different hands. The cards below show which control stays with your team in a self-hosted install and which moves to a managed provider, so you know what to ask before you sign.

Data location and residency

Self-hosted Gitea keeps repositories, databases, package storage and backups in the cloud account, data center or air-gapped network you choose, so your team sets the region. A managed service moves that decision to the provider. Ask which regions hold repositories, backups and logs, where copies sit during failover, and which sub-processors can reach the data. Your database choice also shapes where data lands, since Gitea supports MySQL, PostgreSQL, SQLite and MSSQL.

Single sign-on and two-factor

Gitea Enterprise includes SAML 2.0 service provider support and mandatory two-factor authentication. In a self-hosted install, your team builds the identity provider connection and decides how enforcement is rolled out. On a managed service, confirm that SAML 2.0 and mandatory two-factor are included in the plan you would buy, who controls the identity provider settings, and whether the provider's own staff sign in through your identity provider. Request the configuration in writing.

Gitea Enterprise page

IP allowlisting for access

IP allowlisting is part of Gitea Enterprise, so it is a paid-tier control in the self-hosted model. Your team can also restrict access at the firewall, load balancer or VPN layer, which covers every service on that network path. For a managed service, ask whether you can restrict web, Git over SSH and API access by source address, whether the list applies to the provider's support staff, and how changes to the list are logged. Test the restriction from an address outside the list before go-live.

Audit logging and retention

Audit logging is an Enterprise feature, so confirm it is included in the tier you plan to run. In a self-hosted install, your team decides where audit events are stored, how long they are kept, who can read or delete them, and whether they reach your SIEM. On a managed service, ask which events are recorded, including actions taken by the provider's own staff, how long logs are retained, whether you can export them in a usable format, and who at the provider can read your tenant logs.

Administrator and backup control

In a self-hosted install, your team holds the server, database and backup administrator roles, schedules backups, and decides when upgrades happen. Gitea shipped v28.0.0 on September 29, 2026 and v28.1.0 on October 6, 2026, so an upgrade owner matters. On a managed service, the provider holds those roles. Ask who has root and database access, where backups are stored and for how long, and how often restores are tested with recorded results. Also ask who approves upgrades that change your environment.

Gitea documentation

Compliance evidence and attestations

DeployOpen plans, implements and hardens self-hosted platforms, and it prepares the systems, controls and evidence that an assessment will review. It does not issue audit reports or certifications, and independent auditors and certification bodies perform that work. Under either model, request the managed provider's own attestations and read their scope and dates. Then map each control to your framework's requirements, noting which controls the provider covers and which remain yours. In a self-hosted install, your evidence comes from your own configuration, logs and backups.

Which hosting path fits your data and control requirements

The diagram starts with where source code and CI logs must live. If they must stay in your own accounts or network, the path moves to the feature question. If they can sit in a provider's environment, a managed offer becomes a candidate and still goes through the same feature check. Gitea Enterprise, sold by CommitGo, adds SAML 2.0, audit logging, IP allowlisting, mandatory two-factor authentication and dependency scanning, so confirm in writing whether a managed offer includes each feature you need. The final question is whether your team can own upgrades, patching and backups. A yes points to self-hosting, and a no points to a managed offer whose terms you should confirm first.

Decision path from data location to features to operating ownership.

What your team runs with self-hosted Gitea versus managed Gitea

This table compares who does each operating task in a self-hosted Gitea deployment and in a managed Gitea service. Read each row as a split of responsibility, then use the confirm column to turn it into contract terms before you compare quotes. The main takeaway is that a managed service moves platform work to the provider but does not remove the need to confirm backups, restore testing, patch windows and notice of breaking changes in writing.

TaskSelf-hosted GiteaManaged GiteaConfirm in a managed contract
Version tracking and upgradesYour team follows Gitea releases, schedules upgrades and tests migrations on a copy first.Provider plans and applies upgrades to the hosted instance. Your team reviews change notes and impact.Advance notice of breaking changes, upgrade windows, and whether a version can be held for a period.
Security patchingYour team patches Gitea, the operating system, the database and runner hosts, and tracks advisories.Provider patches the hosted service. Your team still controls user accounts, tokens and runner access.Patch windows, how quickly critical fixes ship, and how you are told about security advisories.
Database operationYour team runs MySQL, PostgreSQL, SQLite or MSSQL, including backups, upgrades and tuning.Provider operates the database layer behind the hosted service.Which database engine is used, where data is stored, and what export access your team receives.
Backups and restore testingYour team sets backup scope and retention, runs backups, and tests restores on a schedule.Provider runs backups as part of the service. Confirm scope, frequency and who performs restore tests.Backup scope, retention, restore test frequency, and whether your team receives the restore test results.
Sizing and high availabilityYour team sizes CPU, memory and storage, and designs failover for the application, database and file storage.Provider sizes and builds resilience into the hosted service. Your team relies on its availability terms.Availability commitments, the failover design, and how capacity grows as repositories and packages grow.
Gitea Actions runnersYour team provisions, patches and scales runners, and controls their network access and secrets.Provider may offer hosted runners. Confirm whether runners are included and where they run.Who patches runner images, network egress rules, and whether your own runners can connect to your network.
Package registry storageYour team sizes, backs up and sets retention for package storage across the registry types you enable.Provider stores packages on its infrastructure. Gitea supports more than 20 registry types.Which registry types are included, storage limits, retention, deletion rules and data location.
SSO and admin configurationYour team configures SSO, admin roles, two-factor settings and access restrictions.Provider configures the hosted instance with your input. Admin accountability still needs an owner on your side.Which SSO protocols, audit logs and two-factor enforcement the plan supports, and who holds admin rights.
Monitoring and incident responseYour team monitors the stack, responds to alerts and handles communication with users during incidents.Provider monitors the hosted service and runs its own incident response. Your team handles escalation.Incident notice process, status reporting, escalation contacts and log access for your security team.

How upgrades and patching change when Gitea is managed

In a self-hosted deployment, your team decides when each Gitea release reaches production, and it carries the testing and rollback work that follows from that choice. The Gitea GitHub releases page lists v1.27.3 on August 29, 2026, v28.0.0 on September 29, 2026 and v28.1.0 on October 6, 2026, so the release line moved several times between late August and early October. Each upgrade needs a fresh backup of the database and repositories, a read of the release notes for database migration steps, and a rehearsal on a copy of production data in staging. Keep the previous binary and a tested restore path so a failed upgrade can be reversed. Retest Gitea Actions workflows and runners as well, because Gitea Actions is designed to be compatible with GitHub Actions, and that compatibility still needs checking against your own workflows.

With managed Gitea, the provider's schedule decides when your instance changes, so the question shifts from when to adopt a release to what will be applied and when. Ask for the written upgrade policy: which release lines are offered, how long each one is supported, and how security patches are handled outside the normal cycle. Ask for the maintenance windows, including the time zone, the notice period and whether you can exclude your release freezes. Ask whether a version can be pinned, for how long, and what the request process looks like. Ask how breaking changes are announced, how much notice you receive, and whether migration guidance and a staging or preview instance arrive before production changes. Gitea documentation describes Gitea Cloud as a managed service alongside self-hosted installs, so confirm which release line your contract covers. Your team still tests SSO, webhooks and Gitea Actions workflows after each change, because the provider controls the upgrade but not your integrations.

What drives the cost of each Gitea hosting model

Self-hosted Gitea has no software license fee, because Gitea is MIT licensed. You pay for the infrastructure it runs on and for the people who keep it running. Setup work such as installation, database selection, identity integration and backup design is largely one-time. Compute, storage, upgrades and monitoring recur every month, and they grow with repository count, CI load and package registry use. See the Gitea documentation for the supported databases and deployment options.

  • Infrastructure: compute, storage, database and network capacity in your cloud account, data center or air-gapped network. This recurs and scales with usage.
  • Staff time: upgrades, backups, restore tests, monitoring and on-call coverage. For most teams this is the largest recurring line, and it depends on how many people already run similar services.
  • Implementation partner scope: if you hire a partner, installation, hardening, SSO setup and backup design are billed against a written scope. Any upgrade or testing retainer recurs.
  • Enterprise licensing: if you need SAML 2.0 service provider support, audit logging, IP allowlisting or mandatory two-factor authentication, Gitea Enterprise from CommitGo, Inc. is a separate commercial agreement. Confirm whether its fee is annual and what support is included.

Ask the partner to itemize setup, hardening, backup testing and retainer hours separately, and ask CommitGo, Inc. for the license term, support scope and renewal basis.

Which Gitea features need Enterprise in either model

Six features sit behind Gitea Enterprise from CommitGo, Inc.: SAML 2.0 service provider support, audit logging, organization-level branch protection inheritance, IP allowlisting, mandatory two-factor authentication and dependency scanning. These matter most when a compliance or identity requirement depends on them. As an illustration, if your identity team requires SAML sign-in for every developer, SAML 2.0 support becomes a gate that decides the shortlist before any other comparison. The same logic applies if an assessor will sample audit logs or if your policy requires every organization to inherit the same branch protection. List each control your compliance and identity owners have written down, then map it to one of the six features before you weigh hosting or cost.

The feature list is the same in both models, but the question you ask changes. In a self-hosted install, you license Enterprise from CommitGo and run these features inside your own infrastructure, so your team configures, tests and upgrades them. In Gitea Cloud, the provider runs the service, and the features you can use depend on the plan you buy. Confirm in writing which of the six features are included in each Gitea Cloud plan, and whether the settings you need, such as SAML or IP allowlisting, are ones you can configure yourself or only ones the provider controls. Do not assume that a feature listed on the Enterprise page is available in a managed plan. Start with the Gitea Enterprise page for the feature list, then confirm the plan details directly with the vendor.

Two checks belong on the test plan whichever model you choose. First, Gitea Actions is designed to be compatible with GitHub Actions, but compatibility should be proven against your own workflows, not assumed from the design goal. Run the pipelines that build and release production code, including any that call GitHub-specific APIs, third-party actions or runner features, and record every difference before you migrate. Second, confirm the SSO protocols supported by the exact release you run. The Gitea documentation covers authentication options, so check the pages for your release. Because SAML 2.0 service provider support is an Enterprise feature, your identity provider may need a different protocol path, so ask your identity team to confirm what they can support before you choose a model.

How to move repositories between self-hosted Gitea and Gitea Cloud

This sequence moves repositories, packages, Actions workflows, users and sign-in between a self-hosted Gitea instance and Gitea Cloud with a written record of what was exported, tested and approved. It ends with a tested target and written confirmation that the old instance and its data are gone. Export terms and the feature matrix decide what is possible in either direction, so confirm them before any work starts.

  1. Inventory repositories, packages, workflows and users

    Export a full list from the source instance: every repository with its owner, visibility, Git LFS use, wiki, issues, pull requests, webhooks and deploy keys; every package registry in use, since Gitea supports more than 20 registry types including npm, PyPI, Maven, container images and Helm charts; every Actions workflow with its runner labels; and every user, team, organization membership and authentication source. The platform owner and each repository owner sign the list, and every item gets a decision: move, archive or retire. The step is done when no repository lacks an owner or a decision.

  2. Confirm what exports and imports on each side

    Check the Gitea documentation and the written answer from the Gitea Cloud provider for each data type: repositories, issues, pull requests, wiki, packages, Actions secrets and variables. Mark each item as migrates, recreated by hand or not available, and ask whether secret values can be exported at all. Read the export terms in the contract, covering the export format, how a full export is requested, what it costs and how long the provider keeps data after termination. These terms decide how hard a later exit is, so record them as part of the switching cost. The step is done when the matrix is signed and every gap has a named owner.

  3. Move package registries and container images

    For every registry on the inventory, confirm whether package versions, metadata and container images can be exported, or whether they must be rebuilt from source and published again. The migration path depends on the provider and the package format, so test each registry type with a sample package before relying on it. Then update package manager configuration on build agents and developer machines, including registry URLs, tokens and scope names in files such as .npmrc or pip.conf. The step is done when a clean build on the target installs every dependency from the new registry and none from the old one.

  4. Test Actions workflows on the target

    Gitea Actions is designed to be compatible with GitHub Actions, but treat that as a starting point and check each workflow, including every third-party action it calls. Run each workflow against a copy of its repository on the target. Check runner registration and labels, secret and variable scope, container images the jobs pull, cache behavior and any step that calls an external API. Record each workflow as passing, changed or blocked, with the fix applied. Pipelines that release to production or sign artifacts go first. The step is done when every critical pipeline has a passing run on the target and a named owner signs the results.

  5. Pilot one organization from end to end

    Pick one organization with a small number of repositories, a willing team and a low-risk release calendar. Migrate its repositories, packages, users and sign-in, then have the team run a full working cycle on the target: clone, push, open and review a pull request, run CI, publish a package and deploy. Log every defect with an owner and a severity. The pilot is done when the team completes one release without falling back to the old instance and the defect log has no open blockers.

  6. Cut over remotes and identity with rollback

    Freeze pushes on the old instance, run a final incremental sync, then point Git remotes, CI webhooks and deploy targets at the new address. Switch sign-in settings in the same window and confirm that SAML or OIDC claims map to the same roles. If your current setup uses Gitea Enterprise features such as SAML 2.0 service provider support, confirm the target provides them before cutover. Keep the old instance available for the rollback window agreed in writing, and give developers the steps to restore their old remotes if needed. The step is done when the rollback window closes with no unresolved incidents.

  7. Decommission the old instance and confirm deletion

    When the rollback window closes, take one final backup kept for the retention period in your policy, then revoke tokens, deploy keys and runner registrations on the old instance. Shut down the service and remove its DNS records and certificates. If the old side is managed, ask the provider in writing to confirm deletion of repositories, packages, logs and backups, and to state when that deletion takes effect. If the old side is self-hosted, record which disks, volumes and backup sets were destroyed, by whom and when. The step is done when the deletion confirmation and the destruction record are filed with the migration record.

What do buyers ask before choosing self-hosted or managed Gitea?

Is self-hosted Gitea cheaper than managed Gitea in the long run?

Self-hosted Gitea has no license fee for the software itself, but the total cost depends on who pays for what. Gitea is MIT licensed, so the recurring costs of a self-hosted install are the infrastructure it runs on, backups, storage, monitoring, the staff hours for upgrades and patching, and any on-call coverage. A managed service charges a subscription that bundles hosting and operations, so its recurring cost is visible but its scope is set by the vendor. Implementation help from a partner is usually a one-time cost in a fixed-scope engagement, and it is quoted from a written scope. Drivers that push self-hosted costs up include repository volume, CI load, high availability requirements and the number of environments. Ask each option for a quote that lists one-time and recurring items separately, and compare the staff hours that each model needs from your team.

How long does a self-hosted Gitea rollout take?

The rollout time depends on the written scope, so no single duration applies to every team. The main inputs are the number of repositories and users to migrate, the database (Gitea supports MySQL, PostgreSQL, SQLite and MSSQL), the authentication setup, whether package registries and Gitea Actions runners are in scope, and how many environments need to be built and tested. Hosting placement also matters, because a rollout inside your own cloud account, data center or air-gapped network needs access approvals and change windows that can add time beyond the install itself. DeployOpen agrees scope, deliverables and timelines in writing before work starts, so the timeline comes from that document. Ask for the milestones, the handover tasks and the assumptions behind each date, and confirm which items your own team must complete.

What does a self-hosted Gitea rollout need from our own team?

A self-hosted Gitea rollout needs people who own the infrastructure it runs on, and those people should be named before work starts. The work spans the hosting platform (virtual machines, containers or Kubernetes, depending on your standards), the database, the identity provider for SSO, DNS and TLS certificates, backup and restore, network access for developers and CI runners, and monitoring. Someone must also own change approval, upgrade windows and the decision to adopt new releases. Gitea runs on Linux, macOS and Windows, and Gitea Actions is designed to be compatible with GitHub Actions, so your build engineers will need to review existing workflows. Ask your implementation partner which tasks it covers, which ones stay with your team after handover, and which skills the handover documentation assumes.

Can an internal team run self-hosted Gitea without an implementation partner?

An internal team can run Gitea alone if it already operates similar self-hosted services and has capacity for the recurring tasks. Gitea is one service with a documented set of supported databases, so the software is only part of the work. The larger share is the surrounding duties: keeping up with releases, restoring backups under test, responding to security fixes, running access reviews and helping developers when CI runners fail. Those duties recur every month, and they often fall on people who are also busy with other work. Before deciding, check whether your team has someone who can read release notes and test an upgrade in a staging copy, and whether anyone is available out of hours. If the answer is unclear, ask for a fixed-scope handover that leaves your team with runbooks and a tested restore procedure.

How hard is it to move Gitea from self-hosted to managed later?

Moving later is manageable if the data stays in standard formats and the team plans for it from the start. Repositories are Git, so they can be cloned and pushed to another Git host, but issues, pull requests, reviews, users, permissions, package registries and CI definitions each need their own export or migration path. Gitea Actions is designed to be compatible with GitHub Actions, which may ease some CI moves, but compatibility should be tested on your own workflows. Moving in either direction depends on what the provider allows you to export and how it handles database dumps and attachments. Ask the managed provider for its export options and any associated fees, check the Gitea documentation for the migration options in the version you run, and keep a tested restore so you can prove the move worked.

Does DeployOpen provide Gitea Cloud or issue compliance certifications?

DeployOpen does not provide Gitea Cloud, and it does not issue compliance certifications or audit reports. Gitea Cloud is a managed service offered alongside self-hosted Gitea installs, so buyers who want that model should ask its provider directly about hosting location, support and terms. DeployOpen plans, implements, hardens, backs up, upgrades, documents and supports self-hosted open-source platforms inside your own cloud accounts, data centers or air-gapped networks. For compliance, DeployOpen prepares systems, controls and evidence for an assessment, while independent auditors and certification bodies issue any report or certificate. Ask any implementation partner to confirm in writing what evidence it will hand over, and ask your auditor which evidence it will accept.

How DeployOpen scopes and runs self-hosted Gitea

DeployOpen plans, implements, hardens, backs up and documents self-hosted Gitea inside your own infrastructure, so data location and upgrade timing stay under your control. Each engagement starts from a written scope, and we say so during scoping if a managed Gitea service fits your requirements better.

How we scope

  • The written scope names the Gitea version, database engine (MySQL, PostgreSQL, SQLite or MSSQL) and hosting platform.
  • Scope lists which Gitea Actions runners, package registries and SSO settings are in or out of the engagement.
  • Confirm with CommitGo whether features such as SAML 2.0 or audit logging need Gitea Enterprise.

How we build

  • We install and configure Gitea against the database and storage layout agreed in the scope document.
  • Hardening covers TLS, administrator accounts, SSH access, two-factor settings and backup jobs, checked before go-live.
  • Where Gitea Actions is in scope, we configure runners and document any workflow that needs changes.

How we hand over

  • Handover documentation covers install layout, upgrade steps, backup and restore procedures and admin runbooks.
  • The written scope states which restore tests we run and which your team runs.
  • Your team receives the configuration, credential handling notes and access list needed to run Gitea without us.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers, agreed separately from the initial engagement.
  • Upgrade work is staged in a copy of your environment before any production change.
  • Security testing of the Gitea setup, including Gitea Actions and package registries, is available as a separate engagement.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.