fabricSample

I made this as a simple example of :cloud: :computer: (cloud computing). This is the python code to manage a 4-cores cluster made with :strawberry:Raspberry Pi B+, a simple switch and cables. Its made with :snake:Python 3 and Fabric. Every Raspberry is running Raspbian and its SSH port is open and tested.

View the Project on GitHub Quantium/fabricSample

Fabric Sample

I made this as a simple example of :cloud: :computer: (cloud computing). This is the python code to manage a 4-cores cluster made with :strawberry:Raspberry Pi B+, a simple switch and cables. Its made with :snake:Python 3 and Fabric. Every Raspberry is running Raspbian and its SSH port is open and tested.

Raspberry 4 Cores Cluster

Getting Started

You don’t need the raspberries, any linux computer with ssh access through your local network will work fine for most of the examples. But, think again! Build the cluster is so much fun.

It’s better if you have some previous knowledge about:

Just Fork or clone this project and keep reading.

Prerequisites

If you don’t have it already, install Python 3 I’m using Python 3.6.5+

One you have Python 3 installed use pip to install fabric, in the console type:

pip install fabric

You will need at least 4 linux machines, you could use virtual ones if you want. This computers will need to have the SSH port open and accessible to your network from your computer

Installing

Just clone or fork this repository and run the samples with python from a terminal.

python3 ls.py
ifconfig wlan0 down

crontab -e

@reboot sudo ifdown wlan0

Built With

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICENSE file for details

Acknowledgments