|zeus ff307f274e version 1.0||2 mesi fa|
|dist||2 mesi fa|
|docs||6 mesi fa|
|files||7 mesi fa|
|hybrid||8 mesi fa|
|install||7 mesi fa|
|keys||9 mesi fa|
|nginx||8 mesi fa|
|public||6 mesi fa|
|src||2 mesi fa|
|src-local||2 mesi fa|
|test||8 mesi fa|
|.gitignore||5 mesi fa|
|Dockerfile||8 mesi fa|
|Dockerfile.backup||8 mesi fa|
|Dockerfile.build||9 mesi fa|
|LICENSE||9 mesi fa|
|README.md||5 mesi fa|
|down.sh||7 mesi fa|
|ecosystem.config.js||8 mesi fa|
|ecosystem.config.js.backup||8 mesi fa|
|install.sh||5 mesi fa|
|package-lock.json||7 mesi fa|
|package.json||7 mesi fa|
|restart||6 mesi fa|
|restart.sh||7 mesi fa|
|run.yml||7 mesi fa|
|run.yml.backup||8 mesi fa|
|run.yml.sh||6 mesi fa|
|start||6 mesi fa|
|start.sh||6 mesi fa|
|status.sh||7 mesi fa|
|stop||6 mesi fa|
|stop.sh||7 mesi fa|
|update-agent.sh||7 mesi fa|
Swarmlab hybrid provides the user with the unique abillity to create Labrooms (or other applications) and share them as project images expanding the simple swarmlab Labrooms to full-blown systems. An all of that using onlly the browser and the command line of their system.
Ever imagined having a normal lesson as you would in the University from the comfort of your livingroom?
Ever created a service that you would like to test on a real-world network?
Ever designed an Labroom/application you would like to distribute to your students/applications?
Swarmlab Hybrid comes to bridge the gap between tutor and student, the coder/developer of a service and the and user and at the same time meet the needs for a real-world testing environment.
With Hybrid we can now as part of the cloud work independantly but also stay connected.
The hybrid format allows us to utilize the power of Swarmlab itself but also combine it with the practiaclly unlimited computing of our own machines.
How does Swarmlab Hybrid differ from Swarmlab? Well…its Swarmlab…just….HYBRID!
Easy enough right? But what does that mean in practice?
Well for us it means a couple million more lines of code. For you it means a few more installation steps and the newfound access to YOUR OWN RESOURCES!
You will be connected to the Swarmlab Cloud (hence HYBRID) but you will be able to use your own storage(move files around, delete/copy etc),your own networking and computational power(cpu/graphics etc) and create a system exactly the way you need it.
This way you will be able to :
Normally the docker dataflow is as described in the following images:
To make the service easier to use we have created an ever-growing database of readilly accessible images you can choose from, thus making the first step optionall!
:exclamation: If you wish to use the service in Hybrid mode, that is if you want to share, download or perform other activites on the cloud you will need a KEY. Read installation instructions to learn how to do that.
Local usage of the service doesnt require one, you only need to log in to your account.
Before you create and configure a hybrid deployment using the swarmlab-agent client, your Local Machines need to meet certain requirements.
If you don’t meet those requirements, you won’t be able to complete the steps within the swarmlab-agent client and you won’t be able to configure a hybrid deployment between your Local Enviroment and Swarmlab Online Enviroment.
:warning: Since Docker uses hypervisor the host NEEDS TO HAVE VIRTUALIZATION ENABLED!
curl -sL https://deb.nodesource.com/setup_15.x | sudo -E bash - sudo apt-get install -y nodejs
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key add - sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" sudo apt update sudo apt install -y docker-ce sudo usermod -aG docker [USERNAME] # Please replace [USERNAME] with the user you want to run docker on
:information_source: for kali specifically please visit the following link to install docker.
sudo curl -L "https://github.com/docker/compose/releases/download/1.27.4/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose sudo chmod +x /usr/local/bin/docker-compose sudo ln -s /usr/local/bin/docker-compose /usr/bin/docker-compose
sudo npm install -g pm2
sudo apt install wireguard jq
git clone --recurse-submodules https://git.swarmlab.io:3000/zeus/swarmlab-hybrid.git
cd swarmlab-hybrid ./install.sh <-- run it without root privileges
You can find ready to run VM images here.
:information_source: Default password: swarmlab
PLEASE CHANGE PASSWORD IMEDIATELLY AFTER FIRST LAUNCH!!!
:exclamation: No matter your distribution, upon installing you will HAVE to load settings before the first run!!
This will initialize the configuration using the system defaults.
Afterwards you can add custom settings, or keep using the defaults.
This action does NOT need to be repeated unless you wish to reset the application.
Please navigate to the “Profile->Settings” menu and click on the “Load settings” button.
After doing this the application MUST be reastarted! To do that please run the restart script.
inside the root directory of the project run
You can find our docs in docs Directory
The Swarmlab docs are in AsciiDoc (similar to markdown), PDF and html format
For real-time rendering in browser Asciidoc an add-on can be found here: