Skip to main content

Licensing

info

Styra Load is currently in early preview. A trial license is required to evaluate the product. Please register for a license here.

Styra Load has a built-in licensing and must be started with a valid license in order to run.

License Validation Process

Styra Load uses a third party service to provide license validation and material. Two mechanisms are supported for license validation:

  • License key
  • License file
caution

During the trial period, only license keys are supported. License files will be available in the future.

When using a License Key, at startup, Styra Load will send the Licence Key to an external service for validation. It will also periodically validate the license in the background while load is running. The license can be renewed indefinitely without the need to restart Load. The external service hostname is api.keygen.sh. Trial licenses are capped at 10 concurrent instances, paid licenses quotas are subject to contract.

When using a License file, connectivity to the external licensing service is not required. However, Licenses are only available for a fixed amount of time and will need to rotated periodically. License files can be used with any number of Load instances.

Using a License Key

To use a license key, you must set the STYRA_LOAD_LICENSE_KEY environment variable before running load, e.g.

export STYRA_LOAD_LICENSE_KEY=...

load run ...

If you're running Load in Kubernetes, it's recommended to store the license key in a Kubernetes secret and reference it in the Deployment. First, create a secret similar to this:

apiVersion: v1
kind: Secret
metadata:
name: styra-load-license
type: Opaque
stringData:
license: "..." # <-- set license key here

This secret can then be referenced in a Deployment:

apiVersion: apps/v1
kind: Deployment
metadata:
name: styra-load
spec:
selector:
matchLabels:
app: load
template:
metadata:
labels:
app: load
name: load
spec:
containers:
- name: load
image: ghcr.io/styrainc/load:latest
env:
- name: STYRA_LOAD_LICENSE_KEY
valueFrom:
secretKeyRef:
name: styra-load-license
key: license
args:
- "run"
- "--server"

Please see the deployment documentation for more information on deploying Styra Load in Kubernetes.

Using a License File

caution

During a trial period, only license keys are supported. License files will be available in the future.

For offline installations of Styra Load, a different mechanism is used where the license data is stored in a file. Please contact sales.