Preprod infrastructure (v7, on demand, Exoscale)

Preprod infrastructure (v7, on demand, Exoscale) An architecture diagram generated by Archify. Testers · browsers, public · Architecture component Testers browsers, public Elastic IP + DNS · *.preprod domain · Architecture component Elastic IP + DNS *.preprod domain HAProxy 3.4 · TLS, host routing, quotas · preprod-app VM · same image as prod HAProxy 3.4 TLS, host routing, quotas same image as prod Varnish · images.* cache · preprod-app VM Varnish images.* cache tracking: not started · on purpose; ui1 alias DOWN · preprod-app VM tracking: not started on purpose; ui1 alias DOWN UI (c2c_ui) · openresty, env banner · preprod-app VM UI (c2c_ui) openresty, env banner API ×2 (v6_api) · api0 + api1, ghcr.io · preprod-app VM API ×2 (v6_api) api0 + api1, ghcr.io syncer + scheduler · v6_api jobs · preprod-app VM syncer + scheduler v6_api jobs Images (c2c_images) · upload, resize · preprod-app VM Images (c2c_images) upload, resize Redis 8 · API cache · preprod-data VM Redis 8 API cache PostgreSQL 18 · copy of prod, scrubbed · preprod-data VM PostgreSQL 18 copy of prod, scrubbed Elasticsearch 8.19 · node 1, master · preprod-data VM Elasticsearch 8.19 node 1, master certbot · Let's Encrypt, cert push · preprod-data VM certbot Let's Encrypt, cert push c2corg-preprod-backups · SOS: WAL-G + dumps · Architecture component c2corg-preprod-backups SOS: WAL-G + dumps PG replica (streaming) · dump, restore test · preprod-backup VM (optional) PG replica (streaming) dump, restore test Elasticsearch node 2 · data only · preprod-backup VM (optional) Elasticsearch node 2 data only Legacy prod backup VM · daily pg dump · Architecture component Legacy prod backup VM daily pg dump Exoscale SOS · preprod-incoming/-active, c2corg-dem · Architecture component Exoscale SOS preprod-incoming/-active, c2corg-dem Production site · forum.* and media.* · Architecture component Production site forum.* and media.* Production tracking · accepts preprod JWT · Architecture component Production tracking accepts preprod JWT Grafana Cloud · dashboard c2c - preprod · Architecture component Grafana Cloud dashboard c2c - preprod Discourse (empty) · forum.preprod · preprod-forum VM (optional) Discourse (empty) forum.preprod Admins · SSH · Architecture component Admins SSH Bastion · Terraform + Ansible · Architecture component Bastion Terraform + Ansible HTTPS www api images media forum read-only, media fallback forum (opt.) browser, preprod JWT cache SQL/TLS search :9200 changes index S3 put cert push, nightly dumps, restore test scrubbed dataset Alloy, every VM SSH Ansible site/deploy, all VMs preprod-app VM preprod-data VM preprod-backup VM (optional) preprod-forum VM (optional) Legend Frontend Backend Database Cloud Security External