How-to Create Virtual Machines
For more information about VM management, please refer to the VSS Guidelines.
ITS Private Cloud Portal
Login to the ITS Private Cloud Portal https://vss-portal.eis.utoronto.ca
Look for the VM to edit and click +
Select how would you like to build the VM:
OS Install. The virtual machine operating system must be installed from ISO media. Make sure to select the required media in the ISO field.
Content Library. Our content library is comprised of Nix and Windows pre-installed images such as Ubuntu Cloud images ready for cloud-init customization.
VM Clone. Use this method when you need to duplicate a virtual machine from a running instance. You are required to select a source virtual machine and could be powered on or off.
VM Template. Use this method when you need to deploy from a virtual machine template.
OVF/OVA Image. We allow users to upload OVA/OVFs to the User Storage. Select this when you have already uploaded your image and run the synchronization task.
Fill out all other required fields after selecting a built option.
Fill out the Disks tab.
Storage type: SSD or HDD based.
Disks: You can add as many disks as needed. See Virtual Machine Disk guidelines for limits.
Fill out the Networks tab.
If you are uncertain of which networks, the ITS Private Cloud offers two options free of charge:
VSS-CGN. Available only on-campus and over UTORvpn.
VSS-Public. Public IP available through the Internet.
Fill out the Admin Tab with admin, environment, functional contacts and a description. This is considered as virtual machine metadata.
Toggle options for the Automated Incident Response Introducing VM Automated Incident Response with Event Driven Automation on the ITS Private Cloud
Reset on restore. Will issue a power cycle task if the OS reports a failure.
Reboot on restore. Will issue a reboot task if the OS reports a failure.
Click Create and celebrate
You will get a confirmation email for the request submission, and when the vm has been created
Command-Line Interface (vss-cli
)
The following steps should guide you through the process of requesting a virtual machine snapshot using either via https://vss-cli.eis.utoronto.ca or a local ITS Private Cloud Command Line Interface vss-cli
Run
vss-cli configure
to configure your VSS credentials. If you have already done this, please go to next step.Use the
vss-cli compute vm mk --help
to list all available methods:Usage: vss-cli compute vm mk [OPTIONS] COMMAND [ARGS]... Deploy Virtual machines. Options: -u, --user-meta TEXT User metadata in key=value format. These tags are stored in the request. --dry-run no changes --help Show this message and exit. Commands: from-clib Create vm from Content Library item. from-clone Create vm from clone from-file Create virtual machine from VSS CLI specification. from-image Create vm from OVA/OVF image. from-spec Create vm from another vm spec from-template Create vm from template shell Create empty virtual machine
Pick the method based on requirements.
Detailed examples are found here:
You will get a confirmation email for the request submission, and when the vm has been created.
Related articles
University of Toronto - Since 1827