2.6 KiB
How to upload your custom image using OpenStack CLI on CloudFerro Cloud
In this tutorial, you will upload custom image stored on your local computer to CloudFerro Cloud cloud, using the OpenStack CLI client. The uploaded image will be available within your project alongside default images from CloudFerro 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 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
No. 1 Account
You need a CloudFerro Cloud hosting account with access to the Horizon interface: https://horizon.cloudferro.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 CloudFerro Cloud. 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 CloudFerro 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 CloudFerro Cloud cloud. One of these articles should help: