Device Shadow

Definition

Cloud virtual representation of an IoT device storing last-known and desired states so apps can interact with it even when the device is offline.

Use Cases

Provider Equivalents

Frequently Asked Questions

What's the difference between Device Shadow and a digital twin?
A Device Shadow usually focuses on a device's current reported state and desired future state so applications can send commands even when the device is offline. A digital twin is often broader. It may include telemetry history, relationships, simulation data, business context, and analytics models. In simple terms, a device shadow is a lightweight synchronization document, while a digital twin can be a richer virtual model of the asset.
When should I use Device Shadow?
Use a device shadow when your devices are not always online, when mobile or web apps need to read the last known device state, or when you want to store desired settings until the device reconnects. It is especially useful for IoT devices such as thermostats, vehicles, industrial sensors, and smart appliances that may lose connectivity or sleep to save power.
How much does Device Shadow cost?
Cost depends on the cloud provider and how often your application reads, updates, or synchronizes shadow documents. On AWS, pricing is typically tied to AWS IoT Core messaging and shadow operations rather than a flat per-device fee for the shadow itself. Main cost drivers include number of devices, update frequency, message size, retained state size, and related services such as rules engines, storage, and analytics. Always check the current provider pricing page because rates vary by region and service tier.

Category: cloud

Difficulty: advanced

Related Terms

See Also