WikiEducationFoundation / WikiEduDashboard

Wiki Education Foundation's Wikipedia course dashboard system
https://dashboard.wikiedu.org
MIT License
385 stars 600 forks source link

Create scripts to manage creation and configuration of Wikimedia Cloud VMs #5781

Open ragesoss opened 2 months ago

ragesoss commented 2 months ago

The Dashboard relies on several VMs running on Wikimedia Cloud:

Programs & Events Dashboard database server

This runs MariaDB, and is configured to provide access to the database from other servers in Wikimedia Cloud. The data itself is stored on an attached Cinder volume.

Programs & Events Dashboard Sidekiq

This runs some sidekiq workers, including the one responsible for the 'long update' queue which processes the most resource-intensive course updates.

Programs & Events Dashboard Web

This runs a lot of things (too many):

Database replica endpoint

The service that makes queries to the Replica database and returns Article and Revision data. (This is used by both Programs & Events Dashboard as well as Wiki Education Dashboard.)

Server replacement

We periodically need to replace old VMs with newer ones running supported up-to-date versions of Debian. Currently, that's very tedious because we have not automated the server setup process or moved all the data to Cinder volumes that can be re-used by new VMs.

We should: