Licensing of Software in Containerized Environments

Protecting containerized applications is similar in many ways to non-containerized applications. The major difference is that, in most cases, there is no reliable way to uniquely identify an instance. And even if it would be possible to identify them, it might not be desirable since oftentimes containers spin up and down very frequently.

More specifically, the challenge from a software licensing perspective is to prevent end users from exceeding the maximum number of concurrent instances.

We will cover the offline use-case in this blog, but you can also watch the following video:

Solution

The general solution to restrict the number of concurrent users is to use a floating license model (allows to restrict how many instances can run concurrently) and generate a random identifier upon application start (i.e. not relying on any OS information).

If your clients will have an internet connection, your application can call the Cryptolens API directly as described here. In this case, Cryptolens will be responsible for keeping track of all active instances.

If your clients will be offline, they can install a local license server that will keep track of all instances. A tutorial on how it can be setup can be found here.

If you would have any questions or need advice on how to protect containerized applications, please reach out to us at support@cryptolens.io.

Get Insights on Software Licensing In Production

Thank you for subscribing to our License to Dev newsletter!
Oops! Something went wrong while submitting the form.
2021-07-08

Devolens - Modern Software Licensing Infrastructure

Learn more about Our Product
Learn more about Our Product

Devolens - Modern Software Licensing Infrastructure

View more Tutorials
View more Tutorials

Get Started with Devolens

Deploy licensing with a leading software licensing provider without long implementation cycles or added operational overhead.