Test the Deployment with minimal constraints
For a Raspberry Pi setup we need to first evaluate if the system will run on it. For this we need to let some services share a VM:
Locally create 6 VMs with 2vCPU and 512MB RAM for each node (green) except the Data Node (pink) which needs way more resources (8vCPU and 12GB RAM). We may need to isolate all core services of DBRepo as system services to save some RAM. Please do the following:
-
Setup the 6 VMs with 512MB RAM and 2vCPUs (2 Threads) and install the services on there -
Setup the 1 VM with 12GB RAM and 8vCPUs (8 Threads) and install the Data Node there -
Then based on step 2, isolate all docker logic from DBRepo for the core services (Java, Python) and write systemd services instead of Docker containers to save some RAM.