## Creating Container

Containers can be created in one of the following ways:

- Automated Container creation after a Hosting Plan has been purchased in HSPstore;
- Manual Container creation by Provider Administrator.

To create a new Container:

1. Select Service Director - Virtuozzo Manager - Container.
2. Click the New Container button.
3. Follow the wizard:
4. Select the Container owner and platform:
   - Set the option button to one of the Account types: Reseller or Provider. If the Container is created for non Provider Account, appropriate Order is being automatically generated.
   - Select the OS to be installed in Container from the Platform drop-down menu.
5. Click the Next button. You will be offered to specify the subscription period (if you had selected the non Provider Account as the Container owner) and Container settings:
   - Subscription period. You can select it from drop-down menu (1, 3, 6, 12, or 24 months). In addition, you can specify a certain trial period for the new Container (i.e., the period of time a customer can use this Container for free);
   - Hardware Settings, i.e., the order of assignment of the new Container to a Hardware Node (automatically or manually).

     In case of automatic assignment, the Parallels Business Automation - Standard automatically checks the following:

     - less loaded Hardware Node will be selected (by weighted assessment);

     - total number of unused licenses for selected Container class on the selected Hardware Node will be checked. If no unused licenses will be detected, then the next from less loaded Hardware Node will be checked;

     - if there are no Hardware Nodes with the needed Container Class licenses, then the Parallels Business Automation - Standard will create a new Container on the less loaded Hardware Node and notify a Provider Administrator about exceeding the allowable number of Container Class Licenses;

     In case of manual assignment of the new Container to a Hardware Node, the Provider Administrator can select one of the Hardware Nodes himself (or herself). Thus, the Parallels Business Automation - Standard automatically checks the following:

     - Hardware Node resources will be checked. In the case if a Hardware Node is loaded and cannot provide the required resources, then Container registration will be blocked with appropriate status message displayed.

     - Container Class Licenses number will be checked. In the case if no unused Licenses detected, the Parallels Business Automation - Standard system will create new Container and notify a Provider Administrator about exceeding the allowable number of Container Class Licenses

   - Select the hosting plan that will define the Container configuration and QoS settings . Click the Select button next to the Select Hosting Plan field and select the hosting plan from the list that appears in the popup window. On the further steps of the wizard you will be offered to adjust the Container configuration defined by the hosting plan you have selected.
   - Other Settings. Key in the Container root password. If necessary, add a comment.
   - Finally, you can enter a free-form comment into the Comment field.
6. Click the Next button. You will be offered to edit the Container QoS parameters within the allowable range defined by the hosting plan you have selected before.To change or view the full list of QoS parameters, click the Show Advanced Options. button (click Hide Advanced Options to be back to the basic QoS parameters). After you make the necessary changes, click the Next button to proceed with Container domain(s) creation.
7. You can create several hostname(s) for the new Container in the selected domains of the Account selected before (step 4) or in the Provider's domain (type the hostname into the Hostname field and select domain from the drop-down menu). By default, three textboxes are shown so you can create up to three hostnames (of course, this does not restrict the ability for you to use only one textbox and create only one hostname). If you want to create more than three hostnames, select the number of hostnames from the Create drop-down menu and click the Display button. The screen reloads with the selected number of textboxes and you can create as many hostnames as you need.
8. Click the Next button. The form for IP addresses allocation appears on the screen.
9. Define the IP addresses assignment: If you set the option button to Assign static IP addresses automatically, the Parallels Business Automation - Standard system will check the maximal allowed number of IP addresses for the Container class included in the selected Hosting Plan. Exceeding of maximal number of IP addresses is not allowed and in this case you will get an error message. If you set the option button to Assign static IP addresses manually you can set more IP addresses than allowed for Container class (Hosting Plan). Use Add and Remove buttons to add (assign) or remove (cancel assignment in the case of mistake) IP address respectively. In the case if several IP addresses were assigned manually, you can force using one of IP addresses (set it as default one). To this effect, select IP address (click) and click the Set as Default button.
10. Click the Next button. The list of all Applications available in the Parallels Business Automation - Standard appears on the screen, the applications included in the hosting plan you have selected for this Container are checked.
11. Check the boxes next to Applications' names to select the Applications to be installed inside the new Container.

    If you do not see some of the Applications (that were installed as you can recall), please, check the following:

    (i) Whether the OS template defined in the hosting plan selected for this Container is compatible with the missing Applications. Note that Parallels Business Automation - Standard Control Panels and the most of the other applications are not available for SuSe or Debian Containers. For such Containers only the Parallels Power Panel and SSH are available.

    (ii) Whether the default prices were set for all Applications installed. All Applications used in custom Containers must have the preset default prices since these prices are used for Customer Account Balance recalculation in case of Container upgrade. Though, if an Application was installed without setting the default prices, you can do this in Product Manager Settings.

12. Click the Next button. The review screen appears.
13. The review screen shows you all the Container parameters. You can click the Back button to return to any of the Container creation steps.
14. Click the Finish button. The Container creation procedure starts. The list of all Containers appears on the screen. At the bottom of the screen you can see the Status Bar. You can click on the Show link at the Status Bar to see the system messages and view the Container creation progress in real-time.

Please send us your feedback on this help page