(English) High availability services in microcloud@home with Cloudy on several Raspberry Pi

Disculpeu, aquesta entrada està disponible només en Anglès Americà. For the sake of viewer convenience, the content is shown below in the alternative language. You may click the link to switch the active language.

The goal is to have high availability of the services we deploy at home in case any of the Raspberry Pi gets disconnected.
The hardware we used were three Raspberry Pi.

The solution to achieve high availability consisted of a set of software components, hardware and open technologies, i.e. Raspberry, Cloudy, Docker, Swarm, Node-Red, Mosquitto, keepalived, syncthing, which we integrated to make up the local microcloud, an infrastructure that we can run at home.
We use keepalived to have a floating IP to access the cluster services in the event of a node failure.
The configuration of the containers is replicated with the SyncThing software.

The obtained microcloud offers high availability to any Docker service that we execute on the nodes and has the following characteristics:

– It is scalable and flexible, allowing us to add more nodes, internal or external, to adjust the resources of the microcloud to our needs.
– Thanks to the technology of Docker Swarm, it allows executing complex distributed systems of pre-configured services from a single configuration file.
– It gives us full control over our services.
– It gives us full control over our data.
– The cost is less than 50 Euros per computing node.

Reference (in Spanish):
José Elías Rael Gutierrez: Diseño e implementación de una microCloud abierta para IoT

Cloudy 2017.12 Skywhale + Docker, Docker Compose, IPFS

Llançament de Cloudy 2017.12 Skywhale

Estem molt contents d’anunciar l’alliberament immediat de Cloudy 2017.12 Skywhale el desembre de 2017!

Durant els mesos passats, i gràcies al suport del projecte netCommons, hem pogut seguir desenvolupant Cloudy i incloure-hi diverses característiques noves i engrescadores. Entre d’altres, ens agradaria destacar:

Com a resultat d’aquestes integracions, Cloudy ara aprofita la tecnologia de contenidors de Docker i els usuaris de Xarxes Comunitàries poden arrencar les seves imatges de Docker preferides, o les predefinides, en només uns pocs clics, des del seu navegador. Aquesta provisió ràpida d’aplicacions dona lloc a noves i molt dinàmiques maneres de desplegar serveis i compartir recursos en una comunitat digital. Per exemple, es pot engegar una instància del broker Mosquitto ràpidament per començar a capturar, gestionar i processar dades de dispositius IoT (Internet of Things). En paral·lel a tot això, IPFs es fa servir ara a Cloudy com a part del DADS (Distributed Announcement and Discovery Service). Això permet anunciar des d’una instància Cloudy una quantitat arbitràriament gran de serveis i dades a d’altres instàncies Cloudy, de manera eficient i convenient.

A més, el codi base de Cloudy i els seus diferents paquets s’han actualitzat a la nova versió de Debian 9 Stretch, mentre que es manté la compatibilitat amb la versió anterior. Per últim, s’han afegit diverses funcionalitats noves a la plataforma, o se n’han millorat algunes de ja existents, i s’han corregit alguns errors.

Esperem els vostres comentaris a les llistes de correu de Cloudy!

(English) IPFS as support service in Cloudy

Disculpeu, aquesta entrada està disponible només en Anglès Americà. For the sake of viewer convenience, the content is shown below in the alternative language. You may click the link to switch the active language.

Steps for integrating IPFS as support service into Cloudy have started. A more scalable service publication could be a first effect of leveraging IPFS.

Docker

Disculpeu, aquesta entrada està disponible només en Anglès Americà. For the sake of viewer convenience, the content is shown below in the alternative language. You may click the link to switch the active language.

On-going development seek to integrate docker-compose in Cloudy. With this feature Cloudy will increase its reach as a platform for deploying a larger number of application descriptions as containers.

(English) IoT data collection with Mosquitto broker in Docker container

Disculpeu, aquesta entrada està disponible només en Anglès Americà i Espanyol Europeu. For the sake of viewer convenience, the content is shown below in this site default language. You may click one of the links to switch the site language to another available language.

A Mosquitto broker has been deployed within a Docker container from the Cloudy’s GUI and is published in the microcloud.

IoT data from sensors within the microcloud can be sent to the broker. In addition, a gateway to FIESTA-IoT (http://fiesta-iot.eu/) fetches periodically external sensor data from diverse IoT testbeds.