Server Side Public License

Also known as: SSPL

On this page 7

The Server Side Public License (SSPL) is a source-available license, created by MongoDB in 2018, that extends copyleft obligations to hosted services: anyone who offers the licensed program as a service to third parties must release the source code of the entire stack used to run that service. In software licensing, the SSPL sits between open source and proprietary terms, because it grants broad rights to read, modify and redistribute code while placing a deliberately heavy condition on cloud providers.

The license was written in response to a commercial problem rather than a technical one. Vendors of open source infrastructure software saw large cloud platforms sell managed versions of their databases without contributing back, and the SSPL was designed to make that business model either contractually impractical or dependent on a commercial agreement with the original author.

How the SSPL modifies the GPL

The SSPL is a derivative of GPL version 3, and most of its text is copied directly from that license. The decisive difference lies in Section 13, which in the GPLv3 deals with use alongside the AGPL. The SSPL replaces it with a clause titled “Offering the Program as a Service”, which defines what a provider must disclose when third parties interact with the program over a network.

Under that clause, a provider who makes the functionality of the program available as a service must release the Service Source Code under the SSPL. This term covers the program itself and also all programs used to make it available, including management software, user interfaces, application programming interfaces, automation, monitoring, backup, storage and hosting software. The obligation therefore reaches far beyond modifications to the licensed code.

The following table summarizes the main structural elements of the license and what each one means for a licensee.

ElementContentPractical effect
Base textGPL version 3 with editsFamiliar copyleft terms for distribution
Section 13Offering the program as a serviceTriggers disclosure for hosted use
Service Source CodeProgram plus supporting stackCovers orchestration, monitoring and backup tools
License of disclosed codeMust be the SSPLSupporting tools cannot stay proprietary
Internal useNot a service to third partiesNo disclosure required for in-house deployments
Core elements of the SSPL

The scope of the trigger is the crux. Running an SSPL database inside a company for its own applications does not count as offering the program as a service. Selling a managed instance of that database, where customers use its features directly, clearly does. Between these poles lies a gray zone that the license text does not resolve precisely.

Why the SSPL is not an open source license

The SSPL is not approved by the Open Source Initiative, and MongoDB withdrew its submission for approval in 2019 after extended debate. Critics argued that the license violates criterion 6 of the Open Source Definition, which forbids discrimination against fields of endeavor, because it singles out one form of use, service provision, for exceptional burdens.

A second objection concerns criterion 9, which prohibits a license from restricting other software distributed alongside the licensed program. Requiring that the hosting, monitoring and storage software be released under the SSPL effectively extends the license to independent programs. Major distributions such as Debian, Fedora and Red Hat Enterprise Linux declined to ship SSPL software for these reasons.

The comparison below places the SSPL next to the licenses it is most often confused with.

LicenseNetwork triggerDisclosure scopeOSI status
GPLv3NoDistributed derivative worksApproved
AGPLv3Yes, for modified versionsModified program codeApproved
SSPLYes, for any service offeringProgram plus entire service stackNot approved
Business Source LicenseUsage limit set by licensorNot applicable before change dateNot approved
Elastic License 2.0Prohibits managed serviceNo disclosure, use is barredNot approved
SSPL compared with related licenses

The SSPL is therefore best classified as source-available software licensing. The code can be inspected, forked and improved, yet the license does not grant the freedom to use the program for any purpose without conditions, which is the defining test of both open source and free software.

Adoption and the fork response

The SSPL has been adopted by a small number of infrastructure software vendors, usually as part of a broader move away from permissive or weak copyleft terms. Each adoption reshaped its community, and in prominent cases it prompted a permissively licensed fork maintained by cloud providers or foundations.

The table lists the best-known projects and what happened after the license change.

ProjectYearPrevious licenseCommunity response
MongoDB2018AGPLv3Cloud vendors built compatible alternatives
Graylog2021GPLv3Limited friction, smaller ecosystem
Elasticsearch and Kibana2021Apache License 2.0OpenSearch fork under Apache 2.0
Redis2024BSD 3-clauseValkey fork under BSD license
Notable SSPL adoptions

Several vendors later softened their position. Elastic added the AGPLv3 as an additional option in 2024, and Redis likewise added the AGPLv3 to its licensing choices in 2025. These reversals suggest that the SSPL succeeded at deterring free-riding but carried real costs in community trust, distribution packaging and contributor engagement.

Practical compliance for users and providers

Compliance with the SSPL depends almost entirely on how the software is deployed. Most organizations that use an SSPL database for their own products never trigger Section 13, because their customers use an application built on the database rather than the database functionality itself.

The decision table below illustrates typical deployment situations and the usual legal reading, which should always be confirmed by qualified legal counsel for a specific case.

SituationSection 13 triggeredUsual approach
Internal analytics databaseNoUse under SSPL without disclosure
Web application storing customer dataUsually noDocument the architecture for audits
Managed database service for customersYesBuy a commercial license from the vendor
Platform exposing database query APIsLikelySeek legal review or a commercial license
Redistributing modified sourceCopyleft terms applyRelease modifications under the SSPL
Typical SSPL deployment scenarios

In practice, the SSPL works as the open half of a dual licensing model. Vendors expect service providers to buy a commercial license rather than publish their operational tooling, so the realistic compliance path for a hosting business is negotiation, not disclosure.

Risks and common misunderstandings

The SSPL is frequently misread, both by teams that overestimate its reach and by those that underestimate it. The most common errors are listed below.

  • Treating the SSPL as open source: policies that permit only OSI-approved licenses usually exclude it.
  • Assuming any network use triggers disclosure: internal and application-level use normally does not.
  • Ignoring license compatibility: SSPL code cannot be combined with GPL code in one distributed work without conflict.
  • Overlooking older releases: versions published before a license change remain under their original terms.
  • Relying on untested interpretations: no major court ruling has yet defined the service boundary.

Because the license has little judicial interpretation, organizations with significant exposure often maintain an inventory of SSPL components, tracked with the SPDX identifier SSPL-1.0, and review each new deployment against it.

In plain words

The Server Side Public License lets anyone read, change and share the code of a program for free. There is one big catch. If a company takes that program and sells it to others as an online service, it must publish the code of everything it uses to run that service, not only the program itself.

Imagine a recipe that is free to cook at home or in a company canteen. A restaurant chain that wants to sell the dish, however, must also publish the plans of its kitchens, delivery system and ordering app. Most chains would rather pay the recipe author for permission, and that is exactly the outcome the license is designed to produce.

A real-world example

A mid-sized logistics company runs an SSPL-licensed document database on its own servers to store shipment records for a tracking portal. Its legal team reviews the setup and concludes that customers interact with the tracking application, not with the database features, so Section 13 does not apply and no source disclosure is needed.

Two years later, the company plans to sell a hosted database product to partner carriers, who would connect to it directly and run their own queries. This time the review finds that the plan would count as offering the program as a service, which would require releasing its provisioning scripts, monitoring dashboards and backup tooling under the SSPL. The company instead negotiates a commercial license with the database vendor and keeps its operational software private.