Abstract
The main objective of Lab 3 is to learn how typical edge computing devices and cloud computing tools and system can connect with AMQP protocol. We learn how to establish communication between Raspberry Pi and the server in NoTE Lab. The setup for this lab is shown in Fig. 6.1 and includes server, Raspberry Pi, WiFi router, and workstation. In Lab 3, we learn how to deploy RabbitMQ tool, which includes an AMQP broker, on the server. We also learn how to implement an AMQP client on Raspberry Pi in Python using pika library.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Libraries
Pika library: https://pika.readthedocs.io/en/stable/
Tools
Docker Engine installation on Ubuntu: https://docs.docker.com/engine/install/ubuntu/
OpenSSH Server: https://ubuntu.com/server/docs/service-openssh
K3s container orchestrator: https://rancher.com/docs/k3s/latest/en/installation/install-options/
Package: amqp-tools (0.10.0-1): https://packages.ubuntu.com/focal/amqp-tools
RabbitMQ: https://www.rabbitmq.com/
RabbitMQ helm chart: https://github.com/bitnami/charts/tree/master/bitnami/rabbitmq
Other Resources
RabbitMQ plugin for management and monitoring: https://www.rabbitmq.com/management.html
RabbitMQ AMQP 0-9-1 protocol model https://www.rabbitmq.com/tutorials/amqp-concepts.html
AMQP client in Python: https://github.com/tubskns/notelab-code/blob/master/rpi/amqp_client.py
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
Copyright information
© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this chapter
Cite this chapter
Jukan, A., Masip-Bruin, X., Dizdarević, J., Carpio, F. (2023). Lab 3—Connecting Edge and Cloud Tools with AMQP. In: Network of Things Engineering (NoTE) Lab. Springer, Cham. https://doi.org/10.1007/978-3-031-20635-1_6
Download citation
DOI: https://doi.org/10.1007/978-3-031-20635-1_6
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-20634-4
Online ISBN: 978-3-031-20635-1
eBook Packages: EngineeringEngineering (R0)