Creating products
A product contains all services that a vendor exposes for sale, including product items, sales models, and requirements to product orders and fulfillment phase.
To create a new product, do the following:
- Go to Products and click + Create product.
-
In the Create product window, enter a product name and select Infrastructure from the Category drop-down list. Then, click Create.
The product ID will be automatically generated.
Configuring general information
On the product's General page, you can do the following:
-
Click Edit next to the product name to change the product name and category or add a product icon and a short description.
For an icon, the recommend format is
.png
with a transparent background. - Click Edit on the Overview tab to add a product description.
- Click + Add on the Media tab to add one or more media files for marketing purposes.
-
Click Edit on the Capabilities tab to add various capabilities that automate certain processes in the order and usage flows.
For the pay-as-you-go model, enable Pay-as-you-go and select the reporting schema.
Creating product items
Product items are compute resources in Virtuozzo Hybrid Infrastructure that customers order and pay for: CPU, RAM, storage, floating IP addresses, load balancers and Kubernetes clusters.
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, do the following:
- On the product page, go to the Items > Reservation tab, remove the default items and click + Create item.
-
In Create item - Step 1 General, enter an item name, manufacturer part number, and description.
For the manufacturer part number, refer to the table below.
Resource Manufacturer part number CPU CPU_limit RAM RAM_limit Storage Storage_limit Floating IP addresses floating_ip Load balancers lbaas_limit Kubernetes clusters k8saas_limit Leave the default value in the Parent item field and click Next.
-
In Create item - Step 2 Type, select One Time in the Billing period field and units in the Unit field:
- For RAM and storage, select Gb.
- For other compute resources, select Units.
Click Create.
After adding all the six compute resources, you will have the following list.
For the pay-as-you-go model, do the following:
-
On the product page, go to the Items > Pay as you go tab, click + Create item.
Make sure you have the Pay-as-you-go capability enabled on the product's General > Capabilities tab. -
In Create item - Step 1 General, enter an item name, manufacturer part number, and description.
For the manufacturer part number, refer to the table below.
Resource Manufacturer part number CPU CPU_consumption RAM RAM_consumption Storage Storage_consumption Floating IP addresses Floating_ip_consumption Load balancers LB_consumption Kubernetes clusters K8S_consumption Click Next.
-
In Create item - Step 2 Type, select Integer (Example: 42) in the Precision field and Unit*H in the Unit field.
Click Create.
After adding all the six compute resources, you will have the following 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:
- Configuration parameters are metadata specified during the product configuration. They can be assigned to the product in general, product item, and related marketplace.
- Order parameters are specified by customers when ordering the product.
- Fulfillment parameters are specified by the vendor when fulfilling a product request.
For Virtuozzo Hybrid Infrastructure, you need to add the following parameters:
Parameter | ID | Phase |
---|---|---|
Item limit | item_limit | Configuration |
Project name | project | Ordering |
User name | user | Ordering |
User password | password | Ordering |
Domain name | domain_name | Fulfillment |
Domain ID | domain_id | Fulfillment |
Project ID | project_id | Fulfillment |
User ID | user_id | Fulfillment |
To create a parameter, do the following:
- On the product page, go to Parameters and click + Create parameter.
- In Create parameter — Step 1 Type, select Single line text to be able to enter a value for the parameter in a text line. Click Next.
-
In Create parameter — Step 2 Phase, select the phase where the parameter will be used and click Next.
For the parameter phase, refer to the table above.
- In Create parameter — Step 3 Scope, select Asset and click Next.
- In Create parameter — Step 4 Constrains, enable Required to make the parameter mandatory. Click Next.
-
In Create parameter — Step 5 Details, enter the parameter ID, title, and description.
For the parameter ID, refer to the table above.
Click Create.
- In Create parameter — Step 6 Summary, review the parameter summary and click Close.
After adding all the product parameters, you will have the following list:
Defining configuration parameters
On the product's Configuration page, you can manage parameters associated with the configuration phase. Virtuozzo Hybrid Infrastructure has only one configuration parameter, item limit, which enables defining maximum resource limits for the reservation model.
To define the resource limits, do the following: