Images
Image formation
Video instructions available at bottom of page
STEP 1
From the Project -> Volumes -> Volumes screen, select UPLOAD TO IMAGE: from the action for the selected volume:
STEP 2
Enter a name for the image in the wizard and confirm the creation with the UPLOAD button.
Image deletion
From the Project -> Compute -> Images screen, select Delete Image on the right-hand side in the action for the selected image:
Practical remarks
NOTE 1
It is not possible to delete an image with the setting PROTECTED = YES (this value can be changed to NO by editing image -> action Edit Image).
NOTE 2
The image cannot be deleted with the setting VISIBILITY = PUBLIC.
NOTE 3
Image creation only works for volumes not attached to an instance.
Uploading an image of the operating system >=10GB
To place an operating system image larger than 10GB on Atman Cloud resources, use the OpenStack command line.
We follow the following procedure:
STEP 1
We prepare our own or download a ready-made RAW operating system image, compatible with the KVM hypervisor.
Sample images are available at the following locations:
Distribution |
The Repository |
|---|---|
CentOS |
|
Debian |
|
Fedora |
|
FreeBSD |
|
SuSE |
|
Ubuntu |
Optionally, we can also convert the *.qcow2 image to *.raw using the qemu-img tool:
qemu-img convert <nazwa-obrazu-źródłowego>.qcow2 <nazwa-obrazu-docelowego>.raw
STEP 2
Further steps will require running the command line client (CLI).
The preparation of the Openstack client for the command line is described in the chapter on configuration of API accounts in SSO.
STEP 3
We use the CLI OpenStack client to host our image in the Atman Cloud using the python-openstackclient package:
openstack image create --private --disk-format raw --container-format bare --file <nazwa-obrazu-źródłowego>.raw <image-name-in-panel-Atman-Cloud
STEP 4
We verify that our new image appears as available in the project:
openstack image list --private
STEP 5
The new image should appear in the Images tab
A full description of the syntax for the OpenStack version of Stein is available at https://docs.openstack.org/python-openstackclient/stein/cli/command-objects/image.html
Video instructions
Virtual machine images, import into Atman Cloud
Open this video on YouTube
Virtual machine disk archiving via images in the Atman Cloud