Yandex Cloud
Search
Discuss with expertTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
    • Cloud Interconnect
    • Cloud Backup
    • Cloud Registry
    • Yandex AI Studio
    • Compute Cloud
    • Object Storage
    • Managed Service for Kubernetes®
    • Yandex BareMetal
    • Smart Web Security
    • Security Deck
    • Managed Service for PostgreSQL
    • Managed Service for ClickHouse®
    • Monium
    • Cloud CDN
    • Network Load Balancer
    • Virtual Private Cloud
    • Cloud DNS
    • Application Load Balancer
    • Yandex Cloud Video
    • Stackland
    • Yandex Cloud Router
    • Yandex Managed Service for Trino
    • Managed Service for MySQL®
    • Managed Service for Valkey™
    • Managed Service for Apache Spark™
    • Yandex StoreDoc
    • Managed Service for OpenSearch
    • Managed Service for Apache Kafka®
    • Data Transfer
    • Yandex MPP Analytics Engine for PostgreSQL
    • Yandex Managed Service for Apache Airflow®
    • Data Processing
    • Yandex MetaData Hub
    • Managed Service for YDB
    • Managed Service for Sharded PostgreSQL
    • Managed Service for YTsaurus
    • Yandex WebSQL
    • DataLens
    • Yandex Search API
    • SpeechSense
    • SpeechKit
    • DataSphere
    • Vision OCR
    • Translate
    • Yandex Identity Hub
    • Key Management Service
    • Certificate Manager
    • Yandex Lockbox
    • Audit Trails
    • SmartCaptcha
    • Cloud Desktop
    • Yandex SIEM
    • SourceCraft Code Assistant
    • Container Registry
    • Managed Service for GitLab
    • Managed Service for Prometheus®
    • Cloud Functions
    • API Gateway
    • Yandex Cloud Postbox
    • Message Queue
    • Serverless Integrations
    • IoT Core
    • Data Streams
    • Serverless Containers
    • Cloud Notification Service
    • Yandex Query
    • Identity and Access Management
    • Yandex Cloud Console
    • Resource Manager
    • Yandex Cloud Billing
    • Yandex Cloud Quota Manager
    • Cloud Apps
  • System Status
  • Marketplace
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2026 Direct Cursus Technology L.L.C.
Yandex IoT Core
  • Service shutdown
    • Overview
    • Device registry
    • Broker
  • Access management
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Public materials
  • Release notes
  • FAQ

In this article:

  • Getting started
  • Create a broker certificate
  • Create a broker
  • Set up message exchange
  • What's next
  1. Getting started
  2. Broker

Getting started with Yandex IoT Core brokers

Written by
Yandex Cloud
Updated at August 10, 2026
View in Markdown
  • Getting started
  • Create a broker certificate
  • Create a broker
  • Set up message exchange
  • What's next

Warning

Yandex IoT Core is no longer available to new users.

Current users can create resources until November 1, 2026. Afterwards, the service will go read-only and cease to operate on December 1, 2026. For more information on the timing and procedure, see Service shutdown.

To get started with Yandex IoT Core:

  1. Create an X.509 certificate.
  2. Create a broker.
  3. Set up message exchange.

Note

The broker is at the Preview stage.

Getting startedGetting started

Sign up for Yandex Cloud and create a billing account:

  1. Navigate to the management console and log in to Yandex Cloud or create a new account.
  2. On the Yandex Cloud Billing page, make sure you have a billing account linked and it has the ACTIVE or TRIAL_ACTIVE status. If you do not have a billing account, create one and link a cloud to it.

If you have an active billing account, you can create or select a folder for your infrastructure on the cloud page.

Learn more about clouds and folders here.

Create a broker certificateCreate a broker certificate

If you have a certificate, add it to the broker after creation. If you do not have a certificate, create it using the OpenSSL program:

openssl req -x509 \
-newkey rsa:4096 \
   -keyout private-key.pem \
   -out cert.pem \
   -nodes \
   -days 365 \
   -subj '/CN=localhost'

Where:

  • -x509: Certificate type: X.509.
  • -newkey: Encryption algorithm.
  • -keyout: File with the certificate's private key.
  • -out: File with the certificate's public key.
  • -nodes: This flag is set when no public key encryption is required.
  • -days: Certificate validity period in days.
  • -subj: Request object.

Create a brokerCreate a broker

Management console
CLI
  1. In the management console, select the folder where you want to create a broker.

  2. Navigate to IoT Core.

  3. In the left-hand panel, select Brokers.

  4. Click Create broker.

  5. Under General information, specify the broker name: my-broker.

  6. Add a certificate:

    • To add a file:

      1. Select the File method.
      2. Click Attach file.
      3. Select the file with the public key of the certificate and click Open.
      4. Click Add.
    • To add text:

      1. Select the Text method.
      2. Paste the certificate's public key to the Content field.
      3. Click Add.
  7. Click Create.

If you do not have the Yandex Cloud CLI yet, install and initialize it.

The folder used by default is the one specified when creating the CLI profile. To change the default folder, use the yc config set folder-id <folder_ID> command. You can also specify a different folder for any command using --folder-name or --folder-id. If you access a resource by its name, the search will be limited to the default folder. If you access a resource by its ID, the search will be global, i.e., through all folders based on access permissions.

  1. Create a broker:

    yc iot broker create --name my-broker
    

    Result:

    id: b91ki3851h**********
    folder_id: aoek49ghmk*********
    created_at: "2022-05-28T11:29:42.420Z"
    name: my-broker
    status: ACTIVE
    
  2. Add the certificate to the broker:

    yc iot broker certificate add \
       --broker-name my-broker \
       --certificate-file cert.pem
    

    Where:

    • --broker-name: Broker name.
    • --certificate-file: Path to the certificate's public key.

    Result:

    broker_id: b91ki3851h**********
    fingerprint: 1f21cf6d0183d****
    certificate_data: |
       -----BEGIN CERTIFICATE-----
       MIIEpDCCAow...
       -----END CERTIFICATE-----
    created_at: "2023-07-11T16:20:53.466370019Z"
    

Set up message exchangeSet up message exchange

  1. Subscribe to receive messages in a broker.
  2. Send a message in a broker.

What's nextWhat's next

  • Read about service concepts.
  • Learn how to work with brokers.

Was the article helpful?

Previous
Device registry
Next
All guides
© 2026 Direct Cursus Technology L.L.C.