License enforcement and usage reporting¶
F5 AI Gateway requires a license to run. AI Gateway periodically reports usage data to a F5 service over the internet.
Get the license¶
Download the license from MyF5. A license is a JSON Web token (JWT).
Use the license¶
Use the license according to the instructions in Run on Kubernetes documentation.
How enforcement and reporting works¶
Initialization:
Upon startup, AI Gateway reads the license from the
F5_LICENSE
env variable.If the license is invalid or not provided, AI Gateway will fail to start.
Periodic checks – every hour, AI Gateway performs the following actions:
License expiration check:
Checks the expiration of the license.
Logs a warning if the license is nearing expiration and an error if it is expired.
Connect to the F5 service to report the usage data and verify the license:
AI Gateway sends usage data along with the license.
If AI Gateway can’t connect the F5 service, or the F5 service fails to verify the license:
AI Gateway logs an error immediately.
If the problem persists for seven days, it logs an error message every minute.
If the problem persists for thirty days, it continues logging an error message every minute and stops accepting new client requests.