AZ-220 Implement Edge (15-20%)

Skills Measured:

Set up and deploy an IoT Edge device

  • Create a device identity in IoT Hub
  • Deploy a single IoT device to IoT Edge
  • Create a deployment for IoT Edge devices
  • Install container runtime on IoT devices
  • Define and implement deployment manifest
  • Update security daemon and runtime
  • Provision IoT Edge devices with DPS
  • IoT Edge automatic deployments
  • Deploy on constrained devices
  • Secure IoT Edge solutions
  • Deploy production certificates

Develop modules

  • Create and configure an Edge module
  • Deploy a module to an Edge device
  • Publish an IoT Edge module to an Azure Container Registry

Configure an IoT Edge device

  • Select and deploy an appropriate gateway pattern
  • Implement Industrial IoT solutions with modules like Modbus and OPC
  • Implement module-to-module communication
  • Implement and configure offline support (including local storage)

Homework:

AZ-220 IoT Labs

  • Module 6: Azure IoT Edge Deployment Process
    • Lab 11: Introduction to Azure IoT Edge
      Exercise 1: Verify Lab Prerequisites
      Exercise 2: Deploy Azure IoT Edge enabled Linux VM
      Exercise 3: Create IoT Edge Device Identity in IoT Hub using Azure CLI
      Exercise 4: Connect IoT Edge Device to IoT Hub
      Exercise 5: Add Edge Module to Edge Device
      Exercise 6: Deploy Azure Stream Analytics as IoT Edge Module

    • Lab 12: Setup an IoT Edge Gateway
      Exercise 1: Exercise 1: Verify Lab Prerequisites
      Exercise 2: Deploy Azure IoT Edge enabled Linux VM
      Exercise 3: Generate and Configure IoT Edge Device CA Certificates
      Exercise 4: Create IoT Edge Device Identity in IoT Hub using Azure Portal
      Exercise 5: Setup IoT Edge Gateway Hostname
      Exercise 6: Connect IoT Edge Gateway Device to IoT Hub
      Exercise 7: Open IoT Edge Gateway Device Ports for Communication
      Exercise 8: Create Downstream Device Identity in IoT Hub
      Exercise 9: Connect Downstream Device to IoT Edge Gateway
      Exercise 10: Verify Event Flow

  • Module 7: Azure IoT Edge Modules
    • Lab 13: Develop, Deploy and debug a custom module on Azure IoT Edge with VS Code
      Exercise 1: Verify Lab Prerequisites
      Exercise 2: Install Azure IoT EdgeHub Dev Tool
      Exercise 3: Create Azure Container Registry
      Exercise 4: Create Custom Edge Module in C#
      Exercise 5: Debug in Attach Mode with IoT Edge Simulator
      Exercise 6: Deploy IoT Edge Solution

    • Lab 14: Run an IoT Edge device in restricted network and offline
      Exercise 1: Verify Lab Prerequisites
      Exercise 2: Deploy Azure IoT Edge enabled Linux VM
      Exercise 3: Setup IoT Edge Parent with Child IoT Devices
      Exercise 4: Configure IoT Edge Device as Gateway
      Exercise 5: Open IoT Edge Gateway Device Inbound Ports using Azure CLI
      Exercise 6: Configure IoT Edge Device Time-to-Live and Message Storage
      Exercise 7: Connect Child IoT Device to IoT Edge Gateway
      Exercise 8: Test Device Connectivity and Offline Support

Sign up for Online Workshop Series: Build End-to-End IoT Solutions

  • Work with Azure IoT Edge - May 14th

Quick Reference: Key Concepts and Terminology

  • Azure IoT Edge is made up of three components:
    • IoT Edge Runtime - Runs on each IoT Edge device and manages the modules deployed to each device.
      System Modules
      • IoT Edge security daemon - Starts each time an IoT Edge device boots and bootstraps the device by starting the IoT Edge agent.
      • IoT Edge agent - Manages deployment and monitoring of modules on the IoT Edge device, including the IoT Edge hub.
      • IoT Edge hub - Handles communications between modules on the IoT Edge device, and between the device and IoT Hub
    • IoT Edge Modules - Containers that run Azure services, third-party services, or your own code. Modules are deployed to IoT Edge devices and execute locally on those devices.
      • Module image - A package containing the software that defines a module.
      • Module instance - The specific unit of computation running the module image on an IoT Edge device. The module instance is started by the IoT Edge runtime.
      • Module identity - A piece of information (including security credentials) stored in IoT Hub, that is associated to each module instance.
      • Module twin - A JSON document stored in IoT Hub, that contains state information for a module instance, including metadata, configurations, and conditions.
      • SDKs to develop custom modules in multiple languages (C#, C, Python, Java, Node.JS)
    • Cloud-based Interface - Enables you to remotely monitor and manage IoT Edge devices.
  • Module Twin Properties of Edge Runtime Modules:
    • Desired and Reported properties
    • EdgeAgent properties
    • EdgeHub properties

Resources

NOTE: In most cases, exams do NOT cover preview features, and some features will only be added to an exam when they are GA (General Availability).