...
In order to achieve this behavior, the image from which the above mentioned VMs are to be provisioned, needs to be pre-installed with an IncrediBuild Agent using a special IncrediBuild install option. Once such an image is installed using a special install option named "Single-use VM Image", any VM that will be provisioned based on this image will automatically be assigned by the Coordinator with an appropriate core package (according to the amount of logical cores this VM reports to the Coordinator) and the IncrediBuild solutions available in the IncrediBuild license that is loaded in the Coordinator. ConsquencialyConsequentially, once this VM will go offline with the Coordinator, the core package and solutions consumed by it will be automatically de-allocated and return to the license pool.
...
- Install an IncrediBuild Agent using the new IncrediBuild install option named "Create a single-use Virtual Machine Image" on the image from which you wish to automatically provision and de-provision virtual machine instances.
When installing IncrediBuild on the image from which VMs are to be provisioned, check the "Custom" install option→ "Create a single-use Virtual Machine Image".- Alternatively, it is possible to use the Silent installation mode to install the SingleUseVM using the following command line:
IBSetupConsole.exe /Install /Components=Agent,oneuse /Coordinator=YourCoordHostname
- Alternatively, it is possible to use the Silent installation mode to install the SingleUseVM using the following command line:
- Finish the IncrediBuild install process (in the appropriate setup page, make sure to choose the Coordinator on which your IncrediBuild license is loaded).
- Save your image.
- Verify your Single-use VMs Coordinator settings:
- Configure the timeout period after which a single-use VM that is offline to the Coordinator will be considered as de-provisioned. The default timeout period is 30 seconds.
- Choose whether the Coordinator will automatically allocate available solutions to single-use VMs. The default behavior of the Coordinator is to automatically allocate available solutions to single-use VMs.
- Provision a new virtual machine instance using this image → this will result in the Coordinator automatically assigning the appropriate core packages and any available solution to this virtual machine.
- Upon destroying this virtual machine, the core package and IncrediBuild solutions will automatically be released to the IncrediBuild license pool.
- This specific (destroyed) VM instance will no longer be able to register with the IncrediBuild infrastructure. In order to connect a new virtual machine based on the above image to the IncrediBuild infrastructure, simply provision a new virtual machine from the image.
...