License activation and renewal
You can activate and renew your Instana license.
Licensing operations
The operation consists of reading the sales_key
that is defined in the settings.hcl file, downloading
the license file from Instana SaaS, and saving it to the
license file.
-
To download the license on the instana host where the
settings.hclfile exists, run the following command:instana license downloadYou can specify a sales key, for example in an air-gapped scenario:
instana license download -k <SALES_KEY> -
To import the downloaded license into your Instana backend, run the following command, which looks for the license in your current folder:
instana license importAlternatively, you can specify the license location as follows:
instana license import -f <path/to/file> -
To print the license information, run the following command:
instana license verify
Queued Licenses
Instana supports queued licenses if you choose to extend your existing license. Simply download and import the new license file by using the commands as previously described.
To verify whether the new license is loaded, run the following command:
instana license verify
The output lists all currently loaded licenses, which are numbered in order of import.
root@selfhosted:~# instana license verify
Verifying local license status ✓
Nr: 1
Valid from: 2021-05-02 00:00:00 +0000 UTC
Valid till: 2022-08-31 23:59:59.999 +0000 UTC
Nr: 2
Valid from: 2022-09-01 00:00:00 +0000 UTC
Valid till: 2023-08-31 23:59:59.999 +0000 UTC