Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
    • Yandex Cloud Partner program
  • Blog
  • Pricing
  • Documentation
© 2025 Direct Cursus Technology L.L.C.
Yandex IoT Core
    • Authentication
    • Resource relationships
    • MQTT server connection parameters
    • Sending messages to an MQTT server via gRPC
    • Backups
    • Quotas and limits
  • Access management
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Release notes
  • FAQ

In this article:

  • Device
  • Registry
  • Broker
  • MQTT server
  • QoS levels
  • Use cases
  1. Concepts
  2. Resource relationships

Resource relationships in Yandex IoT Core

Written by
Yandex Cloud
Updated at April 18, 2025
  • Device
  • Registry
  • Broker
  • MQTT server
  • QoS levels
    • Use cases

The service provides two resource management models: brokers and device registries. The main service elements are devices, registries, and brokers. They can exchange various data and commands using the MQTT server.

Registries and devices are related to each other in a way that devices can exchange data with the registry in which they are created. The broker is not related to registries or devices and implements a separate messaging management model.

Data is exchanged via MQTT version 3.1.1. This simplified network protocol for device communication is based on the publisher/subscriber pattern.

For devices and registries to begin exchanging data and commands, you need to log in. You can do this using X.509 certificates or your username and password.

DeviceDevice

A device is an instance of a physical device, such as a temperature sensor, represented in the service as the device name and its certificate.

Devices are created in a registry. They can send telemetry data to the server, get commands, and interact with other devices in the registry.

RegistryRegistry

A registry is a set of devices that are logically related to each other. Registries can read device data and send commands to them. To stop the registry and its devices from accepting inbound connections, you can disable the registry.

BrokerBroker

Note

The broker is at the Preview stage.

A broker is a virtual MQTT server that allows MQTT clients to exchange messages in an isolated topic space. The broker imposes fewer restrictions on the way messages are exchanged than the device registry model does.

MQTT serverMQTT server

An MQTT server is a central node for exchanging MQTT messages between devices and registries. Data is only exchanged through the server. It is responsible for receiving and processing messages and controls their delivery to MQTT clients (devices or registries) to ensure the necessary QoS.

MQTT clients are devices, registries, and broker clients that exchange messages containing data or commands. Each message includes a topic, which is a message subject used to classify data and identify the client this data is intended for.

To make sure devices, registries, and broker clients receive each other's messages via the MQTT server, subscribe them to the appropriate topics.

If you have devices with sensor readings that you need to quickly respond to and you may face network communication problems and a broken connection between your devices and the MQTT server, you can subscribe your devices and registries to permanent topics.
For example, use permanent topics for temperature sensors on devices that need to be turned off quickly when heated to a certain temperature.

QoS levelsQoS levels

When exchanging messages, Yandex IoT Core supports the following quality of service (QoS) levels for MQTT:

  • QoS 0: At most once. The message is sent no more than once and there is no guarantee of delivery.

  • QoS 1: At least once. The message is guaranteed to be delivered at least once. There is a chance of receiving duplicate messages.

For more information about Yandex IoT Core service limits, see Quotas and limits in Yandex IoT Core.

Use casesUse cases

  • Working with Yandex IoT Core from an Android device in Java
  • Writing data from a device into a database
  • Testing message delivery
  • Sending a message using Mosquitto
  • Status monitoring of geographically distributed devices
  • Sensor reading monitoring and event notifications
  • Testing message delivery
  • Emulating multiple IoT devices

Was the article helpful?

Previous
Authentication
Next
MQTT server connection parameters
© 2025 Direct Cursus Technology L.L.C.