Per https://wikitech.wikimedia.org/wiki/News/2025_Cloud_VPS_Bullseye_deprecation we need to replace or retire the following twl Cloud VPS instances:
To replace a deprecated instance:
- Create a new instance using Debian Trixie (longest time until future deprecation) or Debian Bookworm
- Move content and configuration from the old Bullseye instance to the new instance. Consider using a Cinder volume to store and move files.
- If using web proxy on the old instance, delete the proxy and the add a new one with the same name pointing at the new instance
- Shutdown the old Bullseye instance
- After all the content and configuration is moved, delete the old Bullseye instance
If we need additional quota to create new virtual machine instances, follow the instructions to request a temporary quota increase.
Note
For this project, I recommend retiring twl-nfs-1 Currently prod0 mounts an nfs export from this to /data/project. This arrangement predates support for cinder volumes in Cloud VPS and its only remaining purpose is backup storage.
See: https://wikitech.wikimedia.org/wiki/Help:Shared_storage
Recommended procedure:
- disable automatic deployments to prod0 via crontab
- update the backup source directory in docker-compose.production.yml#L39 to use /usr/local/backup
- create cinder volume and attach to prod0
- mount to /usr/local/backup
- manually run a backup
- cp -r /data/project/prod/* /usr/local/backup/
- unmount cinder volume and detach from prod0
- create new replacement vm and attach and mount cinder volume to /usr/local/backup
- deploy TWL to the new instance following project docs
- delete instance twl-nfs-1 and volume twl-nfs
We should double check with cloud-vps folks to make sure there's nothing else to do to clear out nfs project stuff.
See: https://github.com/WikipediaLibrary/TWLight/wiki/Debian-Server-setup
We have a deadline of July 31st, 2026 to update to Debian Bookworm or Trixie.