To use Airlock Microgateway, a valid license is required. Airlock Microgateway is available in a Premium and a free Community edition. The available editions are compared in the article Airlock Microgateway editions and support.
Request a license
- Request either a Community or Premium edition license through the web form:
- Request a community license
A license will be sent automatically within minutes. - Request a premium license
Your sales partner will contact you for licensing. - Check your inbox for the license key message and store the microgateway-license.txt file locally.
See Community vs. Premium editions in detail to choose the right license type.
Configure the license
- After the Airlock Microgateway installation, store the license in the Microgateway Operator namespace, in a Kubernetes secret with the name
airlock-microgateway-license
and the keymicrogateway-license.txt
. Use the following command:
There is no need to restart the Airlock Microgateway Operator. Kubernetes Secrets are updated at intervals of about one minute. Wait for the new license to become active.
Monitor license information with metrics and logs
Apart from the community license edition for initial tests, you should always order a premium license that covers your estimated/measured maximum throughput, number of secured web applications, etc.
We have implemented a set of license-related metrics and logs to avoid unwanted blockages due to license volume limits, lifetime, or other factors. Use them to monitor if your current Airlock Microgateway license is still sufficient, to detect potential problems and to update/change your license in time.
- Metrics:
- License-related metrics with explanations are listed below in this article.
For a detailed list of available metrics with a short description, see available metrics in Prometheus format.
- Operator logs:
- License information on a daily base for
- license expiration due date,
- on expired license,
- when license is missing or invalid.
- License details at every start of the Microgateway Operator or after license exchange/upgrade.
License details compared
The table below compares the basic license attributes between the Community and Premium editions.
- Corresponding metrics:
airlock_microgateway_license_is_premium
airlock_microgateway_license_max_sidecars
License attribute | Community edition | Premium edition | Remarks |
---|---|---|---|
| enforced | ignored | Invalid means that the version of the Airlock Microgateway is older than the |
| enforced | ignored | Only Pods with injected Microgateway Engine sidecar containers are counted.
The protected Pods are sorted by creation date, oldest first. |
| enforced | enforced | Airlock Microgateway licenses are modular.
|
1 | Authentication features are planned for upcoming releases and are not yet available. |
Behavior with invalid or expired licenses
Licenses are treated either as valid, invalid or expired. Differences between invalid and expired licenses are shown in the following table.
- Corresponding metrics:
airlock_microgateway_license_valid
airlock_microgateway_license_expiry_timestamp_seconds
License validity | Definition and behavior |
---|---|
Valid license |
|
Invalid license |
|
Expired license |
|
- Operator and Pods are not affected by the license status:
- The Airlock Microgateway Operator runs normally.
- Based on the injection annotation, the Airlock Microgateway Operator injects the Microgateway Engine container into Pod. Therefore, only these Pods are affected. See also the article Annotations for Microgateway Engine injection.
Behavior if the throughput threshold is reached
The Microgateway Operator configures the Microgateway License Guard for the licensed throughput. During operation, the Microgateway Engine containers report the throughput to the Microgateway License Guard service, which then takes measures if the throughput exceeds the limits.
- A percentage of requests are blocked with the Community edition license if the real throughput exceeds the licensed throughput.
- With the Premium edition license, no requests are blocked, but this behavior might be subject to change in the future.
- Corresponding metrics:
airlock_microgateway_license_is_premium
airlock_microgateway_license_guard_current_requests_per_second
airlock_microgateway_license_max_requests_per_second
airlock_microgateway_license_guard_grpc_ratelimit_requests_total
For a complete list of all license-related metrics and their origin, see Available metrics in Prometheus format.
Further information and links
- Internal links:
- Airlock Microgateway editions and support
- Annotations for Microgateway Engine injection
- Airlock Microgateway editions and support
- External links:
- Request a community license: https://airlock.com/microgateway-community
- Request a premium license: https://airlock.com/microgateway-premium