Licensing¶
ReferenceFacts to look up.
How the licence works, what happens without one, and what to do when the console asks for attention. Nothing here ever touches the network: the licence is verified on your server with a key built into the binary.
Evaluation¶
A fresh installation runs as an evaluation: every feature, for 30 days from its first start. The console shows the days left and Admin › About explains how to install a licence. When the evaluation ends, deployed APIs keep serving traffic; the console becomes read-only until a licence is installed.
Need longer to evaluate? Ask MoznHub (sales@moznhub.com) for an evaluation licence: the same file format with an end date.
Installing a licence¶
You receive a text file like this:
-----BEGIN APINX LICENCE-----
APL1.eyJudW1iZXIiOiJBWC0yMDI2LTAwMDEyMyIsImxpY2Vuc2VlIjoiQWNtZSBUcmFkaW5n
...
-----END APINX LICENCE-----
Install it one of three ways. The first that is present wins, in this order:
| Where | How | When to use it |
|---|---|---|
| Console | Admin › About › Install licence, paste the text | One instance, or trying it out |
license.text |
In apinx.yaml, or the APINX_LICENSE_TEXT environment variable |
A secrets manager that injects environment variables |
license.file |
Path of the file, in apinx.yaml or APINX_LICENSE_FILE |
Servers; several instances read one file or each has a copy |
The licence is verified before it is accepted. A text that does not verify is refused with
APX-SYS-0006 and the reason: the format, the signature, the edition or the version it
covers. Changes to the file or the configuration are picked up within a minute, without a
restart.
To check a file from the command line:
apinx license show /etc/apinx/apinx.lic
apinx license check # uses license.file or license.text; exit 1 when not usable
What the licence says¶
| Field | Meaning |
|---|---|
| Licensee, number | Shown on the About screen; quote the number when you write to MoznHub (sales@moznhub.com) |
| Kind | Perpetual: runs forever. Evaluation: until its end date |
| Version | The highest major version covered, e.g. 1.x. A 2.x build needs an upgrade licence |
| Maintenance until | Updates and support are covered until this day. A build released after it only shows a notice; nothing stops. Renew to stay covered |
| Instances | Unlimited. A paid licence runs on every machine of yours, in every cluster |
When the console asks for attention¶
Only an unpaid state ever asks for attention: a paid licence restricts nothing. A banner
names the problem and Admin › About explains it. In every case deployed APIs keep serving
traffic. The console and the Admin API become read-only (APX-SYS-0005): you can look at
everything, sign in, and install a licence, but change nothing else until it is put right.
| Situation | What happens | What to do |
|---|---|---|
| Evaluation ended | Console read-only | Install a licence |
| Evaluation licence expired | Console read-only | Ask for a new licence |
| Clock set back by more than a day during an evaluation | Console read-only | Correct the system time |
| Build newer than the maintenance date | A notice only | Renew maintenance to stay covered by updates and support |
Air-gapped installations¶
Everything above works without any network access. The licence file travels with the install
bundle, and apinx license check verifies it on the target machine.
Development builds¶
A binary built without MoznHub's production signing key says development next to the licence. It accepts licences signed with the development key in the repository and is meant for developers and tests, never for customers. The binaries MoznHub delivers carry the production key.