Why use custom images
Snapshots are good for one VM’s restore points; custom images are good for N VMs sharing a starting state.
Custom images vs related concepts
The big practical difference: snapshots are deleted when the source VM is deleted; custom images outlive the VM. If you want a starting point that persists, save the snapshot as an image first.
How to create one
Two paths reach the same outcome:- From an existing VM — use Save VM disk as image (API today; dashboard exposure planned). The VM’s current OS disk is captured as an image.
- From a snapshot — convert an existing snapshot into a permanent image before deleting the source VM, so the image survives.
How to use one
Open the Create VM flow and pick the OS template step. The picker lists:- OS tab — Raff stock templates (vanilla distros, Windows Server)
- Marketplace tab — pre-built application stacks
- Your custom images — what you’ve saved
What gets baked in
A custom image captures everything on the OS disk at the moment of capture:- Installed packages, configs, kernel, drivers
- Application code in your usual paths
- Set hostnames inside the OS, fixed IPs in
/etc/netplanor similar (these will conflict — clear them before imaging) - Cron jobs, systemd units, mounted state
- Any secrets or credentials sitting on disk — sanitize first
- Attached volumes (separate volumes, separate snapshots)
- The dashboard hostname, tags, notes (those belong to the VM record)
- Network configuration assigned by the platform — new VMs get fresh IPs
Best practices for golden images
- Run a sanitization pass before imaging: clear shell history, remove machine-specific keys (
ssh-keygen -Aorcloud-init clean), zero out sensitive disk areas. - Pin package versions so the image is reproducible, or document the apt/yum state.
- Version your images by name —
web-base-2026-04,web-base-2026-05— so you know what’s current. - Delete old image versions you no longer use to stop storage charges.
Pricing
Custom images bill per GB-stored, similar to backups and snapshots. The exact rate is in Pricing. Delete images you no longer need.Related
OS templates
Stock images Raff provides.
Snapshots vs Backups
Decision framework for protective copies.