How to maintain a Quake AI VM over its lifetime
Coming from another cloud?
▸AWS·EC2 Maintenance
This Quake AI feature maps to AWS’s EC2 Maintenance.
▸Azure·VM Maintenance
This Quake AI feature maps to Azure’s VM Maintenance.
▸DigitalOcean·Droplet Resize
This Quake AI feature maps to DigitalOcean’s Droplet Resize.
▸Google Cloud·Instance Maintenance
This Quake AI feature maps to Google Cloud’s Instance Maintenance.
How to maintain a Quake AI VM over its lifetime
Keep a production VM healthy over months of use: change its flavor when load grows, expand attached storage, reboot safely, rotate logs, and decommission the instance without leaving orphaned resources.
Prerequisites
- ConsoleLogged in to the Quake AI console
- CLIOpenStack CLI installed and authenticated (
clouds.yamloropenrcsourced)
Windows: CLI examples use bash. Set up a Linux CLI environment on Windows before proceeding.
- A running Linux VM with SSH access
- Sudo inside the guest
- For resize operations, a maintenance window that tolerates a brief restart
Resize or change flavor#
Resize changes vCPU, RAM, and bandwidth caps. Because Quake AI instances boot from a persistent Cinder volume, flavor resize does not grow the root disk; extend the boot volume separately when you need more disk space.
Take an instance snapshot before a major resize so you can roll back if the new flavor misbehaves.
Grow storage#
Expand a data volume at the control plane, then grow the partition and filesystem in the guest.
Extend an attached volume:
Follow How to extend a volume at Cinder microversion 3.42 or later for online extend, or detach, extend, and reattach when online extend is unavailable.
Grow the filesystem in the guest:
lsblk
sudo growpart /dev/sdb 1
sudo resize2fs /dev/sdb1
df -h /mnt/dataReplace /dev/sdb with your device and partition numbers from lsblk.
To add capacity with a new volume instead of extending an existing one, create and attach a volume with How to create a volume, then mount it as described in How to operate a running Quake AI VM.
Reboots and maintenance windows#
Coordinate reboots with application owners. Kernel reboots after patching are covered in How to patch and update a Quake AI VM.
Drain connections before you reboot production services (stop the app, remove the instance from your reverse-proxy or edge origin pool, or pause traffic at your edge).
Log rotation and disk hygiene#
Quake AI does not clean guest disks. Monitor usage and rotate logs before partitions fill.
df -h
sudo journalctl --disk-usage
sudo du -xh /var/log | sort -h | tail -10Configure logrotate for application logs under /etc/logrotate.d/. Trim old journal entries when /var/log/journal grows large:
sudo journalctl --vacuum-time=7dSet an alert in your monitoring stack when any mount exceeds 80% utilization.
Decommission the VM#
When you retire a workload, capture state you need, detach resources you want to keep, then delete the instance.
- Snapshot for archival (optional): Create an instance snapshot if you need a restore point or golden image.
- Preserve data volumes: detach volumes you want to keep with
openstack server remove volume INSTANCE_NAME VOLUME_NAMEor the Console Detach action. Delete only volumes that are truly disposable. - Release floating IPs tied to this workload: if you allocated a floating IP for this instance's SSH or public traffic, disassociate and release it. Keep floating IPs used by NAT, reverse proxies, edge origins, or other instances.
- Delete the instance:
Related documentation#
- How to operate a running Quake AI VM: day-2 connect and storage tasks
- How to patch and update a Quake AI VM: OS updates and kernel reboots
- How to create an instance snapshot: rollback and archival snapshots
- How to back up and restore a Quake AI VM: offsite copy and restore drill after snapshots
- How to extend a volume: grow block storage at the control plane
- Automated backups with object storage: file-level backup patterns
Usage Guidelines
The sample code, software libraries, command line tools, proofs of concept, templates, and other related technology on this page (including any of the foregoing that is provided by Quake AI personnel) is provided to you as Quake AI Content under the Quake AI Customer Agreement, or the relevant written agreement between you and Quake AI (whichever applies). Do not use this Quake AI Content in your production accounts, or on production or other critical data. You are responsible for testing, securing, and optimizing the Quake AI Content (such as sample code) as appropriate for production grade use based on your specific quality control practices and standards. Deploying Quake AI Content may incur Quake AI charges for creating or using Quake AI chargeable resources, such as running Compute instances or storing data in Object Storage. Your use is also subject to the Acceptable Use Policy.
For the full policy, see Usage Guidelines.
Last validated: 08.09.2026
Quick answers
- Why does `openstack image save` write a 0-byte file for my boot-from-volume instance?CLI
- Why does `openstack server create` fail with "Only volume-backed servers are allowed for flavors with zero disk"?CLIAPITerraform
- Why does my project still have a 10 GiB Cinder volume after I deleted my instance?CLIAPI