Creating products

A product contains all services a vendor exposes for sale, including product items, sales models, requirements for product orders, etc.

To create a product:

1. Go to your CloudBlue Connect vendor portal and open the Products section.

2. Click Create product in the upper-right corner and provide the following data:

  • In Name, enter your product name.
  • In Primary Locale, select the language or locale that will be used for your product.
  • In Model, select the Transactable product type.

3. Click Create.

CloudBlue create product

The product ID will be automatically generated.

Configuring general information

On the product’s General page, you can do the following:

  • Click Edit in the upper-right corner to change the product name, add a product logo (use PNG with transparent background), or add a short description.
  • Click Edit on the Overview tab below the product name to add a product description.
  • Go to the Media tab and click + to add a media file for marketing purposes.

Configuring settings

1. Go to the product’s Settings tab and click Edit in the upper-right corner.

2. In the Edit settings window, make the following adjustments:

  • Turn on the Administrative Hold toggle to manage subscriptions to the created product, such as suspending and resuming a subscription.
  • If you want to use the pay-as-you-go model, turn on the Pay-as-you-go toggle and select QT as a reporting schema.
  • In the Billing Renewal Management section, select Auto-renewal as renewal management.
  • In the Subscription — Change Request section, turn on the Editable Ordering Parameters toggle to make it possible to request editing of the ordering-phase parameters.

3. Click Save.

Creating product items

Product items are compute resources in Virtuozzo Infrastructure that customers order and pay for: CPU, RAM, storage, floating IP addresses, etc.

Product items can be defines for two billing models:

  • A reservation model offers provisioning limited amount of compute resources.
  • A pay-as-you-go model offers provisioning unlimited resources and charging them according to daily usage reports.

For the reservation model

1. On the product page, go to the Items > Reservation tab, remove the default items and click Create item. 2. In Create Item - Step 1 General, enter the item name, manufacturer part number, and description. For the manufacturer part number, refer to the table below. Group, Parent item, and External Id are optional. Click Next.

ResourceManufacturer part number
CPUCPU_limit
RAMRAM_limit
StorageStorage_limit
Floating IP addressesfloating_ip
Load balancerslbaas_limit
Kubernetes clustersk8saas_limit

CloudBlue reservation item general

3. In Create Item - Step 2 Type, optionally change the default values in the Billing period, and Commitment period fields. In Unit, select Gb for RAM and storage. For other compute resources, keep the default Units value. Click Next.

4. In Create Item - Step 3 Attributes, optionally add custom attributes. Click Create.

After adding all of the compute resources, you will have the following list.

CloudBlue reservation item list

For the pay-as-you-go model

Important: Ensure the Pay-as-you-go option is enabled on the Settings tab on the product page.

1. On the product page, go to the Items > Pay as you go tab, click Create item.

2. In Create item - Step 1 General, enter the item name, manufacturer part number, and description. For the manufacturer part number, refer to the table below. Group, Parent item, and External Id are optional. Click Next.

ResourceManufacturer part number
CPUCPU_consumption
RAMRAM_consumption
StorageStorage_consumption
Floating IP addressesFloating_ip_consumption
Load balancersLB_consumption
Kubernetes clustersK8S_consumption
Outgoing trafficOutgoing_Traffic_consumption
Backup storageBackup_consumption
Backup numberbackup_count_consumption
Physical IPsphysical_ip_consumption
Virtual IPsvirtual_ip_consumption

To add an item for a chargeable image, specify an arbitrary name for the item, and append _consumption to it for the manufacturer part number. For example: windows10 as the item name and windows10_consumption as the manufacturer part number.

CloudBlue PAYG item general

3. In Create item - Step 2 Type, optionally change the default values in the Precision field. In Unit, select MB*H for RAM, storage, backup storage, and outgoing traffic. For other compute resources, keep the default Unit*H value. Click Next.

