Skip to content

Prescreening Infrastructure and Operations ​

Verified production path ​

Frontends ​

The participant frontend workflows deploy corp builds to S3. Live buckets include:

  • dmind-prescreening-frontend and dmind-prescreening-dev-frontend
  • dmind-prescreening-tu-frontend and dmind-prescreening-tu-uat-frontend
  • dmind-prescreening-mdcu-frontend
  • dmind-prescreening-cpird-frontend
  • dmind-prescreening-thpf-frontend
  • dmind-prescreening-kku-frontend
  • dmind-prescreening-thangrath-frontend
  • dmind-prescreening-tsu-frontend

The staff dashboard is Amplify app mental-dashboard-frontend (d3mkycwgs5ucuo). Its production branch is main, auto-build is enabled, and dashboard.prescreening.dmind.app points to that branch. The configured production API base is https://api.prescreening.dmind.app/dashboard.

Backend ​

ResourceVerified name/detail
ECS clusterdmind-prescreening-backend
ECR repositorydmind-prescreening-backend
Production ALBdmind-prescreening-prod (internet-facing)
Development ALBdev-alb
Redisdmind-prescreening-backend-prod
Main log group/dmind-prescreening-backend
Corp log groupsTU, MDCU, KKU, THPF, Thangrath, and TSU names are present; Chula, Navy, and Somdet log-group namespaces remain.
Content bucketdmind-prescreening
Alarm handlerdmind-prescreening-alarm-bot-handler Lambda

Current environment mapping ​

This mapping was verified on 2026-08-19 in AWS account 564141170168, region ap-southeast-1, and Atlas project DMIND Production, cluster dmind-prescreen-backend-prod.

VariantParticipant frontend bucket / releaseBackend service / imageAtlas databaseAI bundle
Main productiondmind-prescreening-frontend / v1.109.0dmind-prescreening-backend-prod / dmind-prescreening-backend:v1.13.0prescreen1_2_0
Developmentdmind-prescreening-dev-frontend / release not identifieddmind-prescreening-backend-dev / dmind-prescreening-backend:d9eb2512dmind1_2_0
TUdmind-prescreening-tu-frontend / v1.109.0dmind-prescreening-backend-tu-prod / dmind-prescreening-backend:v1.11.0tu1_2_0
TU UATdmind-prescreening-tu-uat-frontend / release not identifiedNo backend identifiedprescreen-uatAI bundle not identified
MDCUdmind-prescreening-mdcu-frontend / v1.109.0dmind-prescreening-backend-mdcu-prod / dmind-prescreening-backend:v1.11.0mdcu1_2_0
CPIRDdmind-prescreening-cpird-frontend / v1.109.0dmind-prescreening-backend-cpird-prod / dmind-prescreening-backend:v1.11.0cpird1_2_0
THPFdmind-prescreening-thpf-frontend / v1.109.0dmind-prescreening-backend-thpf-prod / dmind-prescreening-backend:v1.11.0thpf1_2_0
KKUdmind-prescreening-kku-frontend / v1.109.0dmind-prescreening-backend-kku-prod / dmind-prescreening-backend:v1.11.0kku1_2_0
Thangrathdmind-prescreening-thangrath-frontend / v1.113.0dmind-prescreening-backend-thangrath-prod / dmind-prescreening-backend:v1.12.0thangrath1_2_0
TSUdmind-prescreening-tsu-frontend / v1.111.0dmind-prescreening-backend-tsu-prod / dmind-prescreening-backend:v1.13.0tsu1_2_0
NavyNo current frontend bucketRetained inactive production/UAT services in cluster dmind-prescreening-backend-navynavyAI bundle not identified
Chula / SomdetNo current frontend bucketNo current backend service identifiedchula / somdetAI bundle not identified

Each production tenant service has a separate target group behind dmind-prescreening-prod. Development runs in the shared ECS cluster behind dev-alb at api.dev.prescreening.dmind.app.

Configuration and secrets ​

  • Feature configuration paths exist under /dmind-prescreening/<variant>/feature-config for main, dev, UAT, TU, MDCU, CPIRD, THPF, KKU, Thangrath, TSU, and Navy.
  • Backend secrets are separated into dev/prod and corp-specific secret names.

Repository workflow behavior ​

The participant frontend workflow builds a selected tag for a tenant, publishes the static artifact to that tenant's S3 bucket, and invalidates CloudFront. The backend production workflow creates a Git tag and publishes the ECR image; it does not update the ECS service. Publishing a backend image and activating it in ECS are separate operations.