Work with @yarl and @Lokal_Profil to find a home for monumental-glam (which needs Node).
----
Set-up
* T233656 created the Cloud VPS project `finding-glams`
* Create a single instance `finding-glams-monumental` with source=//Debian-10.0-buster//, flavour=//m1.large//, security_groups=//Default//
* Create a web proxy mapping port 3000 of `finding-glams-monumental` to //finding-glams.wmflabs.org//
* Create a new security group (`web-server`) and add the rule:
```
Rule: Custom TCP Rule
Direction: Ingress
Open Port: Port
Port: 3000
Remote: CIDR
CIDR: 172.16.0.0/21
```
* Add the `web-server` rule to the `finding-glams-monumental` instance.
* Install nodjs12
```lang=sh
curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -
sudo apt-get install -y nodejs
node --version
> v12.10.0
npm --version
> 6.10.3
```
* Install yarn
```lang=sh
curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt-get update && sudo apt-get install yarn
yarn --version
> 1.19.0
```
* Create user `monumental-agent` to run the service: `sudo useradd -m monumental-agent -p <password>`
* Change to the user: `sudo su -s /bin/bash - monumental-agent`
* As `monumental-agent`:
** clone the repo: `git clone https://github.com/yarl/finding-glams.git`
** Change to the cloned directory: `cd finding-glams`
** Install dependencies: `yarn install`
** Build the project: `yarn build`
** Start the webservice as a background process: `nohup yarn start &`
** Store the PID of the process to be able to kill it (and it's subprocess) later: `echo $! > nohup.pid`