Skip to Content
Hands-On Edge Analytics with Azure IoT
book

Hands-On Edge Analytics with Azure IoT

by Colin Dow
May 2020
Intermediate to advanced
262 pages
6h 48m
English
Packt Publishing
Content preview from Hands-On Edge Analytics with Azure IoT

Connecting the Raspberry Pi

Now that we have the Primary Connection String, we can use it to connect our Raspberry Pi to the Azure IoT Edge resource. To do this, follow these steps:

  1. Open up a Terminal on the Raspberry Pi. We are going to use the nano program to modify the configuration of our installed Azure IoT Edge component. Type the following code into the command line, and hit Enter
sudo nano /etc/iotedge/config.yaml
  1. Scroll down to find the Manual provisioning configuration section, and locate the device_connection_string variable, as illustrated in the following screenshot: 

  1. Paste in the Primary Connection String from the previous ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Beginning Azure IoT Edge Computing: Extending the Cloud to the Intelligent Edge

Beginning Azure IoT Edge Computing: Extending the Cloud to the Intelligent Edge

David Jensen

Publisher Resources

ISBN: 9781838829902Supplemental Content