How to upload your custom image using OpenStack CLI on 3Engines Cloud[🔗](#how-to-upload-your-custom-image-using-openstack-cli-on-brand-name "Permalink to this headline")
===========================================================================================================================================================================

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

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

> * How to check for the presence of the image in your OpenStack 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[🔗](#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 configured**

You need to have the OpenStack CLI client configured and operational. See [How to install OpenStackClient for Linux on 3Engines Cloud](../openstackcli/How-to-install-OpenStackClient-for-Linux-on-3Engines-Cloud.html.md). You can test whether your OpenStack CLI is properly activated by executing the **openstack 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 OpenStack 3Engines Cloud cloud](What-Image-Formats-are-available-in-OpenStack-3Engines-Cloud-Cloud.html.md).

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 3Engines Cloud cloud. One of these articles should help: