How to create a VM using the OpenStack CLI client on 3Engines Cloud cloud[🔗](#how-to-create-a-vm-using-the-openstack-cli-client-on-brand-name-cloud "Permalink to this headline")
===================================================================================================================================================================================

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

What We Are Going To Cover[🔗](#what-we-are-going-to-cover "Permalink to this headline")
---------------------------------------------------------------------------------------

> * The **openstack** 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[🔗](#prerequisites "Permalink to this headline")
-------------------------------------------------------------

No. 1 **Account**

You need a 3Engines Cloud hosting account with access to the Horizon interface: <https://horizon.3Engines.com>.

No. 2 **OpenStack CLI client configured**

To have the OpenStack CLI client configured and operational, see article: [How to install OpenStackClient for Linux on 3Engines Cloud](../openstackcli/How-to-install-OpenStackClient-for-Linux-on-3Engines-Cloud.html.md).

If the command

```
openstack flavor list

```

shows a list of flavors, the **openstack** 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 OpenStack, 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 OpenStack CLI on 3Engines Cloud](How-to-upload-your-custom-image-using-OpenStack-CLI-on-3Engines-Cloud.html.md)

    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