Nova Resource:Wlm-it-visual

From Wikitech


Project Name wlm-it-visual
Details,
admins/members
openstack-browser
Monitoring

WLM IT Data Visualization (backend API)

Description

This is the backend API for Wiki Loves Monuments Italy - Data Visualization 2022.

https://wlm-it-visual.wmcloud.org/

Purpose

https://wiki.wikimedia.it/wiki/Data-driven_community_engagement_per_Wiki_Loves_Monuments

Anticipated traffic level

0-50 hits per day

Anticipated time span

1-3 years

Project status

not started yet

Contact address

phabricator:wmit-infrastructure
or directly to volunteer sysadmin User:Valerio Bozzolan

Willing to take contributors or not

not willing

Subject area narrow or broad

narrow

Network

  1. https://wlm-it-visual.wmcloud.org/ - HTTPs endpoint handled by Wikimedia Foundation acting as SSL frontend (Help:Using a web proxy to reach Cloud VPS servers from the internet)
    requests are proxed by WMF to our Apache HTTPd server on port 80
    requests are proxed by our Apache HTTPd to our local Docker port 8080
  2. https://wlm-it-app.wmcloud.org/ - HTTPs endpoint handled by Wikimedia Foundation acting as SSL frontend (Help:Using a web proxy to reach Cloud VPS servers from the internet)
    requests are proxed by WMF to our Apache HTTPd server on port 80
    requests are served by our Apache HTTPd to the DocumentRoot set to /var/www/app/www
  3. localhost:80 - Apache HTTPd acting as an HTTP frontend
  4. localhost:8080 - expected Docker running

Internal information

Server access

First read Help:Accessing Cloud VPS instances. Then enter in the server with SSH:

ssh wlmitvisual01.wlm-it-visual.eqiad1.wikimedia.cloud

Filesystem info

/: 20G
/srv: 75G

Unix app users

uid=1001(wlm-it-app) gid=1004(wlm-it-app) groups=1004(wlm-it-app)

Documentation of server WMIT-intreccio (frontend)

https://wiki.wikimedia.it/wiki/Data-driven_community_engagement_per_Wiki_Loves_Monuments/Technical_documentation#Known_users

Source code

Temporary repository:

https://github.com/densitydesign/wlm-backend

TODO: Move to GitLab (https://gitlab.wikimedia.org/explore)

Server admin log

2023-08-22

  • 10:20 valerio-bozzolan: horizon: setup VirtualHost for wlm-it-app.wmcloud.org but apache2 is not running because of Docker is eating port :80
  • 10:19 valerio-bozzolan: horizon: setup proxy wlm-it-app.wmcloud.org

2023-08-09

  • 09:02 valerio-bozzolan: resize from g3.cores2.ram4.disk20 to flavor g3.cores4.ram8.disk20 as dev. requested

2022-08-04

  • 17:42 valerio-bozzolan: remove rule about incoming :443 in security group 'web' since it's unuseful
  • 17:42 valerio-bozzolan: add apache2 on :80 proxing to :8080 to be able to display nice error messages if Docker ... (more)