The primary purpose is to provide users with an environment for experimentation and rapid trial or even production use of software that for various reasons cannot be installed directly on servers managed by CVT FI (for example, Anxur or Aisa).
- Cloud versus User view
- Configuring the user's context
- I want to quickly create a preinstalled virtual machine
- Quotas and usage rules
- I want to install my operating system
The web interface of the Stratus.FI cloud can be found at the following URL:
Login to the web interface with the faculty login and faculty password (more about the faculty account and password change) here ).
Cloud versus User view
The Stratus.FI web interface is available to users in two versions: a simpler cloud view , which is set by default and described in the chapter I want to create a virtual machine quickly , and a more complex user view with menus on the left and more controls. You can switch between them by clicking the user name and selecting the last item named Views . Compare - cloud view:
... and user view:
Configuring the user's context
Pre-installed virtual machine images are configured to take some information from the user settings (SSH key, superuser password, ...). These parameters must be set before creating the virtual machine. Sign in to web interface , click on the user's name at the top right and select Settings from the menu:
If you do not already have one, create an SSH key on Aise, for example:
ssh-keygen -b 4096 -t rsa
The secret key is saved to your file
$HOME/.ssh/id_rsa and public to the file
id_rsa.pub . When creating, you can enter the
passphrase that will be required each time you use the SSH key.
In the user interface of the web interface, click on the Config section and then on Add SSH Key, and copy the
public key - file content into the form window
Create an encrypted form of the virtual machine password, for example, using the command
openssl passwd -1 on Aise or other Linux:
xnekdo@aisa$ openssl passwd -1 Password: correct horse battery staple Retype password: correct horse battery staple $1$t2DaE4vm$i8A...630 xnekdo@aisa$
In the user settings of the Stratus.FI web interface, add a new attribute named at the bottom of the
CRYPTED_PASSWORD , the above value (string
$1$... ) and click to save
Windows VM password
To use a Windows virtual machine, you need to add two additional attributes to the user attributes:
WIN_USERNAME with the user login name and
WIN_PASSWORD containing an
unencrypted login password. Here we recommend to choose a different password than you use on faculty systems.
Choose a nontrivial password, otherwise Windows may reject the VM login with too simple a password.
Overall, the context information you set up looks something like this:
I want a preinstalled virtual machine
Use the following procedure if you need to try something on an already installed machine (run / compile your version of some software, etc.) and you do not want to waste time installing and configuring the operating system.
Configure the user context as described in the previous chapter .
Open it main page Stratus.FI (from another Stratus.FI page click Dashboard at the top).
Click green on the left side of the page
Choose from the list of pre-installed systems (for example CentOS 7) and click on the selected system.
Tip: if you just want to try the Stratus.FI interface quickly, use the pre-installed ttylinux minidistribution system. There is even no need to configure the context: the superuser password is fixed and printed on the system console.
On the left side of the page fill in the name of the created virtual machine (for example Test CentOS ) and on the right click on the green Create .
Wait for the name of the virtual machine you just created to have a green square instead of an orange (you can refresh the view by the two arrows in the circle shown at the top right).
For example, once the virtual machine is active, you can try logging in from the internal FI network through SSH to the IP address displayed for the created virtual machine (if the template uses SSH contextualization, it has an SSH server and an IP address). You can access the console by clicking on its title and then on the bottom left of the blue terminal icon. You can log in as root with a previously entered password.
For newly installed machines, we recommend updating packages, especially if you plan to use the machine for a longer period of time and restart the machine for full application.
Newly created virtual machines are assigned a NAT private IPv4 and a public IPv6 address. It is no longer necessary to use HTTP proxy cache to access the public IPv4 Internet. More about the technical solution you can read in our blog post v ISe.
Quotas and usage rules
Our goal is to allow users to use a large amount of computing resources (on the order of 8 virtual machines) in the short term . This will allow users to try distributed applications, for example. Therefore, system resource quotas are set for this usage. The quota information can be found in the Quotas section of the user settings in the web interface.
Please be mindful of other users: current hardware has no capacity for every FI user to use all resources at a time, up to the size of their quota. The set quotas do not apply to permanently running virtual machines . If we detect virtual machines running longer than a day, or at most small units of days, we will terminate those machines and later cancel their disks.
If you need a longer running test or production virtual machine, or a short-term amount of computing resources, contact your system administrator at
When using virtual machines, keep in mind that they also apply here Operating rules , in particular the prohibition of the operation of publicly available network services without the prior approval of the head of CVT FI.
I want to install my operating system
In this chapter, we assume that the user has the interface switched to User view .
For your virtual machine, you will need an installation medium (CD-ROM image), a system disk, and possibly a volatile disk for temporary data, such as swap space. To view the available drives, click Storage → Images in the left menu.
If you do not find the installation media of your choice on the available disks, you can create them:
- click the green [+] at the top of the page,
- fill in the name of the disk (for example CentOS 7.1511 netinst.iso ) or description,
- select Read-only CD-ROM as the type and leave the cacher ( datastore ),
- under Image location select Upload and browse the ISO image on your computer,
- create the image by clicking on the green Create button above.
The newly created disk should appear in the list of available disks. To save disk space, if possible, offer the ISO image you have uploaded to other users: click the appropriate row in the disk list and add the Use right for Group and Other in the access rights on the right side of the page.
Similarly, create a system disk. On the Storage → Images page, click the green [+] , fill in the disk name (for example, MyTest ), or a description. Choose Generic storage datablock as the type , leave the cephds . Important: check the box This image is persistent . (Non persistent image: created instances using copy-on-write copy of the image. When canceling VM changes will be lost. Persistent image: it can only be used by one VM, the changes are retained even after the abolition of the VM.) Next, select the source Empty disk image and enter the size. Click the green Create at the top of the page to finish. After creating a disk, you can click on its row in the disk list and change the disk type from DATABLOCK to OS .
Virtual machine template
Stratus.FI (OpenNebula) uses templates to describe what a virtual machine should look like. Primarily, templates are designed to efficiently create multiple identical virtual machines for load balancing, for example. However, every virtual machine must have a template, even if we know in advance that it will only run in one instance at a time.
In the left menu, select Templates → VMs to see a list of available templates (all your and public alien). Click the green [+] to create a new template. On the General tab, fill in the template name, default memory size, and processor information: the CPU entry determines the severity of this virtual machine for the purpose of selecting the physical node where the machine will run. Because the machine may not take up the entire processor for 100% of the time, set the value to around 0.2 . The VCPU tells how many virtual machine operating systems will see processors. Set the value to 1 . Leave Hypervisor on KVM.
Next, click the Storage tab at the top of the page (next to the General tab). For Disk 0, select (keep) the Image type and select the disk created above from the list. Add another disk with blue (+) . For Disk 1, select the installation CD-ROM. Similarly, you can add a Volatile disc , such as a swap type. This disk is not a separate image, it is always recreated when the template is instantiated. One of the suitable types of use is the storage space.
On the third tab Network you set up the virtual machine network interfaces. Plug the NIC 0 into the 503-usrpriv network.
The fourth OS Booting tab controls the boot order of the disks. To install the operating system from the CD-ROM image, select this image first (check boot from Disk 1 and use the arrow keys to move the disk above).
You don't have to set up anything else on the other tabs at this stage, just click the green Create at the top of the page.
Start a virtual machine
We can create ( instantiate ) a virtual machine based on the created template. Select the appropriate template from the list by clicking on its line, and from the detail page about that template click on the blue Instantiate at the top. Here it is possible to change some parameters for a particular instance, which is mainly used for customizing pre-installed images and templates. Just click the green Instantiate at the top of the page.
The newly created virtual machine is visible in the list of virtual machines: Instances → VMs from the left menu. The assigned network addresses can also be seen here. Set up the network statically when installing a new system; Type this information into the installer. For production virtual machines, it is better to use contextualization packages that the system sets up by itself, for example addon-context-linux , addon-context-windows .
You can access the virtual machine console by using the terminal icon on the right of the virtual machine list, or by using the terminal icon with the VNC inscription from the details page of one virtual machine. Here you can continue to install the system.
Once installation is complete, you only need to turn on boot from disk. Turn off the installed virtual machine ( Power button at the top of the page for details about this virtual machine, and then Undeploy ). Then select the Conf tab on the far right, click the green Update Configuration to change the boot order. Click the green Update at the top of the page to save your changes. You can then start the virtual machine with the right triangle button ("Play", ⏵ ). Alternatively, a similar effect can be achieved by completely abandoning the virtual machine (persistent disk remains), modifying the template, and reinstating it.
Finally, we recommend checking the list tips for installing the machine on FI . It contains useful tips of both general nature and advice on how to use some services specific to the faculty network.