license
Nomad Enterprise Licensing
Licensing capabilities were added to Nomad Enterprise v0.12.0. Each server in the cluster must have its own license. Nomad Enterprise can be downloaded from the releases site.
Click here to set up a demo of Nomad Enterprise or here for instructions on how to get a trial license.
Note: A Nomad Enterprise cluster cannot be downgraded to the open source version of Nomad. Servers running the open source version of Nomad will panic if they are joined to a Nomad Enterprise cluster. See issue gh-9958 for more details.
Expiring Licenses
Nomad Enterprise licenses have an expiration time and a termination time. You
can read the license on a server with the nomad license get
command:
As a Nomad Enterprise license approaches its expiration time, Nomad servers will periodically log a warning message about the approaching expiration. Below shows log excerpts of the warnings.
When the license reaches the termination time, enterprise functionality will become limited. Only read operations on enterprise endpoints will be supported, and write operations will return an error.
Note that if the server is restarted with a terminated license, it will immediately stop.
Configuring the License
See the server license configuration reference documentation on all the options to set an enterprise license. Nomad will load the license file from disk or environment when it starts.
Note: An Enterprise license tutorial is available to help you install the license on the server.
In order to immediately alert operators of a bad configuration setting, if a license configuration option is an invalid or expired license, the Nomad server will exit with an error.
See the License commands for more information on interacting with the Enterprise License.