MOSTLY AI’s architecture

Below you can see MOSTLY AI’s architecture diagram. It depicts how its different components interact with each other, with services in your company’s server environment, and with clients.

MOSTLY AI’s architecture

Requirements

Single-server deployment

Running a single-server deployment of MOSTLY AI requires a single node cluster. This node will run all of MOSTLY AI’s components.

Minimum hardware requirements

CPU

8 Cores

Memory

32 GB

Disk Storage (SSD)

100 GB

Software requirements

  • Pre-existing cluster running Kubernetes 1.23 and above or OpenShift 4.2 and above.

  • A namespace called mostly-ai


Multi-instance deployment

Running a multi-instance deployment of MOSTLY AI requires a cluster of at least two nodes. One of them will function as the application node and the others will function as worker nodes.

The application node is responsible for the web-based user interface and the distribution of synthetic data generation tasks across the worker nodes. The minimum requirements for the application server are as follows:

CPU

4 Cores

Memory

8 GB

Disk Storage (SSD)

100 GB

The worker nodes are responsible for processing these synthetic data generation tasks. Their hardware requirements are as follows:

CPU

8 Cores

Memory

32 GB

Disk Storage (SSD)

100 GB

Software requirements

  • Pre-existing cluster running Kubernetes 1.23 and above or OpenShift 4.2 and above.

  • A namespace called mostly-ai

Installation procedure using Helm Charts

  1. Copy the Helm Charts to your computer or VM with access to the Kubernetes or OpenShift API.

  2. Update the following helm -values.yaml files with the required changes based on K8S or OCP cluster settings:

    • mostly-configurations/mostly-configurations-values.yaml

    • mostly-psql/mostly-psql-values.yaml

    • mostly-rabbitmq/mostly-rabbitmq-values.yaml

    • mostly-keycloak/mostly-keycloak-values.yaml

    • mostly-coordinator/mostly-coordinator-values.yaml

    • mostly-app/mostly-app-values.yaml

    • mostly-ui/mostly-ui-values.yaml

  3. Execute the below list of commands to launch the installation.
    The installation requires a namespace/project admin role and a terminal with access to the Kubernetes or OpenShift API.

    helm upgrade --install mostly-configurations mostly-configurations --values mostly-configurations/mostly-configurations-values.yaml
    helm upgrade --install mostly-psql mostly-psql --values mostly-psql/mostly-psql-values.yaml
    helm upgrade --install mostly-rabbitmq mostly-rabbitmq --values mostly-rabbitmq/mostly-rabbitmq-values.yaml
    helm upgrade --install mostly-keycloak mostly-keycloak --values mostly-keycloak/mostly-keycloak-values.yaml
    helm upgrade --install mostly-coordinator mostly-coordinator --values mostly-coordinator/mostly-coordinator-values.yaml
    helm upgrade --install mostly-app mostly-app --values mostly-app/mostly-app-values.yaml
    helm upgrade --install mostly-ui mostly-ui --values mostly-ui/mostly-ui-values.yaml


  4. To view the deployed application, locate the domain name in the mostly-ui/mostly-ui-values.yaml file and open the listed address in your browser:

    route:
      fqdn: mostlyai.example.com
      ...

    or

    ingress:
      fqdn: mostlyai.example.com
      ...


  5. Lastly, sign into the application, activate the license, and launch a smoke test.