Create a virtual machine image¶
- Go to Compute > Images > Create Image.
- Provide a name for the image.
-
Upload or reference the image file.
- Referencing an image is typically faster to setup.
- Referencing the image file requires you to supply the URL address for the file.
- You'll can refer to a trusted source for the referenced image file (for example, go to http://download.cirros-cloud.net/0.6.2/ to download an image of cirrOS test distribution). See also a list of image providers from OpenStack.org.
- You'll need to use an OpenStack-compatible image hypervisor format, such as KVM. The image format (such as
QCOW2
orRAW
) often indicates compatibility with certain hypervisors. For example, QCOW2 is typically used with QEMU/KVM. - Rumble Cloud only supports images files using x86 hardware architectures.
- You'll typically use the
.img
file format (for example, http://download.cirros-cloud.net/0.6.2/cirros-0.6.2-x86_64-disk.img). - If uploading image files, you'll need the file available on your local machine.
-
Specify the disk format. Choices include
RAW
,QCOW2
, andISO
.- You'll typically use the
QCOW2
format. QCOW2 is a format provided by QEMU (Quick EMUlator) that supports multiple snapshots, compression, and lazy allocation of disk space. QCOW2 images are more storage-efficient than RAW images. QCOW2 is good for development environments or where snapshotting capabilities are needed. If unsure, selectQCOW2
. RAW
is a direct byte-for-byte copy of a disk or drive. It does not involve any metadata or features beyond the actual content, making it highly compatible but typically larger in size.ISO
is a disk image format designed to hold the contents of an optical disc (CD or DVD). It's a sector-by-sector copy of the disc and is primarily read-only. ISO images are used for distributing large applications and operating systems because they are easily mountable by most operating systems without decompression. ISO can simulate a physical disc in virtual drives.
- You'll typically use the
-
Specify the container format (
BARE
is the only choice). - Specify the operating system.
- Specify the operating system version.
- Specify the operating system administrator name. This is the default username that will be assigned for logging into the VM. The password for an individual virtual machine (VM) instance can be later specified at the time of VM creation.
- Optionally specify the minimum system disk size and minimum memory.
- Specify if the image visibility is public or private. If private, the image will not be available to other users when creating new VM instances.
- Specify to protect the image from deletion.
- Specify if you want to enable QEMU Guest Agent for the image. QEMU Guest Agent is a helper daemon installed on the VM that allows advanced functionality such as quiescing system disks before taking a snapshot. Only enable this option if the QEMU Guest Agent is part of this image. If you're unsure, leave QEMU Guest Agent disabled.
- Provide a description for the image.
See also¶
- Images
- For more information on image files, see:
- https://docs.openstack.org/image-guide/obtain-images.html
- https://docs.openstack.org/image-guide/modify-images.html