Skip to content

Latest commit

 

History

History
53 lines (39 loc) · 3.39 KB

Challenge-01.md

File metadata and controls

53 lines (39 loc) · 3.39 KB

Challenge 1: Deploy IoTHub/Edge

Home - Next Challenge >

Pre-requisites

For this challenge you will need the following:

  • Windows Subsystem for Linux (Windows 10-only)

  • Azure CLI

    • (Windows-only) Install Azure CLI on Windows Subsystem for Linux
    • Update to the latest
    • Must be at least version 2.7.x
  • Alternatively, you can use the Azure Cloud Shell

  • Visual Studio Code

  • Azure IoT Tools extension for Visual Studio Code

  • A SSH client installed. On Windows, this is available out-of-the-box in recent builds of Windows 10 and in the Windows Subsystem for Linux (both 1 and 2). You can also download a simple client if needed, such as PuTTY. It should also be available out-of-the-box in most Linux distributions and MacOS.

  • .NET Core SDK 2.1.0 or later installed on your development machine. This can be downloaded from here for multiple platforms.

Introduction

This is the first step of getting an environment setup to work from. This will be a straightforward challenge to ensure you have your subscription setup and to devise a plan to work with your team if you're working as part of a group. This will be used to work as the starting point for IoT Edge communication in subsequent modules.

Description

In this challenge you will establish all necessary cloud components needed to deploy an Edge device. Consideration should be given to using automated deployment/provisioning capabilities of Azure IoT hub as a means to gain insight into activity occurring within the plant with an Edge endpoint & provision of a virtual IoT edge device.

Azure IoT Hub will be needed that is created in one of the regions where Device Streams are available. At the time of writing, these are:

  • Central US
  • Central US
  • EUAP (Early Updates Access Program)
  • North Europe
  • Southeast Asia.

Check for the updated list of supported regions here: Device Streams: Regional availability.

Success Criteria

  • IoT Hub created
  • IoT Edge Device Endpoint created in the hub
  • Ability to show what the device connection string is
  • Provisioning a 'virtual' IoT Edge Device

Learning Resources

  1. Azure IoT Hub
  2. Azure IoT Edge
  3. Azure Industrial IoT modules
  4. IoT Edge BackGround Deck for WTH

Advanced Challenges (Optional)

Consider using Device Provisioning service as a means to provision/attest the IoT Edge device to connect to a hub. There are a number of ways in which this can be done and would demonstrate how this could be implemented to better support provisioning devices at scale.