Virtual machines

Explore the functionality of the Virtual Machines screen, which provides a comprehensive overview and control of your virtual machines, including creation, management, and monitoring features.

Overview

Navigate to the Virtual Machines overview screen by selecting the 'Virtual Machines' item directly from the left navigation menu. This view will display running and stopped instances.

Creating a new VM

To launch a new Virtual Machine instance, click the 'Create Virtual Machine' button:

Select the instance parameters for your workload, paste your SSH public key in the 'SSH Keys' box, and click 'Launch Instance' to begin provisioning. This takes <1 minute.

You will be redirected back to the overview screen where the new VM appears. You will notice the VM status changing as it progresses from PENDING to ONLINE.

Once the Virtual Machine you created reaches ONLINE status, it is ready for use, and you can try pinging it throught the Public IP.

$ ping 130.250.171.53
PING 130.250.171.53 (130.250.171.53): 56 data bytes
64 bytes from 130.250.171.53: icmp_seq=0 ttl=47 time=56.769 ms
64 bytes from 130.250.171.53: icmp_seq=1 ttl=47 time=54.698 ms
64 bytes from 130.250.171.53: icmp_seq=2 ttl=47 time=55.038 ms
64 bytes from 130.250.171.53: icmp_seq=3 ttl=47 time=55.096 ms
64 bytes from 130.250.171.53: icmp_seq=4 ttl=47 time=56.365 ms
64 bytes from 130.250.171.53: icmp_seq=5 ttl=47 time=55.553 ms
64 bytes from 130.250.171.53: icmp_seq=6 ttl=47 time=55.985 ms
64 bytes from 130.250.171.53: icmp_seq=7 ttl=47 time=56.757 ms
64 bytes from 130.250.171.53: icmp_seq=8 ttl=47 time=55.614 ms
64 bytes from 130.250.171.53: icmp_seq=9 ttl=47 time=55.692 ms
^C
--- 130.250.171.53 ping statistics ---
10 packets transmitted, 10 packets received, 0.0% packet loss
round-trip min/avg/max/stddev = 54.698/55.757/56.769/0.677 ms

Connect to the instance using your SSH:

$ ssh -i ~/.ssh/id_rsa ubuntu@130.250.171.53

You don't need to provide the -i parameter to SSH if your private key is the default key (id_rsa) or your key is setup in $HOME/.ssh/config file.

You should see output similar to this:

% ssh ubuntu@130.250.171.53
The authenticity of host '130.250.171.53 (130.250.171.53)' can't be established.
ED25519 key fingerprint is SHA256:HBocERkyStO+SRRqPLvQsqRZb1VSldCR4CGhpjXfY/w.
This key is not known by any other names
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '130.250.171.53' (ED25519) to the list of known hosts.
Welcome to Ubuntu 22.04.4 LTS (GNU/Linux 5.15.0-101-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/pro

  System information as of Wed Apr  3 18:29:02 UTC 2024

  System load:  0.0               Processes:               215
  Usage of /:   15.6% of 8.98GB   Users logged in:         0
  Memory usage: 0%                IPv4 address for enp1s0: 172.16.0.16
  Swap usage:   0%

Expanded Security Maintenance for Applications is not enabled.

0 updates can be applied immediately.

Enable ESM Apps to receive additional future security updates.
See https://ubuntu.com/esm or run: sudo pro status



The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.

To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.

ubuntu@vm-20240403180934:~$ 

Managing VMs

The main screen for Virtual Machines serves as a control hub, allowing you to start, stop, delete, and view detailed information about each instance.

Use the 3 vertical dots icon next to each VM for lifecycle actions:

  • Start - resume a stopped VM

  • Stop - stop a running VM. Resources are freed, while the root disk remains persisted

  • Delete - fully release a VM. This action can't be undone and removes all instance data

VM details are provided by selecting the instance Name:

Usage metrics

To track the real-time usage of your tenants' virtual machines, explore the 'GPU Utilization' screen. It offers a graphical and tabular representation of your Virtual Machines' usage, providing daily insights and performance data analysis for up to the last two months.

Each utilization record begins at the moment a Virtual Machine is provisioned and continues until the Virtual Machine is stopped, ensuring accurate and continuous tracking of usage.

Last updated