Create a Model Using a Terraform Template

Once your Terraform templates are created, you are ready to use them to create a VDI/DaaS model.

1

Access Thinfinity® Workspace

2

Access Cloud Manager

Click on your profile picture to display the user menu and select Cloud Manager.

3

Launch the Model Creation Wizard

Open Cloud Manager in your system and in the home screen use any of the following options:

  • click on Create new VDI model in the VDI/Daas Models tab or

  • click on Create new VDI model button in the lower part of the Cloud Manager home page or

  • click + Add > VDI/DaaS Model.

4

Choose a Cloud Service Provider

In the first screen of the wizard select your cloud provider and click Next. For this example we will use IONOS.

5

Select the Custom Model

In the Model Selector step of the wizard select Custom.

6

Select the Cloud Provider Credentials

Select or enter your cloud provider credentials: if you already entered them in the Credentials tab, select Existing. If not, define new credentials by clicking in New.

7

Select the Terraform Template

In the Template step of the wizard upload your Terraform template files in the corresponding tabs.

8

Configure the Model Parameters

The Parameters step allows setting the template parameters as defined in the uploaded JSON file. Remember that these configuration parameters are Cloud specific.

9

Configure the VM Access Options

In the next step of the wizard define how instances will be accessed:

Connection mode
Description

Public IP

Assigns a public IP address, allowing direct internet access.

Private IP

Assigns a private IP address, restricting access to within the virtual network.

Pool mode
Description

Breadth-First

Distributes new connections evenly across available hosts in a pool.

Depth-First

Assigns new connections to a single host until capacity is reached, then moves to the next.

None

Instances are not part of a pool, operating independently without load balancing.

Use naming prefix: Use the Prefix and Digits fields to easily identify your new instances with a prefix and/or digits if needed.

10

Configure VM Deployment Options

In the next step of the wizard configure the Deployment options.

The default option is On Demand, which will trigger a deployment when an Access Profile is accessed. When selecting Scheduled, instances are automatically deployed at specific times according to the predefined schedule.

You can also set the initial number of instances, the number of standby (lazy) instances, and the maximum instances for this model. This maximum defines the upper limit for automated deployment; however, admins retain the ability to manually add further instances beyond this threshold.

11

Configure How VMs Turn On and Off

In the next step of the wizard define how instances turn on and off.

Option
Description

On Demand

Manually set a fixed number of minutes to turn an instance off after disconnecting from it.

Start/Stop Ranges

Instances automatically turn on and off at specific times according to a predefined schedule.

Add Schedule

Click to set schedules for automatically powering instances on and off. This will reveal additional fields to configure the schedule settings.

If both options are enabled (On Demand - enabled and at least one schedule defined) you will be able to use a hybrid deployment mode that combines On Demand and Scheduled methods, allowing VMs to be automatically created as users request them while also pre-provisioning a set number of desktops during peak hours to ensure availability.

Once the model wizard is complete, a new option - Both - will appear in the Power tab within the model editing menu.

12

Configure How VMs are Destroyed

Define how VM instances are destroyed.

Option
Description

Never

Instances will persist indefinitely unless manually deleted.

Scheduled

Automatically destroy instances at scheduled times. Selecting this option will reveal fields to configure the destruction schedule.

13

Enter a Name for Your VDI/DaaS Model

Assign a name and a description for the new VDI/DaaS model. The wizard will display a confirmation message once the model is successfully created.

You can always edit the template from the Templates tab of the model editor. Use the Edit icon to access the file editor and perform the desired changes.

Do not forget to click Save to apply the changes.

circle-info

Note

For more information about the creation of Terraform templates, please refer to the Terraform documentation portalarrow-up-right.

Here are some links to relevant articles:

Last updated