Introduction
An Azure IoT project is a special project type in Edge Infrastructure Services that integrates your nodes with Microsoft Azure IoT Hub. When you add a node to an Azure IoT project, Edge Infrastructure Services registers the node with your Azure Device Provisioning Service (DPS), provisions Azure credentials on the node, and deploys the Azure IoT Edge runtime application automatically based on the project’s application policy. Azure IoT projects support the following enrollment types:- Symmetric Key: Uses a group enrollment in Azure DPS. The enrollment group name must be provided during project creation.
- X.509: Uses certificate-based authentication with Azure DPS.
- TPM: Uses the node’s Trusted Platform Module for hardware-based attestation. Allocation is handled by IoT Hub using a hashed scheme.
Prerequisites
- You have the SysManager or SysAdmin role in your enterprise. See Manage Roles.
- You have an active Microsoft Azure subscription with the following resources configured:
- An Azure Active Directory application registration with a client ID and secret.
- An Azure IoT Hub.
- An Azure Device Provisioning Service (DPS) linked to the IoT Hub.
- For Symmetric Key and X.509 enrollment: a DPS enrollment group.
- For certificate-based leaf device communication: an intermediate or root CA certificate and its private key.
- See Azure IoT Hub Reference Prerequisites for links to the Azure documentation for each of these setup steps.
How It Works
When you create an Azure IoT project and add nodes to it, Edge Infrastructure Services performs the following steps:- EVE-OS (Edge Virtualization Engine) on the node contacts the Azure DPS endpoint.
- DPS authenticates the device using the configured attestation type and assigns it to the linked IoT Hub.
- Edge Infrastructure Services deploys the Azure IoT Edge runtime application to the node based on the project’s application policy.
- Module policies in the project define which Azure IoT Edge modules are deployed to the node, in what priority order, and based on which device tags.
Create an Azure IoT Project
- In the sidebar, go to Infrastructure > Fleet > Projects.
- Select the + icon to start project creation.
- On the project type selection screen, click Azure IoT.
-
Complete the Identity section:
- In the Azure Portal Integration section, click Login to Azure. Enter your Azure credentials when prompted. After a successful login, Edge Infrastructure Services discovers and populates the available Azure resources.
-
In the Azure Client Details section, provide:
-
In the Discovered Azure Resources section, select or confirm the following:
- Optional: enable Attach certificate for Edge hub TLS (downstream devices and modules). Upload a root or intermediate CA certificate and its private key. This is required if IoT Edge acts as a transparent gateway for downstream leaf devices or edge modules. See Manage Azure IoT Certificates for details.
-
Optional: expand Additional Configuration and adjust the following settings:
- Click Next.
- On the Review page, verify the project configuration.
- Click Create Project.
Configure Azure IoT Policies
After creating the project, you can configure additional settings from the project detail page:- Edge app policy: Defines which Azure IoT Edge runtime application is automatically deployed to nodes that join the project. Open the project and click the Configure (gear) icon to set or update the edge app policy.
- Module policies: Define which Azure IoT Edge modules are deployed to nodes, in what priority order, and based on which device tags. Module policies are created in Azure IoT Hub and appear automatically in Edge Infrastructure Services. See Manage Azure Module Policies for details.
Edit an Azure IoT Project
- In the sidebar, go to Infrastructure > Fleet > Projects and click the project name to open its detail page.
- Click the Configure (gear) icon.
- Update the editable fields. The project name cannot be changed.
- To replace the attached certificate, remove the existing certificate and upload the new one.
- Click Save.
Delete an Azure IoT Project
- In the sidebar, go to Infrastructure > Fleet > Projects.
- Select the checkbox for the project you want to delete.
- Click the Delete action.
- Confirm the deletion.
Azure Prerequisites
If you do not yet have the required Azure resources, set them up using the following Microsoft documentation:- Create an Azure subscription.
- Create a resource group.
- Create an IoT Hub.
- Create an IoT Hub Device Provisioning Service (DPS).
- Link your IoT Hub and DPS.
- Create an Azure Active Directory app registration with service principal access.
- Create a private container registry (for custom module images).
Next Steps
Manage Azure IoT Certificates
Upload signing certificates and manage the device CA certificate lifecycle for IoT Edge hub TLS.
Manage Azure Module Policies
View and manage module deployment policies applied to the project from Azure IoT Hub.
Deploy an Azure IoT Application
Deploy the Azure IoT Edge runtime application to an enrolled node.
Integrations and Automation
Overview of all integration paths available in Edge Infrastructure Services.