Deployment of virtualized MQTT brokers in Docker

Authors

  • Angel Ramón Coto Rodríguez Joven Club de Computación y Electrónica - Artemisa

Keywords:

Docker, Internet of Things IoT, MQTT, Platform

Abstract

Advances in Information Technology and Communications infrastructures for the Internet of Things activate all sectors of contemporary society. The advantages that the applications developed on them introduce in the improvement of people's quality of life and in the process of economic growth make their use pertinent. Such is the case of MQTT brokers, which allow connecting small and medium-sized devices that, working autonomously, exchange messages to interpret physical parameters or control actions. These server software type applications are free, with friendly and flexible environments and are easy to install. In this article, a platform for the Internet of Things was designed using the EMQX broker and Docker as virtualization technology, these will be used in the deployment of solutions both in the cloud, as well as at the edge of the network or in local area networks. depending on the desired application. To achieve this objective, firstly, a detailed review was carried out on the main concepts and characteristics of the elements used, which allowed them to be analyzed, evaluated and chosen for the design of the platform, then connections were simulated and messages were sent over the entire platform.

References

Abdul, M. S., Mohd Sam, S., Mohamed, N., & Dziyauddin, R. A. (2019). Docker Containers Usage in the Internet of Things: A Survey. Open International Journal of Informatics, 7(Special Issue 2), 208–220. Retrieved from https://oiji.utm.my/index.php/oiji/article/view/95

Archana, E., Rajeev, A., Kuruvila, A., Narayankutty, R., Kannimoola, J.M. (2020). A Formal Modeling Approach for QOS in MQTT Protocol. In: Jain, L., Tsihrintzis, G., Balas, V., Sharma, D. (eds) Data Communication and Networks. Advances in Intelligent Systems and Computing, vol 1049. Springer, Singapore. https://doi.org/10.1007/978-981-15-0132-6_4

Coto, A. R. (2022). Despliegue de clústeres de brokers MQTT virtualizados desde el borde de la red hasta la nube (Tesis de grado). Facultad de Ciencias Técnicas Departamento de Telecomunicaciones y Electrónica, Universidad de Pinar del Río, Cuba.

Delgado, T. (2022). Plataformas IIoT con potencial aplicación en el contexto industrial cubano. Revista Cubana de Transformación Digital, 3(2), 1-12. Retrieved from http://portal.amelica.org/ameli/journal/389/3893437007/

Dizdarević, J., Carpio, F., Jukan, A., & Masip-Bruin, X. (2019). A Survey of Communication Protocols for Internet of Things and Related Challenges of Fog and Cloud Computing Integration. ACM Computing Surveys, 1(1), 1-30. https://doi.org/0000001.0000001

Docker Inc. (2023). About Docker. Retrieved julio 7, 2023, from Docker: https://www.docker.com/company

Farhan, L., Kharel, R., Kaiwartya, O., Hammoudeh, M., & Adebisi, B. (2018). Towards Green Computing for Internet of Things: Energy Oriented Path and Message Scheduling Approach. Journal Sustainable Cities and Society, 38, 195-204. Retrieved from https://irep.ntu.ac.uk/id/eprint/34328/1/11740_Kaiwartya.pdf

Gallo, P., Nguyen, U. Q., Barone, G., & van Hien, P., "DeCyMo: Decentralized Cyber-Physical System for Monitoring and Controlling Industries and Homes," 2018 IEEE 4th International Forum on Research and Technology for Society and Industry (RTSI), Palermo, Italy, 2018, pp. 1-4, doi: 10.1109/RTSI.2018.8548507.

Garcia, C. A., Garcia, M. V., Irisarri, E., Pérez, F., Marcos, M., & Estevez, E., "Flexible Container Platform Architecture for Industrial Robot Control," 2018 IEEE 23rd International Conference on Emerging Technologies and Factory Automation (ETFA), Turin, Italy, 2018, pp. 1056-1059, doi: 10.1109/ETFA.2018.8502496.

Jaiswal, K., Sobhanayak, S., Turuk, A. K., Bibhudatta, S. L., Mohanta, B. K., & Jena, D., “An IoT-Cloud Based Smart Healthcare Monitoring System Using Container Based Virtual Environment in Edge Device,” 2018 International Conference on Emerging Trends and Innovations In Engineering And Technological Research (ICETIETR), Ernakulam, India, 2018, pp. 1-7, doi: 10.1109/ICETIETR.2018.8529141.

Koziolek, H., Grüner, S., & Rückert, J. (2020). A Comparison of MQTT Brokers for Distributed IoT Edge Computing. Lecture Notes in Computer Science, 12292. doi:https://doi.org/10.1007/978-3-030-58923-3_23

Marosi, A. C., Farkas, A., & Lovas, R., "An Adaptive Cloud-Based IoT Back-end Architecture and Its Applications," 2018 26th Euromicro International Conference on Parallel, Distributed and Network-based Processing (PDP), Cambridge, UK, 2018, pp. 513-520, doi: 10.1109/PDP2018.2018.00087.

OASIS. (2019). MQTT Version 5.0. Retrieved julio 2, 2023, from OASIS Standard: https://docs.oasis-open.org/mqtt/mqtt/v5.0/mqtt-v5.0.html

Pérez, A. L., Anías, C., & Delgado, T. (2021). Procedimiento para la implementación de la computación en la niebla en ciudades inteligentes. Revista de Ingeniería Electrónica, Automática y Comunicaciones, 42(1), 45-57. Retrieved from https://www.researchgate.net/publication/351564357

Pham, L. M., Hoang, T.-Q., & Nguyen, X.-T. (2021). Elasticity for MQTT Brokers in IoT Applications. Research and Development on Information and Communication Technology, 2020(2), 62-74. doi:10.32913/mic-ict-research.v2020.n2.941

Ray, P. (2018). A survey on Internet of Things architectures. Journal of King Saud University – Computer and Information Sciences, 30(3), 291-319. Retrieved from https://pdf.sciencedirectassets.com/280416/1-s2.0-S1319157818X00032/1-s2.0-S1319157816300799

Syukor, M., Mohd, S., Mohamed, N., Kamardin, K., & Akmam, R. (2019). Docker Containers Usage in the Internet of Things: A Survey. Open International Journal of Informatics (OIJI), 7(2), 208-220. Retrieved from https://oiji.utm.my/index.php/oiji/article/view/95

Tasci, T., Melcher, J., & Verl, A., "A Container-based Architecture for Real-Time Control Applications," 2018 IEEE International Conference on Engineering, Technology and Innovation (ICE/ITMC), Stuttgart, Germany, 2018, pp. 1-9, doi: 10.1109/ICE.2018.8436369.

Published

2025-12-31

How to Cite

Coto Rodríguez, A. R. (2025). Deployment of virtualized MQTT brokers in Docker. Revista Cubana De Transformación Digital, 6, e278 1–12. Retrieved from https://rctd.uic.cu/rctd/article/view/278

Issue

Section

Originial paper