An Azure service that is used to deploy cloud workloads to run on internet of things (IoT) edge devices via standard containers.
Well, some advice about how you could archive
Device Identity: NEVER Reuse deviceIds Simultaneously
- You cannot have two devices (test and prod) with the same deviceId registered and connected at the same time.
- Azure IoT Hub enforces unique deviceIds, and if two devices connect with the same ID, the second will disconnect the first.
- Use separate deviceIds for test (e.g. Shadow-A) and prod (IoT-A).
Create Separate IoT Edge Devices for Test and Prod
- Yes — create 6 separate IoT Edge devices:
- Test bench:
Shadow-A,Shadow-B,Shadow-C - Real world:
IoT-A,IoT-B,IoT-C
Use Deployment Manifests per Environment
Create separate IoT Edge deployment manifests:
test-bench-deployment.json
production-deployment.json
These can be mostly the same, but you can customize:
Module versions (e.g. latest vs stable)
Environment variables
- Logging or debug modules
😊 If my answer helped you resolve your issue, please consider marking it as the correct answer. This helps others in the community find solutions more easily. Thanks!