Skip to content

How to maintain a Quake AI VM over its lifetime

How-to · Updated Sep 2026

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.

Before this

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

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:

bash
lsblk
sudo growpart /dev/sdb 1
sudo resize2fs /dev/sdb1
df -h /mnt/data

Replace /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.

bash
df -h
sudo journalctl --disk-usage
sudo du -xh /var/log | sort -h | tail -10

Configure logrotate for application logs under /etc/logrotate.d/. Trim old journal entries when /var/log/journal grows large:

bash
sudo journalctl --vacuum-time=7d

Set 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.

  1. Snapshot for archival (optional): Create an instance snapshot if you need a restore point or golden image.
  2. Preserve data volumes: detach volumes you want to keep with openstack server remove volume INSTANCE_NAME VOLUME_NAME or the Console Detach action. Delete only volumes that are truly disposable.
  3. 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.
  4. Delete the instance:

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

Was this page helpful?