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 (such as 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, ...). Therefore, before you create a virtual machine, you need to set these parameters. 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 settings web interface, click Config and then Add SSH Key, and copy the
public key - file content into the form window
Create an encrypted password for the virtual machine, 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 's 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 non-trivial 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 Stratus.FI quickly, use the pre-installed ttylinux minidistribution system. There is even no need to configure the context: the superuser password is fixed and displayed on the system console.
On the left side of the page, fill in the name of the virtual machine you are creating (for example Test CentOS ) and on the right click on the green Create .
Wait until the name of the virtual machine you just created has a green square instead of an orange one (you can refresh the view by the two arrows in the circle at the top right).
Once the virtual machine is active, you can from the internal FI network (for example, from Aisa or Anxura; see also access to the FI network ) try logging in via SSH to the IP address displayed for the created virtual machine (if the template uses SSH contextualization, it has SSH server and 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 to fully apply them.
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. You can read more about the technical solution in our blog v ISe.
If you would like to use such a virtual machine more permanently and need a larger disk, enlargement is possible, but the disk must be connected to a running virtual for this operation (it can be enlarged in the Storage tab).
Quotas and usage rules
Our goal is to allow users to use a large amount of computing resources (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 use. You can find the exact quotas information in the Quotas section of the user's 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 discontinue their disks.
If you need a longer running test or even production virtual machine, or a short-term amount of computing resources, contact your system administrator at
When using virtual machines, keep in mind that this also applies 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 media (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 a type of read-only CD-ROM and storage (datastore) cephds leave.
- under Image location select Upload and browse to 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. Once the disk is created, you can click 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, although 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 complexity 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 button at the top of the page.
Start 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 detailed page about the 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 details page for 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 advice of both general nature and advice on how to use some services specific to the faculty network.