Can I use Elastic License 2.0 commercially?
You may use, modify and redistribute it commercially, keep the revenue and ship it inside a product. What the licence bans is giving third parties access to a substantial set of its features or functionality as a hosted or managed service — running it internally behind your own product is not the target. Working around its licence-key functionality is banned too.
In practice
Elastic License 2.0 is a commercial licence with two bans: you may not give third parties access to a substantial set of its features or functionality as a hosted or managed service, and you may not work around its licence-key functionality. Everything else — internal use, modification, embedding it in a product you sell — is permitted, which is why teams can depend on it as long as they are not reselling its functionality as a service.
Selling the product
Charging for a binary, a hosted plan or a support contract is a commercial use, and none of the licences on this page forbid it. The GPL family says so in as many words.
Using it inside a company
Internal use inside one organisation is normally not distribution. That is why a company can run GPL software on its own laptops without publishing anything.
What triggers obligations
Distribution, or — for AGPL and SSPL — offering the software to outside users over a network. Those are the events that start the paperwork.
Conditions that come with the yes
- keep the copyright and permission notice in every copy
- mark the files you changed
- never host its feature set for third parties
Where it stops
- change the licence on a derivative work
- modify it without marking the changes
- call it open source
The thing people get wrong
It is source-available and not OSI-approved; the managed-service ban is what pushed Elastic off the open-source list in 2021.