EdgeX-API doc
  • EdgeX Foundry Background
  • Getting Started
    • Install
    • UI Console
      • V1.0
      • V1.1
    • Experiencing EdgeX
  • Edge to Cloud
    • Azure
    • AWS
    • Aliyun
  • Edge to Edge
    • MQTT Export Service
    • MQTT Import Service
    • Grafana Dashboard Connection
  • Industrial SDK Setup
  • Device Connection
    • Configuration
    • Programming Basics
    • EdgeX Version
    • Platform
      • System Information
      • RF
    • Cold Chain
      • G1 Sensor
      • Gateway
    • Printer
    • Scanner SDK
    • Battery
    • IP Camera
    • SNMP
    • Modbus
    • Medical Cart
  • Advanced Services APIs
    • EdgeX Service Layers
    • Core Data Service APIs
    • Meta Data Service APIs
    • Command Service APIs
    • Alarm Service APIs
  • Edge AI
    • Face Detection
    • Facial Recognition
  • Edge to WISE-PaaS
    • Smart Pump Station Solution
    • Cloud Cold Chain Solution
    • Integration with WISE-PaaS
  • Edge to Cloud(for Delhi only)
    • Azure
    • AWS
  • Retail Utility
    • OPOS Manager
  • Medical Utility
    • AMiS Link
  • Vertical Utility
    • Self-Diagnostics
    • System Diagnostics
    • DeviceChecking / Kiosk
    • DeviceChecking / Server
    • Device Diagnostic Dashboard
    • Windows Lockdown/ Kiosk
    • Retail System Manager
    • Scanner Utility
  • Application Cases
    • Smart Warehouse
    • Smart Kiosk
    • Demo Video
Powered by GitBook
On this page
  • Content
  • auto-provisioning batch file setup
  • Verify EdgeX Message

Was this helpful?

  1. Edge to Cloud

Azure

This article describes how to connect EdgeX-API to Azure by auto-provisioning in FUJI EdgeX Foundry's runtime environment in Windows 10.

PreviousEdge to CloudNextAWS

Last updated 3 years ago

Was this helpful?

Content

  • auto-provisioning batch file setup

  • Verify EdgeX Message

auto-provisioning batch file setup

  • Modify the tools\azure\auto_provisioning_cli\create_azure_iothub_edgex_fuji.bat file with your own Azure configuration

  • Execute the create_azure_iothub_edgex_fuji.bat in Command Prompt

  • The azure-cli will install automatically and please create a new Command Prompt to execute the

    create_azure_iothub_edgex_fuji.bat again after azure-cli installed

  • Please follow the instruction to open the URL in the browser, enter code, and sign-in Microsoft with your account to complete the installation

Verify EdgeX Message

  • In the Azure portal, verify the IoT Hub has received the EdgeX messages. Select Overview

> IoT Hub Usage. Refresh the page to update the chart. It might take a few seconds for it to show that the messages have been received.

  • You also can receive events from a JavaScript application that we made.

    • Cloning application from the repository: https://github.com/Advantech-EdgeX/web-apps-node-iot-hub-data-visualization

    • Open any editor, we choose Visual Studio Code here.

    • Open the application by selecting File > Open Folder in the editor.

    • Edit IotHubConnectionString and EventHubConsumerGroup in launch.json You can find the ConnectionString in create_azure_iothub_edgex_fuji.bat complete installed screen

  • In VS Code, press F5 to start debugging and open a browser to http://localhost:3000. It will display EdgeX