openCoT is a Cloud Infrastrcuture manager for FaaS clouds and is initially designed for IoT applications; Although it can be used in other cases too. The architecture behind this platform is well documentd in the following paper: https://arxiv.org/abs/1901.00302
Install docker-cl package on the linux based node.
sudo apt-get install python3
sudo apt-get install python3-pippip install docker
pip install pyzmqInstall docker-cl package on the linux based node.
gedit /etc/default/grubGRUB_CMDLINE_LINUX="cgroup_enable=memory swapaccount=1"sudo update-grubsudo apt-get install python3
sudo apt-get install python3-pippip install docker
pip install pyzmqOn the Controller computer run Exec-SimpleController.py (in the Controller folder).
sudo -s
python3 SimpleController.pyYou should see the output of the Controller's intialization followed by:
Press enter to start...
In this moment, on the Node computer, run Exec-SimpleNode.py.
sudo -s
python3 SimpleController.pyEnter 'cluster1' and the IP of the Controller computer. And wait for the Node script to load everything.
Now, go back again to the Controller and press Enter. A successful installation results in the execution of the hellocot function each 1 second on the Node.