Skip to content

How to create a VM using the 3Engines CLI client on 3Engines Cloud cloud🔗

This article will cover creating a virtual machine on 3Engines Cloud cloud using the 3Engines CLI client exclusively. It contains basic information to get you started.

What We Are Going To Cover🔗

  • The 3Engines command to create a VM
  • Selecting parameters of the new virtual machine
  • Image
  • Flavor
  • Key pair
  • Network(s)
  • Security group(s)
  • Creating a virtual machine with CLI only
  • Adding a floating IP to the existing VM
  • Using SSH to access the VM

Prerequisites🔗

No. 1 Account

You need a 3Engines Cloud hosting account with access to the Horizon interface: https://3engine.rootxwire.com/.

No. 2 3Engines CLI client configured

To have the 3Engines CLI client configured and operational, see article: How to install 3EnginesClient for Linux on 3Engines Cloud.

If the command

3Engines flavor list

shows a list of flavors, the 3Engines command is operational.

No. 3 Available image to create a new VM from

In general, you can create a new virtual machine from these four sources:

  • operating system image
  • instance snapshot
  • volume
  • volume snapshot

In this article, we will use the first option, an operating system image, as a source of a new virtual machine. There are three ways you can obtain an image:

Images that are automatically included on 3Engines Cloud cloud
There is a set of images that come predefined with the cloud. Typically, that default list of images will contain Ubuntu, CentOS, and Windows 2019/22 images, with various flavors. Other default images could be available as well, say, for AlmaLinux, OPNSense, OSGeolive, Rocky Linux and so on.
Images shared from other projects
Under 3Engines, images can be shared between the projects. To have an alien image available in your project, you have to accept it first.
Images uploaded within your account

Finally, you can upload an image by yourself. Once uploaded, the image will be a first class citizen but it may not be automatically available on other accounts you might have.

See this article

How to upload your custom image using 3Engines CLI on 3Engines Cloud

for an example of uploading a new Debian image to the cloud.

No. 4 Available SSH key pair

These two articles should help generate and import the SSH key into the cloud:

  • /networking/Generating-a-sshkeypair-in-Linux-on-3Engines-Cloud and