Own instance templates

Creating your own template may be necessary in the following situations:

  • a template meeting your requirements is not in the list of existing templates;
  • you need automatic adjustment of some settings of operating system and other software at the stage of launching new instance, etc.

CROC Cloud Hypervisor supports instances of both x86 and х86_64 architectures. Volumes and network adapters are attached as VirtIO para-virtualized devices, which are specially created to operate in virtual environment. In Linux, these drivers are pre-installed. For Microsoft Windows, a distribution with drivers is shared at https://fedoraproject.org/wiki/Windows_Virtio_Drivers#Direct_download. Settings for internal virtual network are provided via DHCP.

A legacy system support mode is shared, in which the system Volume is attached via ATA bus, and network adapter is represented as Intel E1000. In this mode, the system will have lower performance, so we recommend to only use it when you cannot use VirtIO devices.

As of today, efficiency of Microsoft Windows Server operating systems has been tested starting from version 2008, as well as efficiency of various Linux versions (RHEL, Ubuntu, CentOS, Suse, Gentoo, etc.). Solaris 10 operates in legacy OS support mode.

Warning! This guide is designed for system administrators and engineers having basic knowledge of virtual environments, experienced in using CROC Cloud management console, and independent installation of operating system, from which template has to be created.

Microsoft Windows templates

Main stages of Microsoft Windows Server 2008 template creation:

  1. Upload the Microsoft Windows 2008 Server installation Snapshot (ISO) and Snapshot with VirtIO drivers to the file storage.
  2. Create Snapshots from the uploaded ISO images.
  3. Start the new instance creation wizard.
  4. At the first step of creating a new instance, select the root device of the operating system distribution as an installation CD, and select the image with VirtIO drivers as a secondary Volume. The “Volume Size” field is used to indicate the size of main system (in Microsoft terms) hard drive.
  5. At the second step, set required options for the instance. We recommend selecting more powerful options to install the operating system faster. Selection of instance type (amount of computing resources reserved on the server) is not linked to the template and shall be specified at every launch of the new instance.
  6. Install the operating system.
  7. Perform the necessary operating system modifications.
  8. Shut down the created instance.
  9. Open Templates section, click Create Template button, set the desired options, and wait for the creation procedure to complete.

Linux templates

A broad variety of different Linux distributions (RHEL, Ubuntu, Suse, CentOS, Gentoo, etc.) are currently shared. Almost all their latest versions include VirtIO devices drivers.

Basic steps of Linux template creation:

  1. Upload Linux installation Snapshot (ISO) to the file storage.
  2. Create Snapshot from the uploaded ISO image
  3. Start the new instance creation wizard.
  4. At the first step of new instance creation, select the root device of the operating system distribution as installation CD.
  5. Install the operating system.
  6. Perform other necessary operating system modifications.
  7. Shut down the created instance.
  8. Open Templates section, click Create Template button, set the desired options, and wait for the creation procedure to complete.