4. In Create Item - Step 3 Attributes, optionally add custom attributes. Click Create.

After adding all of the compute resources, you will have the following list.

CloudBlue PAYG item list

Creating product parameters

Product parameters are used to create a product order and to fulfill a product request. You can create three types of parameters:

  • Ordering parameters are specified by customers when ordering the product.
  • Fulfillment parameters are specified by the vendor when fulfilling a product request.
  • Configuration parameters are metadata specified during the product configuration. They can be assigned to the product in general, product item, and related marketplace.

Creating ordering parameters

You need to add the password ordering parameter. Do the following:

1. On the product page, go to the Ordering Parameters > Subscription tab and click Add parameter.

2. In Create Ordering Parameter — Step 1 Type, select Password and optionally change the minimum and maximum number of symbols. Click Next.

3. In Create Ordering Parameter — Step 2 Constraints, turn on the Required toggle to make the parameter mandatory. Click Next.

4. Create Ordering Parameter — Step 3 Dependencies is optional and can be skipped. Click Next.

5. In Create Ordering Parameter — Step 4 Details, enter the parameter ID, title, and description. Click Create.

CloudBlue ordering parameter details

6. In Create Ordering Parameter — Step 5 Summary, review the parameter summary and click Close.

Creating fulfillment parameters

You need to add the following fulfillment parameters:

ParameterID
Domain namedomain_name
Domain IDdomain_id
Project IDproject_id
Project nameproject_name
User IDuser_id
User nameuser_name

Note: By default, the system automatically creates two fulfillment parameters, such as Title of the Parameter A and Title of the Parameter B. To be able to delete them, go to the Embedding > Subscription tab. In the Approved Templates box, click the pencil icon and delete the following text:

1
2
The value of {{ param_a.title }} is {{ param_a.value }}
The value of {{ param_b.title }} is {{ param_b.value }}

To create a fulfillment parameter, do the following:

1. On the product page, go to the Fulfillment Parameters > Subscription tab and click Add parameter.

2. In Create Fulfillment Parameter — Step 1 Type, select Single line text to be able to enter a value for the parameter in a text line. In Placeholder text and Hint text, enter additional information about the parameter. Click Next.

3. In Create Fulfillment Parameter — Step 2 Constraints, turn on the Required toggle to make the parameter mandatory. For the project and user name parameters, additionally turn on the Unique toggle. Click Next.

4. In Create Fulfillment Parameter — Step 3 Details, enter the parameter ID, title, and description. Click Create.

CloudBlue fulfillment parameter details

5. In Create Fulfillment Parameter — Step 4 Summary, review the parameter summary and click Close.

After adding all of the fulfillment parameters, you will have the following list:

CloudBlue fulfillment parameter list

Creating configuration parameters

Virtuozzo Infrastructure has only one configuration parameter, item limit, which enables defining maximum resource limits for the reservation model.

To create a configuration parameter, do the following:

1. On the product page, go to the Configuration > Keys tab and click Add key.

2. In Create Configuration Key — Step 1 Type, select Single line text to be able to enter a value for the parameter in a text line. In Placeholder text and Hint text, enter additional information about the parameter. Click Next.

3. In Create Configuration Key — Step 2 Scope, select the Item scope. Click Next.

4. In Create Configuration Key — Step 3 Constraints, turn on the Required toggle to make the parameter mandatory. Click Next.

5. In Create Configuration Key — Step 4 Details, enter the parameter ID, item_limit, title, Item limit, and description. Click Create.

CloudBlue configuration parameter details

6. In Create Configuration Key — Step 5 Summary, review the parameter summary and click Close.

After creating the configuration parameter, you need to define your resource limits. Do the following:

1. Go to the Configuration > Values tab and click the pencil icon next to the value you want to change.

CloudBlue configuration parameter values

2. In the Edit value window, set a new value and click Save.

3. Repeat the steps for each item you need to modify.

What’s next: