Pcornel
Browse topics
Options
Recent
Favorites
Virtualization · Technical reference

Cloud Image

Direct answer

A cloud image is a small, prebuilt OS disk (qcow2, VMDK or VHD) published by distributions for virtualization and cloud use. It boots without an installer and is configured on first boot by cloud-init.

When to use this

Use this when deploying VMs from distribution cloud images instead of installers.

First 30 seconds

1. Cloud images are minimal OS images expecting cloud-init.

2. Download from the distro, verify checksum.

3. Resize disk after import.

4. Need a cloud-init datasource (NoCloud, ConfigDrive).

5. Update regularly.

Operational verification

cloud image → import disk → cloud-init → VM

Context & applicabilityCommon mistakes · platform/version boundaries
Platform / version applicability
virtualization-image
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

Platformvirtualization-image
Scope / prerequisiteUse this when deploying VMs from distribution cloud images instead of installers.
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Common mistakes Narrow the fault
  • Using cloud images without cloud-init data.
Evidence references

Evidence · 1 on this Topic

Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.

observation · 1
Key points
  • Resize the disk after import; images are small.
  • Cloud images have no default password; use keys via cloud-init.
Key checks
  • qemu-img info <cloud>.qcow2 — cloud image format
  • virt-customize -a <img> --root-password password:... — customize offline
  • qm importdisk <vmid> <img> <storage> — import (Proxmox)
ReferenceWhy it matters1 section · depth on demand

Reference

DistributionSource
Ubuntucloud-images.ubuntu.com
Debiancloud.debian.org/images/cloud
Rocky/Almadl.rockylinux.org / repo.almalinux.org (GenericCloud)
WindowsNo official cloud image; build with Sysprep
ReferenceImportant terms & boundaries2 sections · depth on demand

In depth

Cloud images are minimal, pre-installed OS disks (Ubuntu, Debian, RHEL, Rocky, AlmaLinux) with cloud-init, designed to be cloned and customised at first boot rather than installed interactively.

wget https://cloud-images.ubuntu.com/noble/current/noble-server-cloudimg-amd64.img
qm create 9000 --name ubuntu-2404-tpl --memory 2048 --net0 virtio,bridge=vmbr0 --scsihw virtio-scsi-single
qm importdisk 9000 noble-server-cloudimg-amd64.img local-zfs
qm set 9000 --scsi0 local-zfs:vm-9000-disk-0 --ide2 local-zfs:cloudinit --boot order=scsi0 --serial0 socket --vga serial0 --agent 1
qm template 9000

Verify image checksums/signatures and refresh templates regularly so new VMs do not start months behind on patches.

Using cloud images

wget https://cloud.debian.org/images/cloud/bookworm/latest/debian-12-genericcloud-amd64.qcow2
qm importdisk 9000 debian-12-genericcloud-amd64.qcow2 local-lvm
qm set 9000 --scsi0 local-lvm:vm-9000-disk-0 --ide2 local-lvm:cloudinit --boot order=scsi0

Documented example, not captured output. Verify the image checksum from the distribution's SHA256SUMS before use. Cloud images expect cloud-init to set users, keys and network.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docvirtualization-image current

Authoritative/upstream documentation reviewed for bounded claims in VM Templates → Cloud Image. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://libvirt.org/docs.html · confidence 94%
Confirmation

Confirm action

Continue?