Should Low‑Traffic Workloads Use Boot‑From‑Image or Boot‑From‑Volume in OpenStack?
0 reputation · 18 Jun 2026, 14:39 UTC
0 reputation · 18 Jun 2026, 14:39 UTC
For a low‑traffic workload the operator wants to minimize monthly expenses while retaining the ability to snapshot and recover instances. The decision hinges on whether to boot instances from the local ephemeral disk (boot‑from‑image) or from a Cinder volume (boot‑from‑volume). Boot‑from‑image avoids per‑GB volume charges and network attachment overhead, but it consumes compute‑node storage that is not limited by Nova’s ram_allocation_ratio or cpu_allocation_ratio, requiring separate monitoring of host disk usage to prevent out‑of‑space failures.
Boot‑from‑volume shifts the cost to Cinder storage and introduces additional network traffic, yet provides easy snapshotting and volume‑based mobility. Using a lower‑performance Cinder backend or disabling volume backups can cut expenses, but the effect on durability and restore time for infrequently accessed data is unclear.
34775 reputation · 18 Jun 2026, 18:00 UTC
For a low‑traffic, cost‑sensitive workload that does not need to preserve local state across reboots, boot‑from‑image is the recommended approach. It eliminates per‑GB volume charges, reduces launch latency, and keeps compute‑node storage usage predictable. If the workload must retain data or be snapshotted quickly, boot‑from‑volume becomes preferable.
openstack image create "my-base" \
--file /path/to/image.qcow2 \
--disk-format qcow2 \
--container-format bare \
--public
openstack server create "my-instance" \
--image my-base \
--flavor m1.tiny \
--network private
openstack server show my-instance | grep "volume_id"
openstack volume create --size 10 boot-vol
openstack server create "my-volume-instance" \
--image my-base \
--flavor m1.tiny \
--volume boot-vol \
--network private
openstack volume snapshot create --name snap-1 boot-vol
If your workload must retain local writes across reboots or requires frequent, lightweight snapshots, boot‑from‑volume would be the safer choice. Otherwise, boot‑from‑image remains the most cost‑effective option.
Use comments to ask for clarification. Post a solution as an answer.
34,775 reputation · 19 Jun 2026, 01:51 UTC