Skip to content

How to upload your custom image using connectVM CLI on connectVM Cloud🔗

In this tutorial, you will upload custom image stored on your local computer to connectVM Cloud cloud, using the connectVM CLI client. The uploaded image will be available within your project alongside default images from connectVM Cloud cloud and you will be able to create virtual machines using it.

What We Are Going To Cover🔗

  • How to check for the presence of the image in your connectVM cloud
  • How different images might behave
  • How to upload the image using only CLI commands
  • Example: how to upload image for Debian 11
  • What happens if you lose Internet connection during upload

Prerequisites🔗

No. 1 Account

You need a connectVM Cloud hosting account with access to the Horizon interface: https://console.connectvm.com/.

No. 2 connectVM CLI configured

You need to have the connectVM CLI client configured and operational. See How to install connectVMClient for Linux on connectVM Cloud. You can test whether your connectVM CLI is properly activated by executing the connectVM server list command mentioned in the end of that article - it should return the list of your virtual machines.

No. 3 Custom image you wish to upload

You need to have the image you wish to upload. It can be one of the following image formats:

aki ami ari iso qcow2
raw vdi vhd vhdx vmdk

The following container formats are supported:

aki ami ari bare
docker ova ovf

For the explanation of these formats, see article What Image Formats are Available in connectVM connectVM Cloud cloud.

No. 4 Uploaded public SSH key

If the image you wish to upload requires you to attach an SSH public key while creating the virtual machine, the key will need to be uploaded to connectVM Cloud cloud. One of these articles should help: