This article discusses a deployment stamping strategy to support scaling up the numbers of connected devices in an internet of things (IoT) solution. The article also describes in detail how to deploy IoT devices and applications between deployment stamps.
https://learn.microsoft.com/en-us/azure/architecture/example-scenario/iot/application-stamps