How can I log in to my VMs?

The default way to log into your VMs is via SSH. There are 2 necessary steps you need to complete:

  1. You need to configure your Security Group to allow SSH connections to your VM.
  2. You need to specify the username you want to use to log in. The username depends on the operating system image you choose when launching a new instance.
  3. The default SSH authentication method is SSH Key-based authentication You need to provide a SSH key pair during the instantiation of a VM. The public key of this key pair will be injected into the VM when it is created. The private key of the key pair must be presented when logging in via SSH.
    Important note: This step is carried out only once – at the first time when a VM is created. If you start this VM later updated SSH keys will not be injected! If you need to inject an updated key you can create a snapshot of an existing VM and instantiate a new VM from this snapshot.

What is the correct username to log into my VM?

The default username you need to provide when logging in to your VM depends on the operating system image you choose.

Typically the username matches the name of the operating system.

„ubuntu“ for all Ubuntu Images

„debian“ for all Debian Images

„almalinux“ for all Alma Linux Images

and so on.