Migrate from WildFly Monolith to Modular Nginx + systemd-based Architecture

XMLWordPrintable

    • Type: Task
    • Resolution: Unresolved
    • Priority: Low
    • None
    • Affects Version/s: None
    • None
    • AMRIT Sprint 39, AMRIT Sprint 38, AMRIT Sprint 42, AMRIT Sprint 43, AMRIT Sprint 44, AMRIT Sprint 45, AMRIT Sprint 46, AMRIT Sprint 47, AMRIT Sprint 48, AMRIT Sprint 49
    • Platform
    • AMRIT Demo

      {}We are transitioning from the current monolithic WildFly-based deployment to a lightweight and modular architecture. This involves deploying Spring Boot microservices as executable JARs managed by systemd, serving UI bundles via Nginx, and automating deployments via CI/CD.

      This migration will significantly enhance scalability, observability, deployment speed, and system maintainability.


      Acceptance Criteria:

      • All backend services built as executable JARs and deployed via systemd
      • Nginx configured as a reverse proxy for APIs and static host for UIs
      • Domain routing and SSL termination via Nginx
      • CI/CD pipeline updated to handle backend & frontend deployment
      • Jenkins/GitHub Actions enabled for service restart & file rsync
      • MySQL and Redis installed and configured
      • All DBs and users created and privileges granted
      • ELK or journald-based logging operational
      • Migration documentation created for reproducibility

      Tasks

      1. ๐Ÿ”€ Merge all Docker-related PRs
      1. ๐Ÿ”ง Setup Linux server with Java 17, Redis, MySQL
      1. ๐Ÿ—๏ธ Create folder structures: /opt/services, /var/www/html
      1. โš™๏ธ Configure systemd units for each service
      1. ๐ŸŒ Setup Nginx reverse proxy and static content hosting
      1. ๐Ÿ”’ Add SSL termination in Nginx
      1. ๐Ÿงช Deploy and validate API microservices
      1. ๐Ÿ’ป Deploy frontend apps and validate Nginx routing
      1. ๐Ÿ” Update CI/CD pipelines for deployments and service restarts
      1. ๐Ÿ“œ Document the full setup for future reference
      1. ๐Ÿ“Š Integrate ELK stack or journalctl log tracking

      ย 

            Assignee:
            Sachin Kadam
            Reporter:
            Dr Mithun James
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: