SBCX-TN-003: Deploying modules to Azure IoT Edge-enabled SBCX with Visual Studio Code

From DAVE Developer's Wiki
Revision as of 15:50, 19 August 2019 by U0001 (talk | contribs) (Introduction)

Jump to: navigation, search
Info Box
SBC-AXEL-02.png Applies to SBC AXEL
Axel-04.png Applies to Axel Ultra
Axel-lite 02.png Applies to Axel Lite
Axel-02.png Applies to AXEL ESATTA
Warning-icon.png This technical note was validated against specific versions of hardware and software. It may not work with other versions. Warning-icon.png

History[edit | edit source]

Version Date Notes
1.0.0 August 2019 First public release

Introduction[edit | edit source]

This Technical Note (TN for short) is based on this previous TN: SBCX-TN-002: Running Microsoft Azure IoT Edge runtime. As such, SBCX-TN-002 is a prerequisite to complete this TN.

The goal of this document is to show how to deploy modules to a Azure IoT Edge-enabled SBCX board. It is recalled that, according to Microsoft documentation, modules are

the smallest computation units managed by IoT Edge, and can contain Microsoft services (such as Azure Stream Analytics), 3rd-party services or your own solution-specific code.

There are different methods to deploy such modules to the IoT Edge-enabled devices. This TN will describe how to use Visual Studio Code (VSC) to carry out this operation on SBCX single-board computer.

Setting up VSC[edit | edit source]

To set up Visual Studio Code, the [Azure IoT Tools extension package https://marketplace.visualstudio.com/items?itemName=vsciot-vscode.azure-iot-tools&ssr=false#overview] has to be installed.

Deploying a simple module[edit | edit source]