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-pip
pip install docker
pip install pyzmq
Install docker-cl
package on the linux based node.
gedit /etc/default/grub
GRUB_CMDLINE_LINUX="cgroup_enable=memory swapaccount=1"
sudo update-grub
sudo apt-get install python3
sudo apt-get install python3-pip
pip install docker
pip install pyzmq
On the Controller computer run Exec-SimpleController.py
(in the Controller folder).
sudo -s
python3 SimpleController.py
You 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.py
Enter '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.