Managing all your devices, wherever they are, through a centralized location is feasible through integration of ADLINK Edge with Microsoft Azure IoT Edge.
Azure IoT Edge helps us do this, this guide is to show you how to utilize the power of ADLINK Edge and Azure IoT Edge to manage your fleet.
To start with their are a few pre-requisites:
- You must have installed the ADLINK Edge platform on an Ubuntu 18.04 or Jetpack 4.x device (here is the guide on how to do this)
- You must have installed Edge Profile Builder on a different host PC the instructions are located here for each OS that is supported
Managing your device using Azure and ADLINK Edge
Now that you have the Edge platform installed on your Device and Profile Builder deployed on your host PC then you can start to provision and manage your device.
When using the ADLINK Edge Profile Builder for the first time, you will be asked to setup access to your Azure IoT Hub. This allows applications to be uploaded and deployed to your registered devices. Using this method, you can manage your device remotely. In an upcoming version of profile builder, you can manage without access to Azure IOT Hub. Watch goto50.ai for more news on this.
Don’t have an Azure IoT Hub account?
ADLINK Edge Profile Builder runs with the free Azure IoT Hub account.
Azure IoT Hub is required to use the ADLINK Edge Profile Builder service. You can learn more about creating an Azure IoT hub account at https://portal.azure.com/#home.
You can also read the Microsoft Azure quickstart documentation (https://docs.microsoft.com/en-us/azure/iot-hub/) to help you learn more about setting up Azure IoT Hub.
Copy your Connection string–primary key
Log in to your Azure IoT Hub at portal.azure.com . To obtain your Connection string-primary key, perform the following steps:
- Locate your IoT Hub by selecting the option for All resources and searching for your hub name in the list.
- Open your hub and select the Shared access policies menu item
- Select the policy for iothubowner
- Copy your Connection string–primary key from the Shared access keys section in the right-side panel.
Keep your Connection string–primary key copied in your clipboard, as you’ll need it to register your hub in the ADLINK Edge Profile Builder.
Register your Azure IoT Hub
You can manage your registered device management services by selecting the Settings option on the dashboard or the top menu, and then selecting Device management services.
Select the Add a service button to begin the process of adding a new service.
When adding a service, you will be required to add the following information:
Service – The cloud service provider you want to register with, such as Azure IoT Hub.
Name – This is the name we’ll use for your service in the ADLINK Edge Profile Builder.
Connecting string–primary key – Paste your Connection string–primary key for your hub, obtained in the previous section of this guide. For reference, the Connection string–primary key can be found under Shared access policies in your Azure IoT Hub.
When you’ve entered the above information correctly, select Add to finish adding your device management service.
You will see the details you entered appear in the Device Management Services page
Install the starter kit
The ADLINK Edge Profile Builder Devices page allows you to discover and register devices with your connected device management services.
Your device can be registered with our starter-kit template profile or your own defined profile. The Vizi-AI starter kit profile contains all of the essential applications to get you up and running with Vizi-AI.
To begin registering your device, open the Devices page and select the three dots (…) on the right of the device, then choose the option to Register device.
If your device does not display in the list of unregistered devices, verify that your device and the device you are using to access the ADLINK Edge Profile builder are on the same network.
Try pinging the target from the host, and the host from the target. Please note that devices may not appear if you are using a VPN, or your router does not support multicasting. To register a new device, you must accept the licenses that ADLINK and 3rd party software vendors request to be accepted.
You will now be given a choice of whether you want to register a device with your Azure IoT Hub or deploy directly to the device.
In this instance as we are deploying with IoT Hub we should select the IoT Hub option.
The Register a device dialog will appear. When registering a new device, you will be required to add a device alias, this is a name for your reference. Then click register to continue.
You now have a choice to use a local profile or to use one of the ADLINK templates available, please bear in mind that only the Vizi-ai-starter-kit is available with a time bombed license. The rest require a license from ADLINK.
You simply select the profile you wish to apply and click Install.
Your device will now be registered with Azure IoT Edge and the profile will be deployed automatically, please note this can take some time based on your internet connection.