How to use the Bring Your Own Image feature

Find out how to easily deploy your own images on dedicated servers

Last updated 25th November 2022


The Bring Your Own Image feature (BYOI) enables you to deploy cloudready images directly on your dedicated server. You can therefore use the bare metal service as a resource for your deployments.

What does cloudready mean?

The cloudready standard generally means to be agnostic of the infrastructure on which the image is deployed. In addition to the prerequisites and limitations mentioned below, you must ensure that the image (downloaded or generated) answers correctly to the definition of technical expectations of a cloudready image.
The image must be able to boot correctly, whatever the server type. It must also embed the Cloud-Init service if ConfigDrive is used. Finally, the system configurations must allow the OS to be fully initiated, especially those related to the network.

This guide explains how to use BYOI on your OVHcloud dedicated server.


A new installation with BYOI will erase all the data on the server.


Technical limitations

There are some technical limitations linked to the use of physical products such as dedicated servers. Here is a non-exhaustive list, to keep in mind during your deployment preparation:

  • Boot type: uefi or legacy
  • Partition type: MBR or GPT
  • Image format: qcow2 or raw

If your server has a uefi boot type, be sure to add an EFI partition to your image template.

Deployment methods

Deploying your image in the OVHcloud Control Panel

Log in to the OVHcloud Control Panel and go to the Bare Metal Cloud section, then select your server under Dedicated servers.

In the General information tab, click on the ... button next to "System (OS)" and then on Install.

bring your ownimage

In the window that appears, select Install from custom image and click on Next.

bring your ownimage

You will be redirected to the configuration page. Make sure your image URL is in the correct format. Complete the rest of the required fields on this page. Once you have confirmed that the information is correct, click Install the system.

You can find more details on the options in the "Deployment options" section below.

For more information on activating ConfigDrive, please consult the documentation on this page.

bring your ownimage

Deploy your image via the APIs

Log in to the API console and go to the /dedicated/server section. You can use the Filter field to find "BringYourOwnImage".

The BYOI feature uses 3 API calls.

calls API

To deploy your image, use the following API call and complete the required fields:

Deployment options

Field Description
serviceName Your server's name.
URL The URL to retrieve your image from.
checkSum Your image's checksum.
checkSumType Your image's checksum type (md5, sha1, sha256, sha512).
enable (ConfigDrive) Create ConfigDrive partition (cloud-init)
hostname (ConfigDrive) Your server's hostname.
sshKey (ConfigDrive) Your public SSH key.
userData (ConfigDrive) Your post-install script.
userMetadatas (ConfigDrive) Meta data used by CloudInit when booting.
description Your image's name.
diskGroupId The disk ID on which you want to install your image.
httpHeader Only if necessary to download your image.
type Your image's type/format (qcow2, raw, ova).

The ConfigDrive partition is used by cloud-init during the first server boot in order to apply your configurations. You can choose whether to enable it or not.


After you have completed the fields, start the deployment by clicking Execute.

Checking a deployment

You can track the deployment of your image through the API call below or through the KVM / IPMI.

In this example, the deployment is "starting".

GET API call

Deployment can take up to 10 minutes. When the operation is complete, your deployment status will change to "done" and your server will be restarted to disk.

Result examples

Here are some results you might have:

Message Meaning
Can't write qcow2 on disk. Could not burn qcow2 image on disk.
Could not download, qcow2 image is too big to download in memory. There is not enough RAM space to store your image.
Could not download image located: http://path/of/your/image. Impossible to download image located http://path/of/your/image.
Bad format image, expected: qcow2, raw. Incorrect image format.
Bad checkSumType, expected: sha1, sha256, md5. Incorrect checksum type.
Bad $checkSumType for downloaded file, got: 1234 while expecting 5678. Incorrect checksum signature.
Can not move backup GPT data structures to the end of disk. Disk format is not correct.
Could not create configdrive on disk. Impossible to create config-drive partition.

Deleting a deployment

You can choose to remove your deployment by using the following API call:

This will erase the deployment status and put your server in rescue mode.

Go further

Join our user community on

Did you find this guide useful?

Please feel free to give any suggestions in order to improve this documentation.

Whether your feedback is about images, content, or structure, please share it, so that we can improve it together.

Your support requests will not be processed via this form. To do this, please use the "Create a ticket" form.

Thank you. Your feedback has been received.

These guides might also interest you...

OVHcloud Community

Access your community space. Ask questions, search for information, post content, and interact with other OVHcloud Community members.

Discuss with the OVHcloud community

In accordance with the 2006/112/CE Directive, modified on 01/01/2015, prices exclude VAT. VAT may vary according to the customer's country of residence.