Project

General

Profile

Common operations on X-as-a-Service » History » Revision 4

Revision 3 (Timothée Floure, 03/20/2020 01:49 PM) → Revision 4/13 (Timothée Floure, 03/20/2020 01:55 PM)

h1. Common operations on X-as-a-Service 

 h2. Matrix-as-a-Service 

 h3. Contact customer for setup informations 

 Do not forget to replace @$CUSTMER@! 

 <pre> 
 Hello $CUSTOMER, 

 I will deploy your Matrix homeserver and but need a few configuration details from 
 you. you first. I do not know how familiar you are with Matrix or technical terms: 
 do not hesitate to tell me if I go to fast or to slow for you. 

 First of all, each Matrix homeserver is linked to domain name (you users will look 
 like `@username:domain.tld`) for federation. I can offer you two options here, 
 but remember that the chosen domain name cannot be changed afterward: 

   * Your own domain (e.g. domain.tld). 
   * One domain controlled by ungleich (e.g. $CUSTOMER.0co2.cloud, 
     $CUSTOMER.ungleich.cloud). 

 Secondly, I will deploy a Riot web matrix client for convenience (you can use 
 the desktop or smartphone clients as well) and need a domain for that as well: 

   * Your own domain (e.g. matrix.domain.tld) 
   * One domain controlled by ungleich (e.g. matrix.$CUSTOMER.0c02.cloud). 

 Lastly, I will configure the Matrix homeserver for you. You can ask us to set 
 any configuration option but we at least need to know your preferences in term 
 of registration: 
   * Should it be backed by an existing user directory (LDAP)? 
   * Should registrations be filtered by domain of email address? (e.g. anyone 
     with a @domain.tld email address can register). 
   * Should anyone be allowed to register? 

 Feel free to ask me any matrix-related question, as I am a heavy matrix user 
 myself. 

 Best Regards, 

 --  
 </pre> 

 h3. Deploy new MaaS instance 

 TODO -> ask @fnux for now. 

 * Allocate ONE VM. 
 * Add HDD storage. 
 * Add FSTAB entry for /var/ on HDD 
 * mount data disk on /mnt 
 * mv /var to /mnt 
 * remove /var; mount -a to remount /var to on new disk 
 * reboot to make sure everything's OK. 
 * Upgrade VM: update/upgrade. 
 * Add DNS entry in matrix.ungleich.cloud 
 * Add server to matrix-as-a-service manifest, deploy 
 * Have customer configure his domain. 
 * Create initial admin use. 

 h3. Upgrade a running MaaS instance 

 TODO -> ask @fnux for now. 

 h3. Deploy Matterbridge application service 

 TODO -> ask @fnux for now.