.. _Managing Virtuozzo Infrastructure Platform Licenses:

Managing Virtuozzo Infrastructure Platform Licenses
---------------------------------------------------

Virtuozzo Infrastructure Platform comes with a trial license that allows you to evaluate its features. The trial license has no expiration date but limits storage and compute cluster capacities to 1TB and one compute point, respectively.

.. note:: Each compute point adds one vCPU and 4GB of RAM to the total compute cluster capacity. For example, ten compute points allow you to have up to ten VMs with 40GB RAM in total.

.. There is no consensus on how many compute points should the trial grant.

To start using Virtuozzo Infrastructure Platform in a production environment, it is recommended to install a commercial license. The following licensing models are supported:

- License key. Implementing the provisioning model, keys are time-limited (subscription) or perpetual and grant a certain storage capacity or a number of compute points (not both). If a commercial license is already installed, a key augments its expiration date, storage limit, or compute limit.

- Services provider license agreement (SPLA). SPLA implements the pay-as-you-go model: it grants unlimited storage capacity and compute points and customers are charged for the actual usage of these resources. With SPLA, Virtuozzo Infrastructure Platform automatically sends reports to Acronis Data Cloud once every four hours. If no reports have been received for two weeks, the license expires.

You can switch the licensing model at any time:

- Switching from a license key to SPLA terminates the key even if it has not yet expired. Terminated keys cannot be used anymore.

- Switching from SPLA to a license key changes the licensing model to subscription or perpetual. After doing so, ask your service provider to terminate your SPLA by either disabling the Storage application for your account or deleting the account.

.. note:: If a license expires, all write operations to the Virtuozzo Infrastructure Platform cluster stop until a valid license is installed.

.. _Installing License Keys:

Installing License Keys
~~~~~~~~~~~~~~~~~~~~~~~

To install an Virtuozzo Infrastructure Platform license key, do the following:

#. If you are switching from SPLA, ask your service provider to terminate the agreement by either disabling the **Hyper-converged Infrastructure** application for your account or deleting the account.

#. On the **SETTINGS** > **Licenses** screen, click **Upgrade** and **Register key**.

   .. The exact button captions are unclear. Also, screens to add.

#. Paste the license key and choose one of the following:

   - **Upgrade**, to add storage or compute capacity.
   - **Prolong**, to prolong the license.

   ..
      .. image:: ../../../images/stor_image1_4.png
           :align: center
           :class: align-center

#. Click **Activate**.

The expiration date, storage capacity, or the number of compute points will change according to what the key grants.

..
   .. image:: ../../../images/stor_image1_5.png
      :align: center
      :class: align-center

.. _Installing SPLA Licenses:

Installing SPLA Licenses
~~~~~~~~~~~~~~~~~~~~~~~~

To install a SPLA license, do the following:

#. On the **SETTINGS** > **Licenses** screen, click **Upgrade** and **Use SPLA**.

   .. screens to add, also captions.

#. In the **Use SPLA** window, select a region from the drop-down list and click **Activate**. You will be redirected to a log in page of Acronis Data Cloud.

#. Log in to Acronis Data Cloud.

#. In the **Register cluster** window, accept the license agreement.

   .. what if not trial but switch from key?

#. In the registration confirmation window, click **Done**.

The registered cluster will show up in Acronis Data Cloud. You will be able to monitor its resource usage and download reports.
